@@ -27,9 +27,6 @@ libcucul | |||||
number, in case we create several antialiasing methods? Or is it | number, in case we create several antialiasing methods? Or is it | ||||
just a waste of time? | just a waste of time? | ||||
o Get rid of cucul_get_fg_color/cucul_get_bg_color, they're really not | |||||
useful at all. | |||||
API-independent stuff | API-independent stuff | ||||
--------------------- | --------------------- | ||||
@@ -58,30 +58,6 @@ void cucul_set_color(cucul_t *qq, enum cucul_color fgcolor, | |||||
qq->bgcolor = bgcolor; | qq->bgcolor = bgcolor; | ||||
} | } | ||||
/** \brief Get the current foreground colour. | |||||
* | |||||
* This function returns the current foreground colour that was set with | |||||
* cucul_set_color(). | |||||
* | |||||
* \return The current foreground colour. | |||||
*/ | |||||
enum cucul_color cucul_get_fg_color(cucul_t const *qq) | |||||
{ | |||||
return qq->fgcolor; | |||||
} | |||||
/** \brief Get the current background colour. | |||||
* | |||||
* This function returns the current background colour that was set with | |||||
* cucul_set_color(). | |||||
* | |||||
* \return The current background colour. | |||||
*/ | |||||
enum cucul_color cucul_get_bg_color(cucul_t const *qq) | |||||
{ | |||||
return qq->bgcolor; | |||||
} | |||||
/** \brief Print an ASCII character. | /** \brief Print an ASCII character. | ||||
* | * | ||||
* This function prints an ASCII character at the given coordinates, using | * This function prints an ASCII character at the given coordinates, using | ||||
@@ -78,8 +78,6 @@ void cucul_free(cucul_t *); | |||||
* | * | ||||
* @{ */ | * @{ */ | ||||
void cucul_set_color(cucul_t *, enum cucul_color, enum cucul_color); | void cucul_set_color(cucul_t *, enum cucul_color, enum cucul_color); | ||||
enum cucul_color cucul_get_fg_color(cucul_t const *); | |||||
enum cucul_color cucul_get_bg_color(cucul_t const *); | |||||
char const *cucul_get_color_name(enum cucul_color); | char const *cucul_get_color_name(enum cucul_color); | ||||
void cucul_putchar(cucul_t *, int, int, char); | void cucul_putchar(cucul_t *, int, int, char); | ||||
void cucul_putstr(cucul_t *, int, int, char const *); | void cucul_putstr(cucul_t *, int, int, char const *); | ||||