Changeset f126c87 in mainline for uspace/lib/gui/widget.h
- Timestamp:
- 2016-09-01T16:46:27Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2a2fbc8
- Parents:
- 9befb0d (diff), bdfdc51c (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/gui/widget.h
r9befb0d rf126c87 53 53 struct widget { 54 54 link_t link; 55 widget_t *parent; /**< Parent widget of this widget. NULL for root widget. */ 56 list_t children; /**< Children widgets of this widget. */ 57 window_t *window; /**< Window into which this widget belongs. */ 58 55 widget_t *parent; /**< Parent widget of this widget. NULL for root widget. */ 56 list_t children; /**< Children widgets of this widget. */ 57 window_t *window; /**< Window into which this widget belongs. */ 58 const void *data; /**< Custom client data. */ 59 59 60 sysarg_t hpos; /**< Horizontal position in window coordinates. */ 60 61 sysarg_t vpos; /**< Vertical position in window coordinates. */ … … 128 129 */ 129 130 130 /** Link widget with parent and initialize default position and size. */ 131 extern void widget_init(widget_t *, widget_t *); 132 /** Just convenience function to change position and size of the widget. */ 131 extern void widget_init(widget_t *, widget_t *, const void *); 133 132 extern void widget_modify(widget_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t); 134 /** Unlink widget from its parent. */ 133 extern const void *widget_get_data(widget_t *); 135 134 extern void widget_deinit(widget_t *); 136 135
Note:
See TracChangeset
for help on using the changeset viewer.