Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/memgfx/include/types/memgfx/memgc.h

    r1215db9 r2ab8ab3  
    3737#define _MEMGFX_TYPES_MEMGC_H
    3838
    39 #include <errno.h>
    40 #include <stdbool.h>
    4139#include <types/gfx/coord.h>
    4240
     
    4442typedef struct mem_gc mem_gc_t;
    4543
    46 typedef struct {
    47         /** Invalidate rectangle */
    48         void (*invalidate)(void *, gfx_rect_t *);
    49         /** Update display */
    50         void (*update)(void *);
    51         /** Get cursor position */
    52         errno_t (*cursor_get_pos)(void *, gfx_coord2_t *);
    53         /** Set cursor position */
    54         errno_t (*cursor_set_pos)(void *, gfx_coord2_t *);
    55         /** Set cursor visibility */
    56         errno_t (*cursor_set_visible)(void *, bool);
    57 } mem_gc_cb_t;
     44typedef void (*mem_gc_invalidate_cb_t)(void *, gfx_rect_t *);
     45typedef void (*mem_gc_update_cb_t)(void *);
    5846
    5947#endif
Note: See TracChangeset for help on using the changeset viewer.