Changeset faca61b8 in mainline for uspace/lib/ui/include


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/include/ui/pbutton.h

    r4ed00d3 rfaca61b8  
    3939#include <errno.h>
    4040#include <gfx/coord.h>
     41#include <io/pos_event.h>
    4142#include <types/ui/pbutton.h>
    4243#include <types/ui/resource.h>
     
    5152extern void ui_pbutton_press(ui_pbutton_t *);
    5253extern void ui_pbutton_release(ui_pbutton_t *);
     54extern void ui_pbutton_pos_event(ui_pbutton_t *, pos_event_t *);
    5355
    5456#endif
Note: See TracChangeset for help on using the changeset viewer.