Ignore:
Timestamp:
Feb 17, 2004, 2:53:14 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • configure.ac: + No longer check for ncurses etc., we use caca-config.
  • src/*: + Updated to new libcaca API, mainly caca_get_event() and caca_set_color()

calls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/src/box.c

    r194 r365  
    4646    int j, frame;
    4747
    48     caca_set_color(CACA_COLOR_YELLOW);
     48    caca_set_color(CACA_COLOR_YELLOW, CACA_COLOR_BLACK);
    4949
    5050    /* Draw the thin horizontal line */
     
    6969                 b->x + b->w / 2 - 1, b->y + b->h * (frame - 8) / 8 - 1, 'X');
    7070
    71     caca_set_color(CACA_COLOR_BLACK);
     71    caca_set_color(CACA_COLOR_BLACK, CACA_COLOR_BLACK);
    7272
    7373    for(j = b->y - b->h * (frame - 8) / 8 + 1;
     
    8585
    8686    /* Draw the text inside the frame */
    87     caca_set_color(CACA_COLOR_YELLOW);
     87    caca_set_color(CACA_COLOR_YELLOW, CACA_COLOR_BLACK);
    8888
    8989    /* FIXME: use a font */
Note: See TracChangeset for help on using the changeset viewer.