Ignore:
Timestamp:
Nov 16, 2003, 4:20:17 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • src/blit.c: + Added caca_set_dithering() (unused yet). + Added random dithering.
  • src/caca.h: + Renamed legacy EE_* enums to CACA_*.
  • examples/demo.c examples/caca.txt: + Added a default sprite for libcaca.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/graphics.c

    r192 r193  
    4141#include "caca_internals.h"
    4242
    43 static int _caca_color = 0;
     43static enum caca_color _caca_color = CACA_COLOR_WHITE;
    4444
    45 void caca_set_color(int color)
     45void caca_set_color(enum caca_color color)
    4646{
    4747    if(color < 0 || color > 15)
     
    5858}
    5959
    60 int caca_get_color(void)
     60enum caca_color caca_get_color(void)
    6161{
    6262    return _caca_color;
Note: See TracChangeset for help on using the changeset viewer.