-
Notifications
You must be signed in to change notification settings - Fork 56
MTY_WindowGetFrame
chrisd1100 edited this page Aug 25, 2022
·
1 revision
Get a window's normalized size and position.
This function can be used to query the "restored" size and position of a window even when it is maximized or in fullscreen mode. It also will always return unscaled values taking into account the screen's current scaling setting. The returned MTY_Frame
can be passed directly into MTY_WindowCreate
or MTY_WindowSetFrame
.
MTY_Frame MTY_WindowGetFrame(
MTY_App * app,
MTY_Window window
);
app
(MTY_App *
)
The MTY_App
.
window
(MTY_Window
)
An MTY_Window
.
Window's normalized size and position.