Changeset 6baab83 in mainline for uspace/srv/hid/display/window.h


Ignore:
Timestamp:
2021-05-27T17:00:30Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Children:
b4b4dafe
Parents:
f2416ec3
Message:

Set menu popup position based on parent window position

Added a method for getting the position of a display window.
This is then combined with the menu bar entry rectangle (which is
relative to the parent window) to compute a screen-relative
rectangle close to which the popup should be placed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/display/window.h

    rf2416ec3 r6baab83  
    6363extern void ds_window_move_req(ds_window_t *, gfx_coord2_t *);
    6464extern void ds_window_move(ds_window_t *, gfx_coord2_t *);
     65extern void ds_window_get_pos(ds_window_t *, gfx_coord2_t *);
    6566extern void ds_window_resize_req(ds_window_t *, display_wnd_rsztype_t,
    6667    gfx_coord2_t *);
Note: See TracChangeset for help on using the changeset viewer.