Changeset f2416ec3 in mainline for uspace/lib/ui/include/ui/popup.h


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/include/ui/popup.h

    r344f8b9 rf2416ec3  
    4343#include <types/ui/popup.h>
    4444#include <types/ui/resource.h>
     45#include <types/ui/window.h>
    4546
    4647extern void ui_popup_params_init(ui_popup_params_t *);
    47 extern errno_t ui_popup_create(ui_t *, ui_popup_params_t *,
     48extern errno_t ui_popup_create(ui_t *, ui_window_t *, ui_popup_params_t *,
    4849    ui_popup_t **);
    4950extern void ui_popup_set_cb(ui_popup_t *, ui_popup_cb_t *, void *);
Note: See TracChangeset for help on using the changeset viewer.