Ignore:
Timestamp:
2020-03-18T17:27:18Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0680854
Parents:
1a1271d
git-author:
Jiri Svoboda <jiri@…> (2020-03-18 16:57:15)
git-committer:
Jiri Svoboda <jiri@…> (2020-03-18 17:27:18)
Message:

Allow getting display dimensions

Can be used to position special windows such as panels, or to help
emulate libgui's window placement policy. To support multi-monitor
setups we would rather need to be able to query individual monitors.
But let's keep things simple for now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/display/include/disp_srv.h

    r1a1271d raeb3037  
    4141#include "display/wndparams.h"
    4242#include "types/display/event.h"
     43#include "types/display/info.h"
    4344#include "types/display/wndresize.h"
    4445
     
    6061        errno_t (*window_resize)(void *, sysarg_t, gfx_coord2_t *, gfx_rect_t *);
    6162        errno_t (*get_event)(void *, sysarg_t *, display_wnd_ev_t *);
     63        errno_t (*get_info)(void *, display_info_t *);
    6264};
    6365
Note: See TracChangeset for help on using the changeset viewer.