CButtonBase Class Reference
| class CButtonBase : public CFepUiBaseCtrl |
CButtonBase
Button base control. This class could be used directly by user.
peninputlayoutcontrol.lib
- Since
- S60 V4.0
| Inherited Functions |
|---|
| | CBase::CBase() |
| | CBase::Delete(CBase *) |
| | CBase::operator new(TUint) |
| | CBase::operator new(TUint,TAny *) |
| | CBase::operator new(TUint,TLeave) |
| | CBase::operator new(TUint,TLeave,TUint) |
| | CBase::operator new(TUint,TUint) |
| | CBase::~CBase() |
| | CFepUiBaseCtrl::AbleToDraw() |
| | CFepUiBaseCtrl::AbsOrderPos() |
| | CFepUiBaseCtrl::ActiveExtResponseArea() |
| | CFepUiBaseCtrl::AddEventObserver(MEventObserver *) |
| | CFepUiBaseCtrl::AllowOverlap() |
| | CFepUiBaseCtrl::BackgroundBmp() |
| | CFepUiBaseCtrl::BaseConstructL(CFepUiLayoutRootCtrl *) |
| | CFepUiBaseCtrl::BitGc() |
| | CFepUiBaseCtrl::BitmapDevice() |
| | CFepUiBaseCtrl::BkColor() |
| | CFepUiBaseCtrl::BkMaskBmp() |
| | CFepUiBaseCtrl::BorderColor() |
| | CFepUiBaseCtrl::BorderSize() |
| | CFepUiBaseCtrl::BringToBack() |
| | CFepUiBaseCtrl::BringToTop() |
| | CFepUiBaseCtrl::CFepUiBaseCtrl(CCoeControl *,CFepUiLayout *,TBool) |
| | CFepUiBaseCtrl::CFepUiBaseCtrl(const TRect &,CFepUiLayout *,TInt) |
| | CFepUiBaseCtrl::CancelExtResponseArea() |
| | CFepUiBaseCtrl::CancelPointerDownL() |
| | CFepUiBaseCtrl::CapturePointer(TBool) |
| | CFepUiBaseCtrl::Clear() |
| | CFepUiBaseCtrl::ClearRect(const TRect &) |
| | CFepUiBaseCtrl::CompareOrder(CFepUiBaseCtrl *) |
| | CFepUiBaseCtrl::CompareOrderInSameGroup(CFepUiBaseCtrl *) |
| | CFepUiBaseCtrl::ConstructFromResourceL() |
| | CFepUiBaseCtrl::Contains(const TPoint &) |
| | CFepUiBaseCtrl::ControlId() |
| | CFepUiBaseCtrl::ControlType() |
| | CFepUiBaseCtrl::CreateOwnDeviceL(CFbsBitmap *,CFbsBitmap *) |
| | CFepUiBaseCtrl::DisableRegionUpdating() |
| | CFepUiBaseCtrl::DrawBackground(TBool) |
| | CFepUiBaseCtrl::DrawBackground(const TRect,TBool) |
| | CFepUiBaseCtrl::DrawBackgroundToDevice(TRect,CFbsDevice *,CFbsBitmap *,const TRgb &,const TRgb &,TBool) |
| | CFepUiBaseCtrl::DrawBitmap(const CFbsBitmap *,TBool) |
| | CFepUiBaseCtrl::DrawBitmap(const TRect,const CFbsBitmap *,TBool) |
| | CFepUiBaseCtrl::DrawMaskBackground(TBool) |
| | CFepUiBaseCtrl::DrawOpaqueMaskBackground(TBool) |
| | CFepUiBaseCtrl::DrawOpaqueMaskBackground(const TRect,TBool) |
| | CFepUiBaseCtrl::DrawShadow() |
| | CFepUiBaseCtrl::DrawTransparentMaskBackground(const TRect &,TBool) |
| | CFepUiBaseCtrl::EnableExtResponseArea(TBool,const TRect &) |
| | CFepUiBaseCtrl::EnableRegionUpdating() |
| | CFepUiBaseCtrl::Extension_(TUint,TAny *&,TAny *) |
| | CFepUiBaseCtrl::GraphicDeviceSizeChanged() |
| | CFepUiBaseCtrl::HandlePositionChange(const TPoint &) |
| | CFepUiBaseCtrl::HandleResourceChange(TInt) |
| | CFepUiBaseCtrl::Hiden() |
| | CFepUiBaseCtrl::IsActive() |
| | CFepUiBaseCtrl::IsFepBaseControl() |
| | CFepUiBaseCtrl::IsKindOfControl(TStockBaseCtrlType) |
| | CFepUiBaseCtrl::IsOnTopOf(CFepUiBaseCtrl *) |
| | CFepUiBaseCtrl::MaskBitmapDevice() |
| | CFepUiBaseCtrl::MaskBkCol() |
| | CFepUiBaseCtrl::Move(const TPoint &) |
| | CFepUiBaseCtrl::MovingArea() |
| | CFepUiBaseCtrl::NONSHARABLE_CLASS(CFepUiBaseCtrlExtension) |
| | CFepUiBaseCtrl::OnActivate() |
| | CFepUiBaseCtrl::OnDeActivate() |
| | CFepUiBaseCtrl::OnLayoutDraggingEnd() |
| | CFepUiBaseCtrl::OnLayoutDraggingStart() |
| | CFepUiBaseCtrl::OrderPos()const |
| | CFepUiBaseCtrl::Overlapped(CFepUiBaseCtrl *) |
| | CFepUiBaseCtrl::ParentCtrl() |
| | CFepUiBaseCtrl::PenColor() |
| | CFepUiBaseCtrl::PenSize() |
| | CFepUiBaseCtrl::PointerDown() |
| | CFepUiBaseCtrl::ReDrawRect(const TRect &) |
| | CFepUiBaseCtrl::Ready() |
| | CFepUiBaseCtrl::Rect() |
| | CFepUiBaseCtrl::Region() |
| | CFepUiBaseCtrl::RemoveEventObserver(MEventObserver *) |
| | CFepUiBaseCtrl::ReportEvent(TInt,const TDesC &) |
| | CFepUiBaseCtrl::RequireRegionUpdateL(TBool) |
| | CFepUiBaseCtrl::ResizeDeviceL() |
| | CFepUiBaseCtrl::ResourceId() |
| | CFepUiBaseCtrl::RootControl() |
| | CFepUiBaseCtrl::SetAllowOverlap(TBool) |
| | CFepUiBaseCtrl::SetBackgroundBmp(CFbsBitmap *) |
| | CFepUiBaseCtrl::SetBackgroundMaskBmp(CFbsBitmap *) |
| | CFepUiBaseCtrl::SetBkColor(const TRgb &) |
| | CFepUiBaseCtrl::SetBorderColor(const TRgb &) |
| | CFepUiBaseCtrl::SetBorderSize(const TSize &) |
| | CFepUiBaseCtrl::SetControlType(TControlType) |
| | CFepUiBaseCtrl::SetHidenFlag(TBool) |
| | CFepUiBaseCtrl::SetMaskBkCol(const TRgb &) |
| | CFepUiBaseCtrl::SetOrdinalPos(TInt) |
| | CFepUiBaseCtrl::SetParent(CFepUiBaseCtrl *) |
| | CFepUiBaseCtrl::SetPenColor(const TRgb &) |
| | CFepUiBaseCtrl::SetPenSize(const TSize &) |
| | CFepUiBaseCtrl::SetPointerDown(TBool) |
| | CFepUiBaseCtrl::SetReady(TBool) |
| | CFepUiBaseCtrl::SetRect(const TRect &) |
| | CFepUiBaseCtrl::SetRegion(const RRegion &) |
| | CFepUiBaseCtrl::SetResourceId(TInt32) |
| | CFepUiBaseCtrl::SetShadowAreaRect(const TRect &,TShadowBitmapIndex) |
| | CFepUiBaseCtrl::SetShadowBmp(CFbsBitmap *,CFbsBitmap *,TShadowBitmapIndex) |
| | CFepUiBaseCtrl::SetShadowRect(const TRect &) |
| | CFepUiBaseCtrl::SetTactileFeedbackType(TInt) |
| | CFepUiBaseCtrl::ShadowAreaRect(TShadowBitmapIndex) |
| | CFepUiBaseCtrl::ShadowRect() |
| | CFepUiBaseCtrl::SimulateRawEvent(const TRawEvent &) |
| | CFepUiBaseCtrl::TactileFeedbackType()const |
| | CFepUiBaseCtrl::UiLayout() |
| | CFepUiBaseCtrl::UpdateArea(const TRect &,TBool) |
| | CFepUiBaseCtrl::UpdateAreaImmed(const TRect &,TBool) |
| | CFepUiBaseCtrl::UpdateValidRegion(CFepUiBaseCtrl *,TBool) |
| | CFepUiBaseCtrl::ValidClipRegion() |
| | CFepUiBaseCtrl::WholeHiden() |
| | CFepUiBaseCtrl::WndBasedControl() |
| | CFepUiBaseCtrl::WndControl() |
| | CFepUiBaseCtrl::~CFepUiBaseCtrl() |
Constructor & Destructor Documentation
CButtonBase(const TRect &, CFepUiLayout *, TInt)
Parameters
| const TRect & aRect | The rectangle area for this control |
| CFepUiLayout * aUiLayout | Ui layout who contains this control.Ownership not transferred |
| TInt aControlId | control Id |
~CButtonBase()
| IMPORT_C | ~CButtonBase | ( | ) | [virtual] |
Member Functions Documentation
AddBmpToPool(CFbsBitmap *)
Add a bitmap to bitmap pool
BaseConstructL()
| IMPORT_C void | BaseConstructL | ( | ) | |
Bitmap(TButtonBmpType, TBool)
get bitmap for given type .
Parameters
| TButtonBmpType aType | The bitmap type used for |
| TBool aMaskFlag = EFalse | EFalse if want to get the mask bitmap, otherwise, return the bitmap. Default value is EFalse. |
BmpStretchable()
|
TBool
| BmpStretchable | ( | ) | [inline] |
Get bitmap stretchable flag
Draw()
| IMPORT_C void | Draw | ( | ) | [virtual] |
HandlePointerDownEventL(const TPoint &)
Parameters
| const TPoint & aPoint | The point position relative the layout |
HandlePointerEnter(const TPoint &)
| IMPORT_C void | HandlePointerEnter | ( | const TPoint & | aPoint | ) | [virtual] |
From CFepUiBaseCtrl Handle pointer enter event. This will be called only when it's got pointer down event before and pointer leaves but now comes back without pointer up event.
Parameters
| const TPoint & aPoint | current pointer position |
HandlePointerLeave(const TPoint &)
| IMPORT_C void | HandlePointerLeave | ( | const TPoint & | aPoint | ) | [virtual] |
From CFepUiBaseCtrl Handle pointer levae event. This will be called only when it's got pointer down event before and now pointer leaves without pointer up event
Parameters
| const TPoint & aPoint | current pointer position |
HandlePointerMoveEventL(const TPoint &)
Parameters
| const TPoint & aPoint | The point position relative the layout |
HandlePointerUpEventL(const TPoint &)
Parameters
| const TPoint & aPoint | The point position relative the layout |
Hide(TBool)
| IMPORT_C void | Hide | ( | TBool | aFlag | ) | [virtual] |
Hide or shoe control. A hiden control will not handle the event.
Parameters
| TBool aFlag | ETrue if want to hide the control. |
IsDimmed()
Get button dimmed status .
NewL(const TRect &, CFepUiLayout *, TInt)
Parameters
| const TRect & aRect | The rectangle area for this control |
| CFepUiLayout * aUiLayout | Ui layout who contains this control.Ownership not transferred |
| TInt aControlId | control Id |
ResetBmpPool()
| IMPORT_C void | ResetBmpPool | ( | ) | |
SetActive(TBool)
| IMPORT_C void | SetActive | ( | TBool | aFlag | ) | [virtual] |
Set button active or deactive.
Parameters
| TBool aFlag | Button status flag. |
SetBackgroundBitmapL(CFbsBitmap *)
| IMPORT_C void | SetBackgroundBitmapL | ( | CFbsBitmap * | aBmp | ) | [protected, virtual] |
Parameters
| CFbsBitmap * aBmp | The background bitmap. Ownership transferred to control |
SetBackgroundMaskBitmapL(CFbsBitmap *)
| IMPORT_C void | SetBackgroundMaskBitmapL | ( | CFbsBitmap * | aBmp | ) | [protected, virtual] |
Set background mask bitmap
Parameters
| CFbsBitmap * aBmp | The background bitmap. Ownership transferred to control |
SetBitmapL(CFbsBitmap *, TButtonBmpType)
Set bitmap for given status .
SetBmpStretchable(TBool)
| void | SetBmpStretchable | ( | TBool | aFlag = ETrue | ) | [inline] |
Enable bitmap stretchable. When it's set, all bitmap in this control will be stretched to fit in the control. It's stretchable by default
Parameters
| TBool aFlag = ETrue | the bitmap stretching flag |
SetCaptionColor(const TRgb &)
| void | SetCaptionColor | ( | const TRgb & | aCol | ) | [inline] |
Parameters
| const TRgb & aCol | The caption font color |
SetCaptionL(const TDesC &)
| IMPORT_C void | SetCaptionL | ( | const TDesC & | aText | ) | |
Parameters
| const TDesC & aText | The button caption |
SetCaptionShadowColor(const TRgb &)
| void | SetCaptionShadowColor | ( | const TRgb & | aCol | ) | [inline] |
Parameters
| const TRgb & aCol | The font color |
SetDimmed(TBool)
| IMPORT_C void | SetDimmed | ( | TBool | aFlag | ) | |
Parameters
| TBool aFlag | Dim status. Default value is ETrue. |
SetFont(const TFontSpec &)
| IMPORT_C void | SetFont | ( | const TFontSpec & | aFontSpec | ) | |
From CFepUiBaseCtrl Set control's rectangle
- Since
- S60 V4.0
- Since
- S60 V4.0
SetFont(const CFont *)
| IMPORT_C void | SetFont | ( | const CFont * | aFont | ) | |
Parameters
| const CFont * aFont | The font info for key drawing.Ownership not transferred |
SetMaskBitmapL(CFbsBitmap *, TButtonBmpType)
Set mask bitmap for given status.
Member Data Documentation
CFbsBitmap * iActiveBmp
bitmap for active state Own.
CFbsBitmap * iActiveBmpPressed
bitmap for pressing in active state Own.
CFbsBitmap * iActiveMaskBmp
mask bitmap for active state Own.
CFbsBitmap * iActiveMaskBmpPressed
mask bitmap for pressing in active state Own.
RPointerArray< CFbsBitmap > iBmpPool
bitmap pool for all bitmaps.
TRgb
iCaptionColor
|
TRgb
| iCaptionColor | [private] |
Pen color for first level caption
TRgb
iCaptionShadowColor
|
TRgb
| iCaptionShadowColor | [private] |
Pen color for caption shadow
CFbsBitmap * iDimmedBmp
bitmap for dimmed state Own.
CFbsBitmap * iDimmedMaskBmp
mask bitmap for dim stute Own.
CFont * iFont
Font object for key drawing Ownership depends on flag iFontOwnership.
TBool
iFontOwnership
|
TBool
| iFontOwnership | [private] |
Flag ownership flag. ETrue if CFont object is owned by this control.
TFontSpec
iFontSpec
Font information for key drawing
CFbsBitmap * iNoUsedBkbmp
keep the bitmap for background bitmap set by SetBackgroundBitmapL in case someone used. Own.
CFbsBitmap * iNoUsedMaskBkbmp
keep the bitmap for mask background bitmap set by SetBackgroundMaskBitmapL in case someone used. Own.
CFbsBitmap * iNonActiveBkBmp
bitmap for non active state Own.
CFbsBitmap * iNonActiveBkBmpPressed
bitmap for pressing in non active state Own.
CFbsBitmap * iNonActiveBkMaskBmp
mask bitmap for non active state Own.
CFbsBitmap * iNonActiveBkMaskBmpPressed
mask bitmap for pressing in non active state Own.
TBool
iStretchable
|
TBool
| iStretchable | [private] |
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.