Changeset 7470d97 in mainline for uspace/lib/ui/src/dummygc.c
- Timestamp:
- 2021-04-30T15:05:06Z (4 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 051349b
- Parents:
- 252d03c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/dummygc.c
r252d03c r7470d97 41 41 #include "../private/dummygc.h" 42 42 43 static errno_t dummygc_set_clip_rect(void *, gfx_rect_t *); 43 44 static errno_t dummygc_set_color(void *, gfx_color_t *); 44 45 static errno_t dummygc_fill_rect(void *, gfx_rect_t *); … … 52 53 /** Dummy GC operations */ 53 54 gfx_context_ops_t dummygc_ops = { 55 .set_clip_rect = dummygc_set_clip_rect, 54 56 .set_color = dummygc_set_color, 55 57 .fill_rect = dummygc_fill_rect, … … 105 107 { 106 108 return dgc->gc; 109 } 110 111 /** Set clipping rectangle on dummy GC 112 * 113 * @param arg Argument (dummy_gc_t) 114 * @param rect Rectangle 115 * @return EOK on success or an error code 116 */ 117 static errno_t dummygc_set_clip_rect(void *arg, gfx_rect_t *rect) 118 { 119 (void) arg; 120 (void) rect; 121 return EOK; 107 122 } 108 123
Note:
See TracChangeset
for help on using the changeset viewer.