InterfaceMgr::GetDesktopSize
Defined in:
Returns the size of the desktop area.
C4Interface.h
Prototype
const Vector2D& GetDesktopSize(void) const;
Description
The GetDesktopSize
function returns a 2D vector containing the size of the desktop, in pixels. The desktop size excludes the area needed for the strip at the bottom of the display, and thus represents the largest area that a window should normally occupy.The full size of the output view can be queried using the
Engine::GetOutputResolution
function.
See Also