#include <mw/akncontext.h>
class CAknContextPane : public CAknControl |
Public Member Enumerations | |
---|---|
enum | anonymous { ETypeId } |
Public Member Functions | |
---|---|
CAknContextPane() | |
~CAknContextPane() | |
virtual IMPORT_C void | ConstructFromResourceL(TResourceReader &) |
IMPORT_C void | ConstructL() |
virtual IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
IMPORT_C const CEikImage & | Picture() |
IMPORT_C void | SetFromResourceL(TResourceReader &) |
void | SetNaviPaneBackgroundType(TInt) |
IMPORT_C void | SetPicture(const CFbsBitmap *, const CFbsBitmap *) |
IMPORT_C void | SetPicture(CEikImage *) |
IMPORT_C void | SetPictureFromFileL(const TDesC &, TInt, TInt) |
IMPORT_C void | SetPictureToDefaultL() |
IMPORT_C CEikImage * | SwapPicture(CEikImage *) |
Protected Member Functions | |
---|---|
virtual IMPORT_C CCoeControl * | ComponentControl(TInt) |
virtual IMPORT_C TInt | CountComponentControls() |
virtual IMPORT_C void | HandleResourceChange(TInt) |
TTypeUid::Ptr | MopSupplyObject(TTypeUid) |
virtual IMPORT_C void | SizeChanged() |
Inherited Attributes | |
---|---|
CCoeControl::iCoeEnv | |
CCoeControl::iContext | |
CCoeControl::iPosition | |
CCoeControl::iSize |
Inherited Enumerations | |
---|---|
CCoeControl:TZoomType |
A default control in the status pane's context pane.
IMPORT_C CCoeControl * | ComponentControl | ( | TInt | aIndex | ) | const [protected, virtual] |
Reimplemented from CCoeControl::ComponentControl(TInt)const
From CCoeControl. Returns a control determined by control id.
Returns: Pointer to control
IMPORT_C void | ConstructFromResourceL | ( | TResourceReader & | aReader | ) | [virtual] |
Reimplemented from CCoeControl::ConstructFromResourceL(TResourceReader &)
Construct from resources.
Parameter | Description |
---|---|
aReader | resource reader. |
IMPORT_C TInt | CountComponentControls | ( | ) | const [protected, virtual] |
Reimplemented from CCoeControl::CountComponentControls()const
From CCoeControl. Returns number of controls inside the context pane control.
Returns: Number of component controls.
IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Reimplemented from CCoeControl::HandlePointerEventL(const TPointerEvent &)
From CCoeControl. Handles pointer events
IMPORT_C void | HandleResourceChange | ( | TInt | aType | ) | [protected, virtual] |
Reimplemented from CCoeControl::HandleResourceChange(TInt)
Handles a change to the control's resources of type aType which are shared across the environment, e.g. color scheme change.
Parameter | Description |
---|---|
aType | Event type. |
TTypeUid::Ptr | MopSupplyObject | ( | TTypeUid | aId | ) | [protected] |
Reimplemented from CCoeControl::MopSupplyObject(TTypeUid)
IMPORT_C const CEikImage & | Picture | ( | ) | const |
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)
Returns: Reference to the current context pane bitmap.
IMPORT_C void | SetFromResourceL | ( | TResourceReader & | aReader | ) |
Set data from resource file and show it in the status pane's context pane.
void | SetNaviPaneBackgroundType | ( | TInt | aType | ) |
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
Parameter | Description |
---|---|
aType | Background type. |
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. Context pane object takes ownership of the bitmap.
Parameter | Description |
---|---|
aBitmap | new bitmap to the context pane. |
aMaskBitmap | mask of the bitmap. |
IMPORT_C void | SetPicture | ( | CEikImage * | aImage | ) |
Sets bitmap to the context pane and shows it in the status pane's context pane. Context pane object takes ownership of the bitmap.
Parameter | Description |
---|---|
aImage | new bitmap and its mask. |
Sets bitmap to the context pane from file and shows it in the status pane's context pane.
Parameter | Description |
---|---|
aFileName | name of the bitmap file. |
aMainId | id of the bitmap in the bitmap file. |
aMaskId | id of the bitmap's mask in the bitmap file. |
IMPORT_C void | SetPictureToDefaultL | ( | ) |
Show context pane's default bitmap. Application's AIF file icon is used if it exists.
IMPORT_C void | SizeChanged | ( | ) | [protected, virtual] |
Reimplemented from CCoeControl::SizeChanged()
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.
Parameter | Description |
---|---|
aNewImage | new bitmap to the context pane. This object takes ownership of aNewImage. |
Returns: Previous context pane bitmap. The caller is responsible of deleting the returned object.