class CEikStatusPaneLayout : public CBase |
This class calculates and stores the screen area available for each sub pane layout.
Public Member Functions | |
---|---|
~CEikStatusPaneLayout() | |
void | AcceptL(MEikStatusPaneLayoutTreeVisitor *) |
TRect | AknLayoutRect(TInt, TPaneId) |
void | AknLayoutRefresh(TInt) |
TBool | AknLayoutUsed() |
CEikStatusPaneLayoutTree * | Find(const TPaneId &) |
CEikStatusPaneLayout * | NewL(TResourceReader &, const TRect &) |
CEikStatusPaneLayout * | NewL(TResourceReader &, const TRect &, TInt) |
TRect | Rect() |
Private Member Functions | |
---|---|
CEikStatusPaneLayout() | |
void | ConstructL(TResourceReader &, const TRect &, TInt) |
void | UpdateLayoutData(TInt) |
void | AcceptL | ( | MEikStatusPaneLayoutTreeVisitor * | aVisitor | ) | [inline] |
Calls given visitor objects VisitL, method.
MEikStatusPaneLayoutTreeVisitor * aVisitor | A visitor object to be visited. |
TRect | AknLayoutRect | ( | TInt | aLayoutResourceId, |
TPaneId | aPaneId | |||
) |
This method maps given layout resource id and subpane UID to correct layout lines in the AknLayout system.
3.1
A rectangle which specifies the given subpane size and position in the given layout.
void | AknLayoutRefresh | ( | TInt | aLayoutResourceId | ) |
Re-reads layout data from AknLayout system. The data may have to be refreshed when e.g. screen resolution, orientation or language variant layout is changed on the fly.
2.8
TInt aLayoutResourceId | Id of the statuspane layout which data is to be refreshed. |
TBool | AknLayoutUsed | ( | ) |
This method tells if this layout is using AknLayout system for placing and sizing the statuspane subpanes.
2.8
ETrue if this layout has been initailized to use AknLayout. EFalse if the default statuspane layout system is in use.
void | ConstructL | ( | TResourceReader & | aResource, |
const TRect & | aScreenRect, | |||
TInt | aLayoutId | |||
) | [private] |
2nd phase constructor.
CEikStatusPaneLayoutTree * | Find | ( | const TPaneId & | aPaneId | ) | const [inline] |
Finds the pane init with a given id. If a pane init is not found NULL pointer is returned. The layout tree instance with given id.
const TPaneId & aPaneId |
CEikStatusPaneLayout * | NewL | ( | TResourceReader & | aResource, |
const TRect & | aScreenRect | |||
) | [static] |
Two phase constructor.
TResourceReader & aResource | Resource of sub pane layout. |
const TRect & aScreenRect | Screen rectangle. |
CEikStatusPaneLayout * | NewL | ( | TResourceReader & | aResource, |
const TRect & | aScreenRect, | |||
TInt | aLayoutId | |||
) | [static] |
Two phase constructor.
TRect | Rect | ( | ) | const [inline] |
Gets rectagle of the sub pane layout. Rectangle of the sub pane layout.
void | UpdateLayoutData | ( | TInt | aLayoutResId | ) | [private] |
Updates layout data.
TInt aLayoutResId | Status pane layout resource id. |
const AknLayoutScalable_Avkon::CInstance & | iAknLayoutScalable_Avkon | [private] |