Changeset 4583015 in mainline for uspace/lib/ui/src/wdecor.c
- Timestamp:
- 2022-03-07T16:10:44Z (3 years ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ca2680d
- Parents:
- 5c27e77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/wdecor.c
r5c27e77 r4583015 242 242 243 243 gfx_text_fmt_init(&fmt); 244 fmt.font = wdecor->res->font; 244 245 fmt.color = wdecor->active ? 245 246 wdecor->res->tbar_act_text_color : … … 253 254 if (wdecor->res->textmode) { 254 255 /* Make space around caption text */ 255 gfx_text_rect(wdecor->res->font, &pos, &fmt, 256 wdecor->caption, &text_rect); 256 gfx_text_rect(&pos, &fmt, wdecor->caption, &text_rect); 257 257 258 258 /* Only make space if caption is non-empty */ … … 273 273 } 274 274 275 rc = gfx_puttext( wdecor->res->font,&pos, &fmt, wdecor->caption);275 rc = gfx_puttext(&pos, &fmt, wdecor->caption); 276 276 if (rc != EOK) 277 277 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.