class MLafEnv |
LAF interface to access the current system environment settings.
It is implemented by the Uikon Core, and effectively allows the LAF limited access to the current thread's CEikonEnv .
Public Member Functions | |
---|---|
const CFbsBitmap * | Bitmap ( TUid ) |
TRgb | Color ( TLogicalColor , TUid ) |
TRgb | ControlColor ( TLogicalColor , const CCoeControl &) |
TDisplayMode | DefaultDisplayMode () |
const CFont * | Font (const TLogicalFont &) |
const CFbsBitmap * | Bitmap | ( | TUid | aBmpUid | ) | const [pure virtual] |
Gets an environment bitmap specified by UID.
TUid aBmpUid | The UID of the bitmap to retrieve. |
TRgb | Color | ( | TLogicalColor | aLogicalColor, |
TUid | aColorListUid = KNullUid | |||
) | const [pure virtual] |
Gets the environment's physical ( TRgb ) colour that corresponds to the specified logical colour.
TLogicalColor aLogicalColor | Logical colour. |
TUid aColorListUid = KNullUid | UID of the colour list from which to get the mapping. The default value is the environment's list. |
TRgb | ControlColor | ( | TLogicalColor | aLogicalColor, |
const CCoeControl & | aControl | |||
) | const [pure virtual] |
Gets the physical ( TRgb ) colour that corresponds to the specified logical colour, for a specified control.
TLogicalColor aLogicalColor | Logical colour. |
const CCoeControl & aControl | Control for which to get the mapping. Note controls can override the system mappings. |
TDisplayMode | DefaultDisplayMode | ( | ) | const [pure virtual] |
Gets the environment setting for the default display mode.
const CFont * | Font | ( | const TLogicalFont & | aLogicalFont | ) | const [pure virtual] |
Gets the environment's nearest match to the specified logical font.
The return value is never NULL.
const TLogicalFont & aLogicalFont | Logical font to match. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.