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/caca/driver_x11.c

    r813 r819  
    221221}
    222222
    223 static int x11_set_window_title(caca_display_t *dp, char const *title)
     223static int x11_set_display_title(caca_display_t *dp, char const *title)
    224224{
    225225    XStoreName(dp->drv.p->dpy, dp->drv.p->window, title);
     
    227227}
    228228
    229 static unsigned int x11_get_window_width(caca_display_t *dp)
     229static unsigned int x11_get_display_width(caca_display_t *dp)
    230230{
    231231    return dp->cv->width * dp->drv.p->font_width;
    232232}
    233233
    234 static unsigned int x11_get_window_height(caca_display_t *dp)
     234static unsigned int x11_get_display_height(caca_display_t *dp)
    235235{
    236236    return dp->cv->height * dp->drv.p->font_height;
     
    593593    dp->drv.init_graphics = x11_init_graphics;
    594594    dp->drv.end_graphics = x11_end_graphics;
    595     dp->drv.set_window_title = x11_set_window_title;
    596     dp->drv.get_window_width = x11_get_window_width;
    597     dp->drv.get_window_height = x11_get_window_height;
     595    dp->drv.set_display_title = x11_set_display_title;
     596    dp->drv.get_display_width = x11_get_display_width;
     597    dp->drv.get_display_height = x11_get_display_height;
    598598    dp->drv.display = x11_display;
    599599    dp->drv.handle_resize = x11_handle_resize;
Note: See TracChangeset for help on using the changeset viewer.