TAknScreenMode Class Reference

API published in: S60 3rd Ed FP 1

Link against: avkon.lib

Capability Information

Required Capabilities

None


#include <aknscreenmode.h>

Detailed Description

Information about a screen mode.

Public Member Functions

IMPORT_C TSize  SizeInPixels () const
  Gets the size of the screen for this screen mode in pixels.
IMPORT_C TDisplayMode  DisplayMode () const
  Gets the display mode (color depth) for this screen mode.
IMPORT_C TInt  ModeNumber () const
  Gets the screen mode number.
  TAknScreenMode (const SAknScreenModeInfo &aInfo)

Protected Attributes

const SAknScreenModeInfo &  iInfo

Constructor & Destructor Documentation

TAknScreenMode::TAknScreenMode const SAknScreenModeInfo &  aInfo  ) 
 

Member Function Documentation

IMPORT_C TDisplayMode TAknScreenMode::DisplayMode  )  const
 

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

Returns:
The display mode.
IMPORT_C TInt TAknScreenMode::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.

Returns:
The screen mode number.
IMPORT_C TSize TAknScreenMode::SizeInPixels  )  const
 

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

Returns:
The screen size.

Field Documentation

const SAknScreenModeInfo& TAknScreenMode::iInfo [protected]
 

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top