Changeset f2416ec3 in mainline for uspace/lib/ui/test/popup.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/lib/ui/test/popup.c

    r344f8b9 rf2416ec3  
    106106        ui_popup_params_init(&params);
    107107
    108         rc = ui_popup_create(ui, &params, &popup);
     108        rc = ui_popup_create(ui, NULL, &params, &popup);
    109109        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    110110        PCUT_ASSERT_NOT_NULL(popup);
     
    135135        ui_popup_params_init(&params);
    136136
    137         rc = ui_popup_create(ui, &params, &popup);
     137        rc = ui_popup_create(ui, NULL, &params, &popup);
    138138        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    139139        PCUT_ASSERT_NOT_NULL(popup);
     
    222222        ui_popup_params_init(&params);
    223223
    224         rc = ui_popup_create(ui, &params, &popup);
     224        rc = ui_popup_create(ui, NULL, &params, &popup);
    225225        PCUT_ASSERT_ERRNO_VAL(EOK, rc);
    226226        PCUT_ASSERT_NOT_NULL(popup);
Note: See TracChangeset for help on using the changeset viewer.