Changeset 1c6c3e1d in mainline for uspace/lib/ui/private/wdecor.h
- Timestamp:
- 2023-10-22T17:55:33Z (17 months ago)
- Branches:
- ticket/834-toolchain-update
- Children:
- 350ec74
- Parents:
- 315d487 (diff), 133461c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/private/wdecor.h
r315d487 r1c6c3e1d 41 41 #include <io/pos_event.h> 42 42 #include <stdbool.h> 43 #include <types/common.h> 43 44 #include <types/ui/cursor.h> 44 45 #include <types/ui/wdecor.h> … … 65 66 /** Window is maximized */ 66 67 bool maximized; 68 /** System menu handle is active */ 69 bool sysmenu_hdl_active; 67 70 /** Minimize button */ 68 71 struct ui_pbutton *btn_min; … … 82 85 /** Title bar rectangle */ 83 86 gfx_rect_t title_bar_rect; 87 /** System menu handle rectangle */ 88 gfx_rect_t sysmenu_hdl_rect; 84 89 /** Window caption rectangle */ 85 90 gfx_rect_t caption_rect; … … 94 99 } ui_wdecor_geom_t; 95 100 101 extern void ui_wdecor_sysmenu_open(ui_wdecor_t *, sysarg_t); 102 extern void ui_wdecor_sysmenu_left(ui_wdecor_t *, sysarg_t); 103 extern void ui_wdecor_sysmenu_right(ui_wdecor_t *, sysarg_t); 104 extern void ui_wdecor_sysmenu_accel(ui_wdecor_t *, char32_t, sysarg_t); 96 105 extern void ui_wdecor_minimize(ui_wdecor_t *); 97 106 extern void ui_wdecor_maximize(ui_wdecor_t *); … … 103 112 extern void ui_wdecor_set_cursor(ui_wdecor_t *, ui_stock_cursor_t); 104 113 extern void ui_wdecor_get_geom(ui_wdecor_t *, ui_wdecor_geom_t *); 114 extern errno_t ui_wdecor_sysmenu_hdl_paint_gfx(ui_wdecor_t *, gfx_rect_t *); 115 extern errno_t ui_wdecor_sysmenu_hdl_paint_text(ui_wdecor_t *, gfx_rect_t *); 116 extern errno_t ui_wdecor_sysmenu_hdl_paint(ui_wdecor_t *, gfx_rect_t *); 105 117 extern void ui_wdecor_frame_pos_event(ui_wdecor_t *, pos_event_t *); 106 118 extern ui_wdecor_rsztype_t ui_wdecor_get_rsztype(ui_wdecor_t *,
Note:
See TracChangeset
for help on using the changeset viewer.