Changeset e7b32d7 in mainline for uspace/lib/ui/src/dummygc.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/src/dummygc.c

    r2e1dbf7d re7b32d7  
    4343static errno_t dummygc_set_color(void *, gfx_color_t *);
    4444static errno_t dummygc_fill_rect(void *, gfx_rect_t *);
     45static errno_t dummygc_update(void *);
    4546static errno_t dummygc_bitmap_create(void *, gfx_bitmap_params_t *,
    4647    gfx_bitmap_alloc_t *, void **);
     
    5354        .set_color = dummygc_set_color,
    5455        .fill_rect = dummygc_fill_rect,
     56        .update = dummygc_update,
    5557        .bitmap_create = dummygc_bitmap_create,
    5658        .bitmap_destroy = dummygc_bitmap_destroy,
     
    128130        (void) arg;
    129131        (void) rect;
     132        return EOK;
     133}
     134
     135/** Update dummy GC
     136 *
     137 * @param arg Argument (dummy_gc_t)
     138 * @return EOK on success or an error code
     139 */
     140static errno_t dummygc_update(void *arg)
     141{
     142        (void) arg;
    130143        return EOK;
    131144}
Note: See TracChangeset for help on using the changeset viewer.