Changeset f2416ec3 in mainline for uspace/app/calculator/calculator.c


Ignore:
Timestamp:
2021-05-26T07:40:59Z (4 years ago)
Author:
Jiri Svoboda <jiri@…>
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)
Message:

Specify parent window when creating popup

This will be used in conjunction with ui_wnd_popup_params_t.place
(a rectangle relative to the parent window) to determine where on
the screen the popup window should appear.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/calculator/calculator.c

    r344f8b9 rf2416ec3  
    887887        }
    888888
    889         rc = ui_menu_bar_create(ui, ui_res, &calc.menubar);
     889        rc = ui_menu_bar_create(ui, window, &calc.menubar);
    890890        if (rc != EOK) {
    891891                printf("Error creating menu bar.\n");
Note: See TracChangeset for help on using the changeset viewer.