CHuiS60Skin Class Reference
class CHuiS60Skin : public MAknsSkinChangeObserver |
An S60 skin implementation. Uses bitmaps, fonts, and layout from the currently active S60 skin.
Nested Classes and Structures
Constructor & Destructor Documentation
CHuiS60Skin(CHuiEnv &)
IMPORT_C | CHuiS60Skin | ( | CHuiEnv & | aEnv | ) | |
Member Functions Documentation
BackgroundTexture(const TAknsItemID &)
ConstructL()
IMPORT_C void | ConstructL | ( | ) | |
From CHuiSkin. Second-phase constructor.
Context()
IMPORT_C CHuiGc & | Context | ( | ) | const |
CreateSkinBackgroundL(const TAknsItemID &)
FreeAllBackgroundTextureResources()
void | FreeAllBackgroundTextureResources | ( | ) | [private] |
FreeBackgrounds()
void | FreeBackgrounds | ( | ) | [protected] |
GetTexture(TInt, const CHuiTexture *&)
Location(THuiSkinElement)
From CHuiSkin. Determines the preferred location for an element of the skin. The location of skin elements is determined with Avkon layout utilities.
NotifyDisplaySizeChangedL()
IMPORT_C void | NotifyDisplaySizeChangedL | ( | ) | |
From CHuiSkin. Notification received when display size has changed.
ReleaseTexture(TInt)
IMPORT_C void | ReleaseTexture | ( | TInt | aSkinTextureResource | ) | |
From CHuiSkin. Release a skin texture. Will free up the given texture used by the skin.
Parameters
TInt aSkinTextureResource | The THuiSkinTextureResource skin texture ID to free. |
ReloadBgTexturesL()
void | ReloadBgTexturesL | ( | ) | [protected] |
RestoreTextureContentL(CHuiTexture &)
IMPORT_C void | RestoreTextureContentL | ( | CHuiTexture & | aTexture | ) | |
From CHuiSkin. Restore content of texture. Restore content of the given texture.
Parameters
CHuiTexture & aTexture | Texture to restore the content of. |
SearchCachedSkinItemBitmap(const TAknsItemID &)
SearchCachedSkinItemIndex(const TAknsItemID &)
SearchCachedSkinItemRect(const TAknsItemID &)
SetContext(CHuiGc &)
IMPORT_C void | SetContext | ( | CHuiGc & | aGc | ) | |
SkinConfigurationChanged(const TAknsSkinStatusConfigurationChangeReason)
Called by the skin server to indicate that the current skin configuration has changed.
SkinContentChanged()
IMPORT_C void | SkinContentChanged | ( | ) | [virtual] |
Called by the skin server when skin content is changed and the connected client wants to be informed.
SkinControlContext()
CAknsBasicBackgroundControlContext * | SkinControlContext | ( | ) | const [inline] |
Return the skin control context.
SkinExtension(const TUid &, TAny **)
IMPORT_C void | SkinExtension | ( | const TUid & | aExtensionUid, |
| TAny ** | aExtensionParameters |
| ) | [protected] |
Parameters
const TUid & aExtensionUid | |
TAny ** aExtensionParameters | |
SkinPackageChanged(const TAknsSkinStatusPackageChangeReason)
Called by the skin server to indicate that the available skin packages have changed.
SkinRect(const TAknsItemID &)
StyleTextColor(THuiPreconfiguredTextStyle, THuiBackgroundType)
From CHuiSkin. Get text color based on style and background. Determines the colour to use for text, based on the current text style and the background type.
TextureL(TInt)
From CHuiSkin. Returns a Series60 theme specific background image when parameter EHuiSkinBackgroundTexture is specified.
UpdateBackgroundL()
void | UpdateBackgroundL | ( | ) | [protected] |
Copies the S60 skin background bitmap onto a texture.
UpdateBackgroundsL(const RArray< THuiDisplayBackgroundItem > &)
void | UpdateBackgroundsL | ( | const RArray< THuiDisplayBackgroundItem > & | aItems | ) | |
Parameters
const RArray< THuiDisplayBackgroundItem > & aItems | |
Member Data Documentation
CFbsBitmap * iBackgroundBitmap
TRect
iBackgroundRect
TRect
| iBackgroundRect | [private] |
CHuiTexture * iBackgroundTexture
Background texture from S60.
RPointerArray< CSkinItem > iCachedSkinItems
TBool
iReloadBackground
TBool
| iReloadBackground | [private] |
Background should be reloaded the next time it is needed.
CAknsBasicBackgroundControlContext * iSkinControlContext
CAknsBasicBackgroundControlContext * | iSkinControlContext | [private] |
Control context for the skin.
TBool
iSkinSrvConnected
TBool
| iSkinSrvConnected | [private] |
RAknsSrvSession
iSkinSrvSession
To get CallBack from SkinServer when skin is changed
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.