Changeset f2416ec3 in mainline for uspace/lib/ui/src/menuentry.c
- Timestamp:
- 2021-05-26T07:40:59Z (4 years ago)
- Children:
- 6baab83
- Parents:
- 344f8b9
- git-author:
- Jiri Svoboda <jiri@…> (2021-05-25 18:40:50)
- git-committer:
- Jiri Svoboda <jiri@…> (2021-05-26 07:40:59)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/menuentry.c
r344f8b9 rf2416ec3 46 46 #include <ui/paint.h> 47 47 #include <ui/menuentry.h> 48 #include <ui/window.h> 48 49 #include "../private/menubar.h" 49 50 #include "../private/menuentry.h" … … 209 210 * resource instead. 210 211 */ 211 res = mentry->menu->mbar->res;212 res = ui_window_get_res(mentry->menu->mbar->window); 212 213 213 214 *caption_w = gfx_text_width(res->font, mentry->caption); … … 235 236 * resource instead. 236 237 */ 237 res = menu->mbar->res;238 res = ui_window_get_res(menu->mbar->window); 238 239 239 240 if (res->textmode) … … 274 275 * resource instead. 275 276 */ 276 res = mentry->menu->mbar->res;277 res = ui_window_get_res(mentry->menu->mbar->window); 277 278 278 279 if (res->textmode) {
Note:
See TracChangeset
for help on using the changeset viewer.