Changeset 8d1bcd7 in mainline for uspace/lib/ui/include/types


Ignore:
Timestamp:
2023-09-26T20:26:55Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5afc1aa
Parents:
ed1a948
Message:

Handover between system menu and menu bar

We can move between them using Left and Right keys in either closed
or open state. One can now open system menu with F10, Left, Down in
a window with menu bar, or just F10 in a window without menu bar.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ui/include/types/ui/wdecor.h

    red1a948 r8d1bcd7  
    8484/** Window decoration callbacks */
    8585typedef struct ui_wdecor_cb {
    86         void (*sysmenu)(ui_wdecor_t *, void *, sysarg_t);
     86        void (*sysmenu_open)(ui_wdecor_t *, void *, sysarg_t);
     87        void (*sysmenu_left)(ui_wdecor_t *, void *, sysarg_t);
     88        void (*sysmenu_right)(ui_wdecor_t *, void *, sysarg_t);
     89        void (*sysmenu_accel)(ui_wdecor_t *, void *, char32_t, sysarg_t);
    8790        void (*minimize)(ui_wdecor_t *, void *);
    8891        void (*maximize)(ui_wdecor_t *, void *);
Note: See TracChangeset for help on using the changeset viewer.