Ignore:
Timestamp:
Apr 19, 2006, 12:10:58 PM (15 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_gl.c

    r813 r819  
    203203}
    204204
    205 static int gl_set_window_title(caca_display_t *dp, char const *title)
     205static int gl_set_display_title(caca_display_t *dp, char const *title)
    206206{
    207207    glutSetWindowTitle(title);
     
    209209}
    210210
    211 static unsigned int gl_get_window_width(caca_display_t *dp)
     211static unsigned int gl_get_display_width(caca_display_t *dp)
    212212{
    213213    return dp->drv.p->width;
    214214}
    215215
    216 static unsigned int gl_get_window_height(caca_display_t *dp)
     216static unsigned int gl_get_display_height(caca_display_t *dp)
    217217{
    218218    return dp->drv.p->height;
     
    502502    dp->drv.init_graphics = gl_init_graphics;
    503503    dp->drv.end_graphics = gl_end_graphics;
    504     dp->drv.set_window_title = gl_set_window_title;
    505     dp->drv.get_window_width = gl_get_window_width;
    506     dp->drv.get_window_height = gl_get_window_height;
     504    dp->drv.set_display_title = gl_set_display_title;
     505    dp->drv.get_display_width = gl_get_display_width;
     506    dp->drv.get_display_height = gl_get_display_height;
    507507    dp->drv.display = gl_display;
    508508    dp->drv.handle_resize = gl_handle_resize;
Note: See TracChangeset for help on using the changeset viewer.