Changeset 1af103e in mainline for uspace/lib/ui/include/types
- Timestamp:
- 2023-09-13T17:29:07Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 61643c8
- Parents:
- 46bd63c9
- Location:
- uspace/lib/ui/include/types/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/include/types/ui/wdecor.h
r46bd63c9 r1af103e 38 38 39 39 #include <gfx/coord.h> 40 #include <types/common.h> 40 41 #include <types/ui/cursor.h> 41 42 … … 51 52 /** Window has a title bar */ 52 53 ui_wds_titlebar = 0x2, 54 /** Window has a system menu */ 55 ui_wds_sysmenu = 0x4, 53 56 /** Window has a minimize button */ 54 ui_wds_minimize_btn = 0x 4,57 ui_wds_minimize_btn = 0x8, 55 58 /** Window has a maximize button */ 56 ui_wds_maximize_btn = 0x 8,59 ui_wds_maximize_btn = 0x10, 57 60 /** Window has a close button */ 58 ui_wds_close_btn = 0x 10,61 ui_wds_close_btn = 0x20, 59 62 /** Window is resizable */ 60 ui_wds_resizable = 0x 20,63 ui_wds_resizable = 0x40, 61 64 /** Window is decorated (default decoration) */ 62 ui_wds_decorated = ui_wds_frame | ui_wds_titlebar | 65 ui_wds_decorated = ui_wds_frame | ui_wds_titlebar | ui_wds_sysmenu | 63 66 ui_wds_minimize_btn | ui_wds_close_btn 64 67 } ui_wdecor_style_t; … … 81 84 /** Window decoration callbacks */ 82 85 typedef struct ui_wdecor_cb { 86 void (*sysmenu)(ui_wdecor_t *, void *, sysarg_t); 83 87 void (*minimize)(ui_wdecor_t *, void *); 84 88 void (*maximize)(ui_wdecor_t *, void *); -
uspace/lib/ui/include/types/ui/window.h
r46bd63c9 r1af103e 40 40 #include <io/kbd_event.h> 41 41 #include <io/pos_event.h> 42 #include <types/common.h> 42 43 #include <types/ui/wdecor.h> 43 44 … … 95 96 /** Window callbacks */ 96 97 typedef struct ui_window_cb { 98 void (*sysmenu)(ui_window_t *, void *, sysarg_t); 97 99 void (*minimize)(ui_window_t *, void *); 98 100 void (*maximize)(ui_window_t *, void *);
Note:
See TracChangeset
for help on using the changeset viewer.
