C4 Engine
C4 Engine API Documentation

InterfaceMgr::GetDesktopSize

Defined in:  C4Interface.h
Returns the size of the desktop area.
Prototype

const Vector2D& GetDesktopSize(voidconst;

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

Engine::GetOutputResolution