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


Ignore:
Timestamp:
2021-06-10T13:22:33Z (3 years ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c9927c66
Parents:
3c8c580
git-author:
Jiri Svoboda <jiri@…> (2021-05-25 18:40:50)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2021-06-10 13:22:33)
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

    r3c8c580 rc68c18b9  
    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.