Ignore:
Timestamp:
Mar 6, 2006, 9:32:40 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • All output plugins should now work again.
  • Renamed caca_refresh() into caca_display() which makes more sense.
  • Optimised gl_bgpal by directly storing floats instead of doing the conversion at runtime.
  • Handle resizing in cucul_set_size() and try to keep as much information as possible from the previous canvas.
  • Moved most global variables into cucul_t or caca_t contexts.
  • Moved time.c into libcaca.
Location:
libcaca/trunk/test
Files:
6 edited

Legend:

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

    r524 r527  
    4747    }
    4848
    49     caca_refresh(kk);
     49    caca_display(kk);
    5050    caca_wait_event(kk, CACA_EVENT_KEY_PRESS);
    5151
  • libcaca/trunk/test/demo.c

    r524 r527  
    6464    /* Main menu */
    6565    display_menu();
    66     caca_refresh(kk);
     66    caca_display(kk);
    6767
    6868    /* Go ! */
     
    156156                cucul_putstr(qq, xmouse, ymouse, "|\\");
    157157            }
    158             caca_refresh(kk);
     158            caca_display(kk);
    159159            mouse = menu = 0;
    160160        }
     
    169169                         1000000 / caca_get_rendertime(kk),
    170170                         (10000000 / caca_get_rendertime(kk)) % 10);
    171             caca_refresh(kk);
     171            caca_display(kk);
    172172        }
    173173    }
  • libcaca/trunk/test/dithering.c

    r524 r527  
    122122    }
    123123
    124     caca_refresh(kk);
     124    caca_display(kk);
    125125
    126126    while(!caca_get_event(kk, CACA_EVENT_KEY_PRESS));
  • libcaca/trunk/test/event.c

    r524 r527  
    4646    cucul_putstr(qq, 0, h, "type \"quit\" to exit");
    4747
    48     caca_refresh(kk);
     48    caca_display(kk);
    4949
    5050    events = malloc(h * sizeof(int));
     
    9696            print_event(0, i, events[i]);
    9797
    98         caca_refresh(kk);
     98        caca_display(kk);
    9999    }
    100100
  • libcaca/trunk/test/hsv.c

    r524 r527  
    5151    cucul_free_bitmap(qq, bitmap);
    5252
    53     caca_refresh(kk);
     53    caca_display(kk);
    5454
    5555    while(!caca_get_event(kk, CACA_EVENT_KEY_PRESS));
  • libcaca/trunk/test/spritedit.c

    r524 r527  
    109109        cucul_draw_sprite(qq, 20, 10, sprite, frame);
    110110
    111         caca_refresh(kk);
     111        caca_display(kk);
    112112    }
    113113
Note: See TracChangeset for help on using the changeset viewer.