Location:
gdi.h
Link against: gdi.lib
TDisplayModeUtils
Supported from 5.0
A set of static utility functions to test if the display mode is colour or greyscale, and how many colours/greyshades its supports.
Defined in TDisplayModeUtils
:
IsDisplayModeColor()
, NumDisplayModeColors()
static TBool IsDisplayModeColor(TDisplayMode aDispMode);
Tests whether the display mode specified is colour or greyscale.
|
|
static TInt NumDisplayModeColors(TDisplayMode aDispMode);
Gets the number of colours or grey shades supported by the specified display mode.
For instance, a display mode of EGray4
returns 4,
EColor4K
returns 4096.
|
|