TAknScreenMode Class Reference

class TAknScreenMode

Information about a screen mode

Since
3.1
Public Member Functions
TAknScreenMode (const SAknScreenModeInfo &)
IMPORT_C TDisplayMode DisplayMode ()
IMPORT_C TInt ModeNumber ()
IMPORT_C TSize SizeInPixels ()
Protected Attributes
const SAknScreenModeInfo & iInfo

Constructor & Destructor Documentation

TAknScreenMode(const SAknScreenModeInfo &)

TAknScreenMode ( const SAknScreenModeInfo & aInfo )

Parameters

const SAknScreenModeInfo & aInfo

Member Functions Documentation

DisplayMode()

IMPORT_C TDisplayMode DisplayMode ( ) const

Gets the display mode (color depth) for this screen mode.

ModeNumber()

IMPORT_C TInt ModeNumber ( ) const

Gets the screen mode number. This is the screen mode number as used by CWsScreenDevice APIs, which start from zero. It is one less than the number of the coresponding entry in wsini.ini, which start from one.

SizeInPixels()

IMPORT_C TSize SizeInPixels ( ) const

Gets the size of the screen for this screen mode in pixels..

Member Data Documentation

const SAknScreenModeInfo & iInfo

const SAknScreenModeInfo & iInfo [protected]