Browse Source

* Got rid of the useless cucul_get_fg_color/cucul_get_bg_color functions.

tags/v0.99.beta14
Sam Hocevar sam 18 years ago
parent
commit
2213100258
3 changed files with 0 additions and 29 deletions
  1. +0
    -3
      TODO
  2. +0
    -24
      cucul/canvas.c
  3. +0
    -2
      cucul/cucul.h

+ 0
- 3
TODO View File

@@ -27,9 +27,6 @@ libcucul
number, in case we create several antialiasing methods? Or is it
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
---------------------


+ 0
- 24
cucul/canvas.c View File

@@ -58,30 +58,6 @@ void cucul_set_color(cucul_t *qq, enum cucul_color fgcolor,
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.
*
* This function prints an ASCII character at the given coordinates, using


+ 0
- 2
cucul/cucul.h View File

@@ -78,8 +78,6 @@ void cucul_free(cucul_t *);
*
* @{ */
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);
void cucul_putchar(cucul_t *, int, int, char);
void cucul_putstr(cucul_t *, int, int, char const *);


Loading…
Cancel
Save