Changeset 8a9a41e in mainline for uspace/lib/memgfx/include/types/memgfx/memgc.h
- Timestamp:
- 2021-10-24T08:28:43Z (2 years ago)
- Children:
- f628215
- Parents:
- 2ce943a (diff), cd981f2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Erik Kučák <35500848+Riko196@…> (2021-10-24 08:28:43)
- git-committer:
- GitHub <noreply@…> (2021-10-24 08:28:43)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/memgfx/include/types/memgfx/memgc.h
r2ce943a r8a9a41e 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.