Changeset d70dc1c4 in mainline for uspace/lib/ui/src/entry.c
- Timestamp:
- 2021-01-06T10:06:42Z (3 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7020d1f
- Parents:
- e037cf37
- git-author:
- Jiri Svoboda <jiri@…> (2021-01-05 18:06:37)
- git-committer:
- Jiri Svoboda <jiri@…> (2021-01-06 10:06:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/entry.c
re037cf37 rd70dc1c4 173 173 gfx_text_fmt_t fmt; 174 174 gfx_coord2_t pos; 175 gfx_rect_t frame;176 175 gfx_rect_t inside; 177 176 errno_t rc; … … 179 178 /* Paint inset frame */ 180 179 181 rc = ui_paint_bevel(entry->res->gc, &entry->rect, 182 entry->res->wnd_shadow_color, entry->res->wnd_highlight_color, 183 1, &frame); 184 if (rc != EOK) 185 goto error; 186 187 rc = ui_paint_bevel(entry->res->gc, &frame, 188 entry->res->wnd_frame_sh_color, entry->res->wnd_frame_hi_color, 189 1, &inside); 180 rc = ui_paint_inset_frame(entry->res, &entry->rect, &inside); 190 181 if (rc != EOK) 191 182 goto error;
Note:
See TracChangeset
for help on using the changeset viewer.