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

Ignore:
Timestamp:
2021-04-09T22:41:22Z (8 months ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master
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/menuentry.h

    r214aefb r0262f16c  
    5353extern gfx_coord_t ui_menu_entry_height(ui_menu_entry_t *);
    5454extern errno_t ui_menu_entry_paint(ui_menu_entry_t *, gfx_coord2_t *);
    55 extern void ui_menu_entry_press(ui_menu_entry_t *, gfx_coord2_t *,
    56     gfx_coord2_t *);
     55extern void ui_menu_entry_press(ui_menu_entry_t *, gfx_coord2_t *);
     56extern void ui_menu_entry_release(ui_menu_entry_t *);
     57extern void ui_menu_entry_enter(ui_menu_entry_t *, gfx_coord2_t *);
     58extern void ui_menu_entry_leave(ui_menu_entry_t *, gfx_coord2_t *);
     59extern ui_evclaim_t ui_menu_entry_pos_event(ui_menu_entry_t *, gfx_coord2_t *,
     60    pos_event_t *);
    5761
    5862#endif
Note: See TracChangeset for help on using the changeset viewer.