Changeset f126c87 in mainline for uspace/lib/gui/minimal.c
- Timestamp:
- 2016-09-01T16:46:27Z (9 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/minimal.c
r9befb0d rf126c87 112 112 } 113 113 114 bool init_minimal(minimal_t *min, widget_t *parent, pixel_t a, pixel_t b) 114 bool init_minimal(minimal_t *min, widget_t *parent, const void *data, pixel_t a, 115 pixel_t b) 115 116 { 116 widget_init(&min->widget, parent );117 widget_init(&min->widget, parent, data); 117 118 118 119 min->widget.destroy = minimal_destroy; … … 129 130 } 130 131 131 minimal_t *create_minimal(widget_t *parent, pixel_t a, pixel_t b) 132 minimal_t *create_minimal(widget_t *parent, const void *data, pixel_t a, 133 pixel_t b) 132 134 { 133 135 minimal_t *min = (minimal_t *) malloc(sizeof(minimal_t)); … … 136 138 } 137 139 138 if (init_minimal(min, parent, a, b)) {140 if (init_minimal(min, parent, data, a, b)) { 139 141 return min; 140 142 } else {
Note:
See TracChangeset
for help on using the changeset viewer.