Changeset bb14312 in mainline for uspace/lib/gfx
- Timestamp:
- 2021-06-26T16:40:28Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1215db9
- Parents:
- 69511176
- Location:
- uspace/lib/gfx
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gfx/include/types/gfx/ops/context.h
r69511176 rbb14312 44 44 #include <types/gfx/coord.h> 45 45 #include <types/gfx/context.h> 46 #include <stdbool.h> 46 47 47 48 /** Graphics context ops */ … … 64 65 /** Get bitmap allocation info */ 65 66 errno_t (*bitmap_get_alloc)(void *, gfx_bitmap_alloc_t *); 67 /** Get hardware cursor position */ 68 errno_t (*cursor_get_pos)(void *, gfx_coord2_t *); 69 /** Set hardware cursor position */ 70 errno_t (*cursor_set_pos)(void *, gfx_coord2_t *); 71 /** Set hardware cursor visibility */ 72 errno_t (*cursor_set_visible)(void *, bool); 66 73 } gfx_context_ops_t; 67 74 -
uspace/lib/gfx/meson.build
r69511176 rbb14312 1 1 # 2 # Copyright (c) 20 19Jiri Svoboda2 # Copyright (c) 2021 Jiri Svoboda 3 3 # All rights reserved. 4 4 # … … 32 32 'src/coord.c', 33 33 'src/context.c', 34 'src/cursor.c', 34 35 'src/render.c' 35 36 ) … … 39 40 'test/color.c', 40 41 'test/coord.c', 42 'test/cursor.c', 41 43 'test/main.c', 42 44 'test/render.c', -
uspace/lib/gfx/test/main.c
r69511176 rbb14312 1 1 /* 2 * Copyright (c) 20 17Jiri Svoboda2 * Copyright (c) 2021 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 34 34 PCUT_IMPORT(color); 35 35 PCUT_IMPORT(coord); 36 PCUT_IMPORT(cursor); 36 37 PCUT_IMPORT(render); 37 38
Note:
See TracChangeset
for help on using the changeset viewer.