Changeset 0262f16c in mainline for uspace/lib/ui/include/ui/menu.h


Ignore:
Timestamp:
2021-04-09T22:41:22Z (3 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
62223ec
Parents:
214aefb
git-author:
Jiri Svoboda <jiri@…> (2021-04-01 16:23:35)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-04-09 22:41:22)
Message:

Activate menu entry by clicking (instead of simple press)

This allows for visual feedback and also serves as the confirmation
of correctness/intent (same as with push button).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/ui/menu.h

    r214aefb r0262f16c  
    5252extern errno_t ui_menu_paint(ui_menu_t *, gfx_coord2_t *);
    5353extern errno_t ui_menu_unpaint(ui_menu_t *);
    54 extern void ui_menu_press(ui_menu_t *, gfx_coord2_t *, gfx_coord2_t *);
     54extern ui_evclaim_t ui_menu_pos_event(ui_menu_t *, gfx_coord2_t *,
     55    pos_event_t *);
    5556
    5657#endif
Note: See TracChangeset for help on using the changeset viewer.