Changeset 7470d97 in mainline for uspace/lib/ui/test/wdecor.c


Ignore:
Timestamp:
2021-04-30T15:05:06Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
051349b
Parents:
252d03c
Message:

Add GC operation to set clipping rectangle

The number of changed files is due to the proliferation of GC
implementations, mostly these are just dummies in unit tests.
Definitely need to tame those in the future.

File:
1 edited

Legend:

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

    r252d03c r7470d97  
    4141PCUT_TEST_SUITE(wdecor);
    4242
     43static errno_t testgc_set_clip_rect(void *, gfx_rect_t *);
    4344static errno_t testgc_set_color(void *, gfx_color_t *);
    4445static errno_t testgc_fill_rect(void *, gfx_rect_t *);
     
    5152
    5253static gfx_context_ops_t ops = {
     54        .set_clip_rect = testgc_set_clip_rect,
    5355        .set_color = testgc_set_color,
    5456        .fill_rect = testgc_fill_rect,
     
    845847}
    846848
     849static errno_t testgc_set_clip_rect(void *arg, gfx_rect_t *rect)
     850{
     851        (void) arg;
     852        (void) rect;
     853        return EOK;
     854}
     855
    847856static errno_t testgc_set_color(void *arg, gfx_color_t *color)
    848857{
Note: See TracChangeset for help on using the changeset viewer.