Changeset c6f00b40 in mainline for uspace/lib/ui/src/label.c
- Timestamp:
- 2020-11-01T22:49:05Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4ac11ff
- Parents:
- 4df6607
- git-author:
- Jiri Svoboda <jiri@…> (2020-11-01 22:47:03)
- git-committer:
- Jiri Svoboda <jiri@…> (2020-11-01 22:49:05)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/label.c
r4df6607 rc6f00b40 46 46 #include "../private/resource.h" 47 47 48 static void ui_label_ctl_destroy(void *); 48 49 static errno_t ui_label_ctl_paint(void *); 49 50 static ui_evclaim_t ui_label_ctl_pos_event(void *, pos_event_t *); … … 51 52 /** Label control ops */ 52 53 ui_control_ops_t ui_label_ops = { 54 .destroy = ui_label_ctl_destroy, 53 55 .paint = ui_label_ctl_paint, 54 56 .pos_event = ui_label_ctl_pos_event … … 207 209 } 208 210 209 /** Paint lable control. 211 /** Destroy label control. 212 * 213 * @param arg Argument (ui_label_t *) 214 */ 215 void ui_label_ctl_destroy(void *arg) 216 { 217 ui_label_t *label = (ui_label_t *) arg; 218 219 ui_label_destroy(label); 220 } 221 222 /** Paint label control. 210 223 * 211 224 * @param arg Argument (ui_label_t *)
Note:
See TracChangeset
for help on using the changeset viewer.