Changeset 2d879f7 in mainline for uspace/lib/ui/include/types/ui/wdecor.h
- Timestamp:
- 2020-11-26T11:59:59Z (3 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 554a5f1
- Parents:
- d8ddf7a
- git-author:
- Jiri Svoboda <jiri@…> (2020-11-25 18:46:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-11-26 11:59:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/include/types/ui/wdecor.h
rd8ddf7a r2d879f7 38 38 39 39 #include <gfx/coord.h> 40 #include <types/ui/cursor.h> 40 41 41 42 struct ui_wdecor; 42 43 typedef struct ui_wdecor ui_wdecor_t; 44 45 /** Window decoration style */ 46 typedef enum { 47 ui_wds_none = 0x0, 48 ui_wds_resizable = 0x1 49 } ui_wdecor_style_t; 50 51 /** Window resize type */ 52 typedef enum { 53 ui_wr_none = 0, 54 55 ui_wr_top = 0x1, 56 ui_wr_left = 0x2, 57 ui_wr_bottom = 0x4, 58 ui_wr_right = 0x8, 59 60 ui_wr_top_left = ui_wr_top | ui_wr_left, 61 ui_wr_bottom_left = ui_wr_bottom | ui_wr_left, 62 ui_wr_bottom_right = ui_wr_bottom | ui_wr_right, 63 ui_wr_top_right = ui_wr_top | ui_wr_right 64 } ui_wdecor_rsztype_t; 43 65 44 66 /** Window decoration callbacks */ … … 46 68 void (*close)(ui_wdecor_t *, void *); 47 69 void (*move)(ui_wdecor_t *, void *, gfx_coord2_t *); 70 void (*resize)(ui_wdecor_t *, void *, ui_wdecor_rsztype_t, 71 gfx_coord2_t *); 72 void (*set_cursor)(ui_wdecor_t *, void *, ui_stock_cursor_t); 48 73 } ui_wdecor_cb_t; 49 74
Note:
See TracChangeset
for help on using the changeset viewer.