Ignore:
Timestamp:
Mar 8, 2006, 11:33:01 AM (15 years ago)
Author:
Sam Hocevar
Message:
  • Finished moving everything driver-specific to the apropriate driver_*.c files. Phew. Now they just need a few comments.
File:
1 edited

Legend:

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

    r540 r550  
    4848int caca_set_window_title(caca_t *kk, char const *title)
    4949{
    50     return kk->driver.set_window_title(kk, title);
     50    return kk->drv.set_window_title(kk, title);
    5151}
    5252
     
    6262unsigned int caca_get_window_width(caca_t *kk)
    6363{
    64     return kk->driver.get_window_width(kk);
     64    return kk->drv.get_window_width(kk);
    6565}
    6666
     
    7676unsigned int caca_get_window_height(caca_t *kk)
    7777{
    78     return kk->driver.get_window_height(kk);
     78    return kk->drv.get_window_height(kk);
    7979}
    8080
     
    129129    int ticks = kk->lastticks + _caca_getticks(&kk->timer);
    130130
    131     kk->driver.display(kk);
     131    kk->drv.display(kk);
    132132
    133133    /* FIXME handle this somewhere else */
     
    165165    unsigned int new_width, new_height;
    166166
    167     kk->driver.handle_resize(kk, &new_width, &new_height);
     167    kk->drv.handle_resize(kk, &new_width, &new_height);
    168168
    169169    /* Tell libcucul we changed size */
Note: See TracChangeset for help on using the changeset viewer.