Changes in uspace/lib/gui/widget.h [10cb47e:55edba0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/widget.h
r10cb47e r55edba0 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 const void *data; /**< Custom client data. */ 59 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 60 59 sysarg_t hpos; /**< Horizontal position in window coordinates. */ 61 60 sysarg_t vpos; /**< Vertical position in window coordinates. */ … … 129 128 */ 130 129 131 extern void widget_init(widget_t *, widget_t *, const void *); 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. */ 132 133 extern void widget_modify(widget_t *, sysarg_t, sysarg_t, sysarg_t, sysarg_t); 133 extern const void *widget_get_data(widget_t *); 134 /** Unlink widget from its parent. */ 134 135 extern void widget_deinit(widget_t *); 135 136
Note:
See TracChangeset
for help on using the changeset viewer.