Changeset cd62879 in mainline for uspace/lib/ui/private/menuentry.h


Ignore:
Timestamp:
2021-04-01T16:23:35Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Children:
379cd75f
Parents:
bfb055b
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/private/menuentry.h

    rbfb055b rcd62879  
    5353        /** Callbacks */
    5454        ui_menu_entry_cb_t cb;
     55        /** Menu entry is currently held down */
     56        bool held;
     57        /** Pointer is currently inside */
     58        bool inside;
    5559        /** Callback argument */
    5660        void *arg;
Note: See TracChangeset for help on using the changeset viewer.