Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset f0ccb2a in mainline for uspace/lib/ui/src/dummygc.c


Ignore:
Timestamp:
2021-04-09T22:41:22Z (8 months ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master
Children:
4d2a4cd
Parents:
f536a16
git-author:
Jiri Svoboda <jiri@…> (2021-04-02 17:35:19)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

Fix libui unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/src/dummygc.c

    rf536a16 rf0ccb2a  
    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.