API published in: S60 2nd Ed
Link against: aknskins.lib aknskinsrv.lib aknswallpaperutils.lib
Required Capabilities
None
#include <aknsframebackgroundcontrolcontext.h>
Inherits CAknsLayeredBackgroundControlContext.
This is a public class with exported functions. The class is not intended for derivation outside the library.
Public Member Functions |
||||
| virtual | ~CAknsFrameBackgroundControlContext () | |||
| Destructor. |
||||
| IMPORT_C void | SetFrame (const TAknsItemID &aFrameID) | |||
| Reconstructs the entire frame from the given item ID. |
||||
| IMPORT_C void | SetFrameRects (const TRect &aOuterRect, const TRect &aInnerRect) | |||
| Sets the outer and the inner rectangles of the frame. |
||||
| IMPORT_C void | SetCenter (const TAknsItemID &aID) | |||
| Overrides the center part of the frame. |
||||
| IMPORT_C void | SetFramePartRect (const TRect &aRect, const TAknsFrameElementIndex aFrameElement) | |||
| Sets the rectangle of a single part of the frame. |
||||
| TBool | IsCompatibleWithType (const TAknsControlContextType aType) const | |||
| Determines whether this control context is compatible with the given derived type.
|
||||
| TInt | UpdateContext () | |||
| Updates the control context, if necessary. |
||||
Static Public Member Functions |
||||
| static IMPORT_C CAknsFrameBackgroundControlContext * | NewL (const TAknsItemID &aFrameID, const TRect &aOuterRect, const TRect &aInnerRect, const TBool aParentAbsolute) | |||
| Two-phased constructor. |
||||
Protected Member Functions |
||||
| void | UpdateFrame () | |||
| Updates the type-dependant parameters of the frame. |
||||
| CAknsFrameBackgroundControlContext () | ||||
| C++ constructor. |
||||
| void | ConstructL (const TAknsItemID &aFrameID, const TRect &aOuterRect, const TRect &aInnerRect, const TBool aParentAbsolute) | |||
| Symbian 2nd phase constructor. |
||||
Protected Attributes |
||||
| TAknsItemID | iFrameID | |||
| TAknsItemID | iCenterID | |||
| TRect | iInnerRect | |||
| TRect | iOuterRect | |||
| TBool | iSingleElementFrame | |||
|
|
Destructor. |
|
|
C++ constructor. |
|
||||||||||||||||||||
|
Symbian 2nd phase constructor. |
|
|
Determines whether this control context is compatible with the given derived type.
Reimplemented from CAknsLayeredBackgroundControlContext. |
|
||||||||||||||||||||
|
Two-phased constructor.
|
|
|
Overrides the center part of the frame.
|
|
|
Reconstructs the entire frame from the given item ID.
|
|
||||||||||||
|
Sets the rectangle of a single part of the frame.
|
|
||||||||||||
|
Sets the outer and the inner rectangles of the frame.
|
|
|
Updates the control context, if necessary. This method is called by the framework before drawing with the context. Implementation in CAknsFrameBackgroundControlContext updates the items to ensure that transition between single-bitmap and multi-bitmap frames work as expected.
Reimplemented from MAknsControlContext. |
|
|
Updates the type-dependant parameters of the frame. |
|
|
|
|
|