Changes in uspace/lib/ui/src/label.c [4583015:a0aeb8f] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/label.c
r4583015 ra0aeb8f 215 215 216 216 gfx_text_fmt_init(&fmt); 217 fmt.font = label->res->font;218 217 fmt.color = label->res->wnd_text_color; 219 218 fmt.halign = label->halign; 220 fmt.valign = label->valign;221 222 rc = gfx_puttext( &pos, &fmt, label->text);219 fmt.valign = gfx_valign_top; 220 221 rc = gfx_puttext(label->res->font, &pos, &fmt, label->text); 223 222 if (rc != EOK) 224 223 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.