Changes in uspace/lib/ui/src/rbutton.c [4583015:ff6e91b] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/rbutton.c
r4583015 rff6e91b 278 278 279 279 gfx_text_fmt_init(&fmt); 280 fmt.font = rbutton->group->res->font;281 280 fmt.color = rbutton->group->res->wnd_text_color; 282 281 fmt.halign = gfx_halign_left; 283 282 fmt.valign = gfx_valign_center; 284 283 285 rc = gfx_puttext(&pos, &fmt, rbutton->caption); 284 rc = gfx_puttext(rbutton->group->res->font, &pos, &fmt, 285 rbutton->caption); 286 286 if (rc != EOK) 287 287 goto error; … … 316 316 317 317 gfx_text_fmt_init(&fmt); 318 fmt.font = rbutton->group->res->font;319 318 fmt.color = depressed ? rbutton->group->res->entry_act_bg_color : 320 319 rbutton->group->res->wnd_text_color; … … 322 321 fmt.valign = gfx_valign_top; 323 322 324 rc = gfx_puttext( &pos, &fmt, rbutton->group->selected == rbutton ?325 "(\u2022)" : "( )");323 rc = gfx_puttext(rbutton->group->res->font, &pos, &fmt, 324 rbutton->group->selected == rbutton ? "(\u2022)" : "( )"); 326 325 if (rc != EOK) 327 326 goto error; … … 333 332 fmt.color = rbutton->group->res->wnd_text_color; 334 333 335 rc = gfx_puttext(&pos, &fmt, rbutton->caption); 334 rc = gfx_puttext(rbutton->group->res->font, &pos, &fmt, 335 rbutton->caption); 336 336 if (rc != EOK) 337 337 goto error; … … 490 490 } 491 491 break; 492 case POS_DCLICK:493 break;494 492 } 495 493
Note:
See TracChangeset
for help on using the changeset viewer.