Changes in uspace/lib/ui/test/label.c [7470d97:f93e4e3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/test/label.c
r7470d97 rf93e4e3 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2020 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 41 41 PCUT_TEST_SUITE(label); 42 42 43 static errno_t testgc_set_clip_rect(void *, gfx_rect_t *);44 43 static errno_t testgc_set_color(void *, gfx_color_t *); 45 44 static errno_t testgc_fill_rect(void *, gfx_rect_t *); 46 static errno_t testgc_update(void *);47 45 static errno_t testgc_bitmap_create(void *, gfx_bitmap_params_t *, 48 46 gfx_bitmap_alloc_t *, void **); … … 52 50 53 51 static gfx_context_ops_t ops = { 54 .set_clip_rect = testgc_set_clip_rect,55 52 .set_color = testgc_set_color, 56 53 .fill_rect = testgc_fill_rect, 57 .update = testgc_update,58 54 .bitmap_create = testgc_bitmap_create, 59 55 .bitmap_destroy = testgc_bitmap_destroy, … … 196 192 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 197 193 198 rc = ui_resource_create(gc, false,&resource);194 rc = ui_resource_create(gc, &resource); 199 195 PCUT_ASSERT_ERRNO_VAL(EOK, rc); 200 196 PCUT_ASSERT_NOT_NULL(resource); … … 213 209 } 214 210 215 static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect) 211 static errno_t testgc_set_color(void *arg, gfx_color_t *color) 212 { 213 (void) arg; 214 (void) color; 215 return EOK; 216 } 217 218 static errno_t testgc_fill_rect(void *arg, gfx_rect_t *rect) 216 219 { 217 220 (void) arg; 218 221 (void) rect; 219 return EOK;220 }221 222 static errno_t testgc_set_color(void *arg, gfx_color_t *color)223 {224 (void) arg;225 (void) color;226 return EOK;227 }228 229 static errno_t testgc_fill_rect(void *arg, gfx_rect_t *rect)230 {231 (void) arg;232 (void) rect;233 return EOK;234 }235 236 static errno_t testgc_update(void *arg)237 {238 (void) arg;239 222 return EOK; 240 223 }
Note:
See TracChangeset
for help on using the changeset viewer.