Changeset b433f68 in mainline for uspace/lib/ui/src/label.c
- Timestamp:
- 2021-02-26T16:23:36Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 77ffa01
- Parents:
- fe40b67
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/label.c
rfe40b67 rb433f68 193 193 194 194 gfx_text_fmt_init(&fmt); 195 fmt.color = label->res->wnd_text_color; 195 196 fmt.halign = label->halign; 196 197 fmt.valign = gfx_valign_top; 197 198 rc = gfx_set_color(label->res->gc, label->res->wnd_text_color);199 if (rc != EOK)200 goto error;201 198 202 199 rc = gfx_puttext(label->res->font, &pos, &fmt, label->text);
Note:
See TracChangeset
for help on using the changeset viewer.