Changes in uspace/lib/ui/src/label.c [b41564c:b433f68] in mainline
- File:
-
- 1 edited
-
uspace/lib/ui/src/label.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/label.c
rb41564c rb433f68 1 1 /* 2 * Copyright (c) 202 0Jiri Svoboda2 * Copyright (c) 2021 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; 195 196 fmt.halign = label->halign; 196 197 fmt.valign = gfx_valign_top; 197 198 198 rc = gfx_set_color(label->res->gc, label->res->wnd_text_color);199 if (rc != EOK)200 goto error;201 202 199 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); 203 204 if (rc != EOK) 204 205 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.
