| 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.
The bitmap.
| 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.
Physical 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.
Physical colour.
| 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.
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.
The font that most closely matches aLogicalFont.
| const TLogicalFont & aLogicalFont | Logical font to match. |