Ignore:
Timestamp:
Apr 19, 2006, 12:10:58 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • More function mass-renaming: caca_attach -> caca_create_display, etc.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/unicode.c

    r813 r819  
    3232
    3333    cv = cucul_create_canvas(0, 0);
    34     dp = caca_attach(cv);
     34    dp = caca_create_display(cv);
    3535
    3636    cucul_set_color(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_BLUE);
     
    8686    cucul_putstr(cv, 1, 22, "drawing blocks: ███ ▓▓▓ ▒▒▒ ░░░ ▀ ▄ ▌ ▐ █ ▖ ▗ ▘ ▝ ▚ ▞ ▙ ▛ ▜ ▟");
    8787
    88     caca_display(dp);
     88    caca_refresh_display(dp);
    8989
    9090    caca_get_event(dp, CACA_EVENT_KEY_PRESS, &ev, -1);
    9191
    92     caca_detach(dp);
     92    caca_free_display(dp);
    9393    cucul_free_canvas(cv);
    9494
Note: See TracChangeset for help on using the changeset viewer.