Skip to content
SiteEmail

cohtml::ScreenInfo

Holds the information about current screen.

#include <View.h>

Name
ScreenInfo()
Name
unsignedWidth
Full width in pixels.
unsignedHeight
Full height in pixels.
unsignedAvailableWidth
Width of the user’s screen, in pixels, minus interface features like the Windows Taskbar.
unsignedAvailableHeight
Height of the user’s screen, in pixels, minus interface features like the Windows Taskbar.
unsignedColorDepth
Color depth in bits.
unsignedPixelDepth
Pixel depth in bits.
inline ScreenInfo()
unsigned Width;

Full width in pixels.

unsigned Height;

Full height in pixels.

unsigned AvailableWidth;

Width of the user’s screen, in pixels, minus interface features like the Windows Taskbar.

unsigned AvailableHeight;

Height of the user’s screen, in pixels, minus interface features like the Windows Taskbar.

unsigned ColorDepth;

Color depth in bits.

unsigned PixelDepth;

Pixel depth in bits.