Changeset ed1a948 in mainline for uspace/lib/ui/include


Ignore:
Timestamp:
2023-09-20T13:10:28Z (22 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8d1bcd7
Parents:
153dd3b
git-author:
Jiri Svoboda <jiri@…> (2023-09-19 17:10:04)
git-committer:
Jiri Svoboda <jiri@…> (2023-09-20 13:10:28)
Message:

System menu handle

Graphical element allowing to open system menu using mouse.

Location:
uspace/lib/ui/include
Files:
2 edited

Legend:

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

    r153dd3b red1a948  
    5252        /** Window has a title bar */
    5353        ui_wds_titlebar = 0x2,
    54         /** Window has a system menu */
    55         ui_wds_sysmenu = 0x4,
     54        /** Window has a system menu handle */
     55        ui_wds_sysmenu_hdl = 0x4,
    5656        /** Window has a minimize button */
    5757        ui_wds_minimize_btn = 0x8,
     
    6363        ui_wds_resizable = 0x40,
    6464        /** Window is decorated (default decoration) */
    65         ui_wds_decorated = ui_wds_frame | ui_wds_titlebar | ui_wds_sysmenu |
     65        ui_wds_decorated = ui_wds_frame | ui_wds_titlebar | ui_wds_sysmenu_hdl |
    6666            ui_wds_minimize_btn | ui_wds_close_btn
    6767} ui_wdecor_style_t;
  • uspace/lib/ui/include/ui/wdecor.h

    r153dd3b red1a948  
    5454extern void ui_wdecor_set_maximized(ui_wdecor_t *, bool);
    5555extern errno_t ui_wdecor_set_caption(ui_wdecor_t *, const char *);
     56extern void ui_wdecor_sysmenu_hdl_set_active(ui_wdecor_t *, bool);
    5657extern errno_t ui_wdecor_paint(ui_wdecor_t *);
    5758extern ui_evclaim_t ui_wdecor_kbd_event(ui_wdecor_t *, kbd_event_t *);
Note: See TracChangeset for help on using the changeset viewer.