Changeset 3583ffb in mainline for uspace/lib/ui/src/label.c
- Timestamp:
- 2020-11-08T19:51:04Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f93e4e3
- Parents:
- 8c772c4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/label.c
r8c772c4 r3583ffb 45 45 #include "../private/label.h" 46 46 #include "../private/resource.h" 47 #include "../private/ui.h"48 47 49 48 static void ui_label_ctl_destroy(void *); … … 65 64 * @return EOK on success, ENOMEM if out of memory 66 65 */ 67 errno_t ui_label_create(ui_ t *ui, const char *text,66 errno_t ui_label_create(ui_resource_t *resource, const char *text, 68 67 ui_label_t **rlabel) 69 68 { … … 88 87 } 89 88 90 label->res = ui->resource;89 label->res = resource; 91 90 label->halign = gfx_halign_left; 92 91 *rlabel = label;
Note:
See TracChangeset
for help on using the changeset viewer.