Changeset 1215db9 in mainline for uspace/lib/memgfx/include/types/memgfx/memgc.h
- Timestamp:
- 2021-06-26T23:30:18Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e87415e6
- Parents:
- bb14312
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/memgfx/include/types/memgfx/memgc.h
rbb14312 r1215db9 37 37 #define _MEMGFX_TYPES_MEMGC_H 38 38 39 #include <errno.h> 40 #include <stdbool.h> 39 41 #include <types/gfx/coord.h> 40 42 … … 42 44 typedef struct mem_gc mem_gc_t; 43 45 44 typedef void (*mem_gc_invalidate_cb_t)(void *, gfx_rect_t *); 45 typedef void (*mem_gc_update_cb_t)(void *); 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; 46 58 47 59 #endif
Note:
See TracChangeset
for help on using the changeset viewer.