Changeset 0262f16c in mainline for uspace/lib/ui/private/menuentry.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/private/menuentry.h

    r214aefb r0262f16c  
    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.