Changes in uspace/lib/ui/src/label.c [b433f68:b41564c] in mainline
- File:
-
- 1 edited
-
uspace/lib/ui/src/label.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/label.c
rb433f68 rb41564c 1 1 /* 2 * Copyright (c) 202 1Jiri Svoboda2 * Copyright (c) 2020 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 193 193 194 194 gfx_text_fmt_init(&fmt); 195 fmt.color = label->res->wnd_text_color;196 195 fmt.halign = label->halign; 197 196 fmt.valign = gfx_valign_top; 198 197 198 rc = gfx_set_color(label->res->gc, label->res->wnd_text_color); 199 if (rc != EOK) 200 goto error; 201 199 202 rc = gfx_puttext(label->res->font, &pos, &fmt, label->text); 200 if (rc != EOK)201 goto error;202 203 rc = gfx_update(label->res->gc);204 203 if (rc != EOK) 205 204 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.
