Changeset 713


Ignore:
Timestamp:
Apr 1, 2006, 5:25:33 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Got rid of the useless cucul_get_fg_color/cucul_get_bg_color functions.
Location:
libcaca/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/TODO

    r712 r713  
    2727     number, in case we create several antialiasing methods? Or is it
    2828     just a waste of time?
    29 
    30    o Get rid of cucul_get_fg_color/cucul_get_bg_color, they're really not
    31      useful at all.
    3229
    3330
  • libcaca/trunk/cucul/canvas.c

    r678 r713  
    5959}
    6060
    61 /** \brief Get the current foreground colour.
    62  *
    63  *  This function returns the current foreground colour that was set with
    64  *  cucul_set_color().
    65  *
    66  *  \return The current foreground colour.
    67  */
    68 enum cucul_color cucul_get_fg_color(cucul_t const *qq)
    69 {
    70     return qq->fgcolor;
    71 }
    72 
    73 /** \brief Get the current background colour.
    74  *
    75  *  This function returns the current background colour that was set with
    76  *  cucul_set_color().
    77  *
    78  *  \return The current background colour.
    79  */
    80 enum cucul_color cucul_get_bg_color(cucul_t const *qq)
    81 {
    82     return qq->bgcolor;
    83 }
    84 
    8561/** \brief Print an ASCII character.
    8662 *
  • libcaca/trunk/cucul/cucul.h

    r711 r713  
    7979 *  @{ */
    8080void cucul_set_color(cucul_t *, enum cucul_color, enum cucul_color);
    81 enum cucul_color cucul_get_fg_color(cucul_t const *);
    82 enum cucul_color cucul_get_bg_color(cucul_t const *);
    8381char const *cucul_get_color_name(enum cucul_color);
    8482void cucul_putchar(cucul_t *, int, int, char);
Note: See TracChangeset for help on using the changeset viewer.