API published in: S60 1st Ed
Link against: avkon.lib
Required Capabilities
None
#include <akncontext.h>
Inherits CAknControl.
Public Member Functions |
|
IMPORT_C void | ConstructL () |
2nd phase construction |
|
IMPORT_C void | ConstructFromResourceL (TResourceReader &aReader) |
Construct from resources. |
|
IMPORT_C void | SetPicture (const CFbsBitmap *aBitmap, const CFbsBitmap *aMaskBitmap=NULL) |
Sets bitmap with mask to the context pane and shows it in the status pane's context pane. |
|
IMPORT_C void | SetPicture (CEikImage *aImage) |
Sets bitmap to the context pane and shows it in the status pane's context pane. |
|
IMPORT_C void | SetPictureFromFileL (const TDesC &aFileName, TInt aMainId, TInt aMaskId=-1) |
Sets bitmap to the context pane from file and shows it in the status pane's context pane. |
|
IMPORT_C void | SetFromResourceL (TResourceReader &aReader) |
Set data from resource file and show it in the status pane's context pane. |
|
IMPORT_C void | SetPictureToDefaultL () |
Show context pane's default bitmap. |
|
IMPORT_C const CEikImage & | Picture () const |
Returns a reference to the current context pane bitmap. |
|
IMPORT_C CEikImage * | SwapPicture (CEikImage *aNewImage) |
Sets bitmap with mask to the context pane and shows it in the status pane's context pane. |
|
void | SetNaviPaneBackgroundType (TInt aType) |
Set the background type. |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl. |
|
Data Fields |
|
DECLARE_TYPE_ID(0x101F8741) public IMPORT_ | ~CAknContextPane )() |
Destructor. |
|
Protected Member Functions |
|
virtual IMPORT_C void | SizeChanged () |
From CCoeControl. |
|
virtual IMPORT_C void | HandleResourceChange (TInt aType) |
Handles a change to the control's resources of type aType which are shared across the environment, e.g. |
|
virtual IMPORT_C TInt | CountComponentControls () const |
From CCoeControl. |
|
virtual IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
From CCoeControl. |
|
TTypeUid::Ptr | MopSupplyObject (TTypeUid aId) |
|
From CCoeControl. Returns a control determined by control id.
|
|
Construct from resources.
|
|
2nd phase construction |
|
From CCoeControl. Returns number of controls inside the context pane control.
|
|
From CCoeControl. Handles pointer events |
|
Handles a change to the control's resources of type aType which are shared across the environment, e.g. color scheme change.
|
|
|
Returns a reference to the current context pane bitmap. The reference is lost when context pane bitmap is changed with any Set -method including SetPictureToDefaultL and SwapPicture)
|
|
Set data from resource file and show it in the status pane's context pane. |
|
Set the background type. This method is used by the UI framework for for syncronizing this components background type with navipane background type. Available backgroud types are: EAknNaviPaneBackgroundTypeNotDefined EAknNaviPaneBackgroundTypeWipe EAknNaviPaneBackgroundTypeSolid
|
|
Sets bitmap to the context pane and shows it in the status pane's context pane. Context pane object takes ownership of the bitmap.
|
|
Sets bitmap with mask to the context pane and shows it in the status pane's context pane. Context pane object takes ownership of the bitmap.
|
|
Sets bitmap to the context pane from file and shows it in the status pane's context pane.
|
|
Show context pane's default bitmap. Application's AIF file icon is used if it exists. |
|
From CCoeControl. Handle the size change events. |
|
Sets bitmap with mask to the context pane and shows it in the status pane's context pane. Context pane object takes ownership of the bitmap. Old bitmap is returned and the caller is responsible of deleting the returned object.
|
|
Destructor. |