|
void | getDisplayDpi (float *dpi, float *defaultDpi) const |
|
◆ setupIcon()
virtual void SdlWindow::setupIcon |
( |
| ) |
|
|
virtual |
◆ setWindowCaption()
Change the caption of the window.
- Parameters
-
caption | New window caption in UTF-8 encoding. |
◆ grabMouse()
void SdlWindow::grabMouse |
( |
bool |
grab | ) |
|
Grab or ungrab the mouse cursor. This decides whether the cursor can leave the window or not.
◆ setMouseRect()
Specify the area of the window to confine the mouse cursor.
◆ lockMouse()
bool SdlWindow::lockMouse |
( |
bool |
lock | ) |
|
Lock or unlock the mouse cursor within the window.
◆ hasMouseFocus()
bool SdlWindow::hasMouseFocus |
( |
| ) |
const |
Check whether the application has mouse focus.
◆ warpMouseInWindow()
bool SdlWindow::warpMouseInWindow |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Warp the mouse to the specified position in window coordinates. The mouse will only be warped if the window is focused in the window manager.
- Returns
- true if the system cursor was warped.
◆ iconifyWindow()
void SdlWindow::iconifyWindow |
( |
| ) |
|
◆ getSDLWMInformation()
bool SdlWindow::getSDLWMInformation |
( |
SDL_SysWMinfo * |
info | ) |
const |
Query platform specific SDL window manager information.
Since this is an SDL internal structure clients are responsible for accessing it in a version safe manner.
◆ getDpiScalingFactor()
virtual float SdlWindow::getDpiScalingFactor |
( |
| ) |
const |
|
virtual |
Returns the scaling mode based on the display DPI
The documentation for this class was generated from the following file: