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