Ignore:
Timestamp:
Nov 14, 2006, 12:16:35 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Implemented cucul_get_frame_name() and cucul_set_frame_name().
  • Renamed cucul_*_canvas_frame() to cucul_*_frame() because we bloody well know that a frame belongs to a canvas.
File:
1 edited

Legend:

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

    r1347 r1390  
    3434    cv = cucul_create_canvas(0, 0);
    3535    for(frame = 1; frame < 200; frame++)
    36         cucul_create_canvas_frame(cv, frame);
     36        cucul_create_frame(cv, frame);
    3737
    3838    fprintf(stderr, "canvas created, size is %ix%i\n",
     
    4848    for(frame = 0; frame < 16; frame++)
    4949    {
    50         cucul_set_canvas_frame(cv, frame);
     50        cucul_set_frame(cv, frame);
    5151        cucul_set_color_ansi(cv, CUCUL_WHITE, frame);
    5252        cucul_fill_box(cv, 0, 0, 40, 15, ':');
     
    7171    while(!caca_get_event(dp, CACA_EVENT_KEY_PRESS, NULL, 0))
    7272    {
    73         cucul_set_canvas_frame(cv, n % 16);
     73        cucul_set_frame(cv, n % 16);
    7474        caca_refresh_display(dp);
    7575        n++;
Note: See TracChangeset for help on using the changeset viewer.