Changeset faca61b8 in mainline for uspace/lib/ui/test/resource.c


Ignore:
Timestamp:
2020-10-15T10:05:42Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8ef48ece
Parents:
4ed00d3
git-author:
Jiri Svoboda <jiri@…> (2020-10-14 19:05:34)
git-committer:
Jiri Svoboda <jiri@…> (2020-10-15 10:05:42)
Message:

Push button needs to handle position events itself

Also, release event should release the button regardless if it is
positioned inside or outside.

File:
1 edited

Legend:

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

    r4ed00d3 rfaca61b8  
    114114                tbm->alloc.off0 = 0;
    115115                tbm->alloc.pixels = calloc(sizeof(uint32_t),
    116                         (params->rect.p1.x - params->rect.p0.x) *
    117                         (params->rect.p1.y - params->rect.p0.y));
     116                    (params->rect.p1.x - params->rect.p0.x) *
     117                    (params->rect.p1.y - params->rect.p0.y));
    118118                tbm->myalloc = true;
    119119                if (tbm->alloc.pixels == NULL) {
Note: See TracChangeset for help on using the changeset viewer.