Ignore:
Timestamp:
Apr 18, 2006, 5:11:25 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed caca_t into caca_display_t.
  • Renamed canvas handle variables from "c" to "cv". Eh ouais mon gros.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca.h

    r810 r811  
    8989
    9090/** \e libcaca context */
    91 typedef struct caca caca_t;
     91typedef struct caca_display caca_display_t;
    9292/** event structure */
    9393typedef struct caca_event caca_event_t;
     
    204204 *
    205205 *  @{ */
    206 caca_t * caca_attach(cucul_canvas_t *);
    207 void caca_detach(caca_t *);
    208 void caca_set_delay(caca_t *, unsigned int);
    209 void caca_display(caca_t *);
    210 unsigned int caca_get_rendertime(caca_t *);
    211 unsigned int caca_get_window_width(caca_t *);
    212 unsigned int caca_get_window_height(caca_t *);
    213 int caca_set_window_title(caca_t *, char const *);
     206caca_display_t * caca_attach(cucul_canvas_t *);
     207void caca_detach(caca_display_t *);
     208void caca_set_delay(caca_display_t *, unsigned int);
     209void caca_display(caca_display_t *);
     210unsigned int caca_get_rendertime(caca_display_t *);
     211unsigned int caca_get_window_width(caca_display_t *);
     212unsigned int caca_get_window_height(caca_display_t *);
     213int caca_set_window_title(caca_display_t *, char const *);
    214214/*  @} */
    215215
     
    220220 *
    221221 *  @{ */
    222 int caca_get_event(caca_t *, unsigned int, caca_event_t *, int);
    223 unsigned int caca_get_mouse_x(caca_t *);
    224 unsigned int caca_get_mouse_y(caca_t *);
    225 void caca_set_mouse(caca_t *, int);
     222int caca_get_event(caca_display_t *, unsigned int, caca_event_t *, int);
     223unsigned int caca_get_mouse_x(caca_display_t *);
     224unsigned int caca_get_mouse_y(caca_display_t *);
     225void caca_set_mouse(caca_display_t *, int);
    226226/*  @} */
    227227
Note: See TracChangeset for help on using the changeset viewer.