Changeset e7b32d7 in mainline for uspace/lib/ui/test/pbutton.c


Ignore:
Timestamp:
2021-04-02T17:35:19Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Children:
7a8af2f
Parents:
2e1dbf7d
Message:

Fix libui unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/test/pbutton.c

    r2e1dbf7d re7b32d7  
    11/*
    2  * Copyright (c) 2020 Jiri Svoboda
     2 * Copyright (c) 2021 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    4343static errno_t testgc_set_color(void *, gfx_color_t *);
    4444static errno_t testgc_fill_rect(void *, gfx_rect_t *);
     45static errno_t testgc_update(void *);
    4546static errno_t testgc_bitmap_create(void *, gfx_bitmap_params_t *,
    4647    gfx_bitmap_alloc_t *, void **);
     
    5253        .set_color = testgc_set_color,
    5354        .fill_rect = testgc_fill_rect,
     55        .update = testgc_update,
    5456        .bitmap_create = testgc_bitmap_create,
    5557        .bitmap_destroy = testgc_bitmap_destroy,
     
    499501        (void) arg;
    500502        (void) rect;
     503        return EOK;
     504}
     505
     506static errno_t testgc_update(void *arg)
     507{
     508        (void) arg;
    501509        return EOK;
    502510}
Note: See TracChangeset for help on using the changeset viewer.