CAknFepCtrlDragButton Class Reference
class CAknFepCtrlDragButton : public CDragBar
|
Basic functionality for drag button It provides creation from resource and can react according to SizeChanged Msg
fepcommonctrls.lib
-
Since
-
S60 v3.2
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()
|
|
CButtonBase::BaseConstructL()
|
|
CButtonBase::Bitmap(TButtonBmpType,TBool)
|
|
CButtonBase::BmpStretchable()
|
|
CButtonBase::CButtonBase(const TRect &,CFepUiLayout *,TInt)
|
|
CButtonBase::HandlePointerEnter(const TPoint &)
|
|
CButtonBase::HandlePointerLeave(const TPoint &)
|
|
CButtonBase::Hide(TBool)
|
|
CButtonBase::IsDimmed()
|
|
CButtonBase::ResetBmpPool()
|
|
CButtonBase::SetActive(TBool)
|
|
CButtonBase::SetBackgroundBitmapL(CFbsBitmap *)
|
|
CButtonBase::SetBackgroundMaskBitmapL(CFbsBitmap *)
|
|
CButtonBase::SetBmpStretchable(TBool)
|
|
CButtonBase::SetCaptionColor(const TRgb &)
|
|
CButtonBase::SetCaptionL(const TDesC &)
|
|
CButtonBase::SetCaptionShadowColor(const TRgb &)
|
|
CButtonBase::SetDimmed(TBool)
|
|
CButtonBase::SetFont(const CFont *)
|
|
CButtonBase::SetFont(const TFontSpec &)
|
|
CButtonBase::~CButtonBase()
|
|
CDragBar::AddPositionObserver(MPositionObserver *)
|
|
CDragBar::CDragBar(const TRect &,CFepUiLayout *,TInt)
|
|
CDragBar::CancelPointerDownL()
|
|
CDragBar::ConstructL()
|
|
CDragBar::EnableDragging(TBool)
|
|
CDragBar::HandleControlEvent(TInt,CFepUiBaseCtrl *,const TDesC &)
|
|
CDragBar::HandlePointerMoveEventL(const TPoint &)
|
|
CDragBar::HandlePointerUpEventL(const TPoint &)
|
|
CDragBar::HandleTimerOut(TInt)
|
|
CDragBar::IsDragging()
|
|
CDragBar::IsDraggingComponent(CFepUiBaseCtrl *)
|
|
CDragBar::IsValidDestination(const TPoint &,TBool &,TBool &)
|
|
CDragBar::NewL(const TRect &,CFepUiLayout *,TInt)
|
|
CDragBar::OnDeActivate()
|
|
CDragBar::ReCalculateDragArea()
|
|
CDragBar::RemovePositionObserver(MPositionObserver *)
|
|
CDragBar::SetBitmapL(CFbsBitmap *,TButtonBmpType)
|
|
CDragBar::SetLongpressTimer(TTimeIntervalMicroSeconds32)
|
|
CDragBar::SetMaskBitmapL(CFbsBitmap *,TButtonBmpType)
|
|
CDragBar::SetRedrawInterval(TTimeIntervalMicroSeconds32)
|
|
CDragBar::~CDragBar()
|
|
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::CapturePointer(TBool)
|
|
CFepUiBaseCtrl::Clear()
|
|
CFepUiBaseCtrl::ClearRect(const TRect &)
|
|
CFepUiBaseCtrl::CompareOrder(CFepUiBaseCtrl *)
|
|
CFepUiBaseCtrl::CompareOrderInSameGroup(CFepUiBaseCtrl *)
|
|
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::MovingArea()
|
|
CFepUiBaseCtrl::NONSHARABLE_CLASS(CFepUiBaseCtrlExtension)
|
|
CFepUiBaseCtrl::OnActivate()
|
|
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
CAknFepCtrlDragButton(CFepUiLayout *, TInt)
IMPORT_C
|
CAknFepCtrlDragButton
|
(
|
CFepUiLayout
*
|
aUiLayout,
|
|
TInt
|
aControlId
|
|
)
|
[protected]
|
~CAknFepCtrlDragButton()
IMPORT_C
|
~CAknFepCtrlDragButton
|
(
|
)
|
[virtual]
|
Member Functions Documentation
ConstructFromResourceL(TResourceReader &)
This function creates the button from resource.
Parameters
TResourceReader
& aReader
|
A Reader which is created against the AKN_FEP_BUTTON resource type
|
ConstructFromResourceL()
IMPORT_C void
|
ConstructFromResourceL
|
(
|
)
|
|
This function creates button from resource, before calling this function, caller should set resource id of button first
CreateDimmedMaskL(CFbsBitmap *&, const CFbsBitmap *)
DeleteForgroundRes()
void
|
DeleteForgroundRes
|
(
|
)
|
[protected]
|
Draw()
IMPORT_C void
|
Draw
|
(
|
)
|
[virtual]
|
HandlePointerDownEventL(const TPoint &)
Parameters
const
TPoint
& aPoint
|
The point position relative the layout
|
Move(const TPoint &)
IMPORT_C void
|
Move
|
(
|
const
TPoint
&
|
aOffset
|
)
|
[virtual]
|
Parameters
const
TPoint
& aOffset
|
The offset to be moved
|
NewL(CFepUiLayout *, TInt)
NewLC(CFepUiLayout *, TInt)
ResizeBitmaps(TSize)
void
|
ResizeBitmaps
|
(
|
TSize
|
aSize
|
)
|
[protected]
|
SetForegroundBmpL(CFbsBitmap *, CFbsBitmap *)
SetForgroundBmpRect(const TRect &)
IMPORT_C void
|
SetForgroundBmpRect
|
(
|
const
TRect
&
|
aRect
|
)
|
|
Set Forground bitmap position
Parameters
const
TRect
& aRect
|
Forground bitmap position
|
SetImageFrameId(TAknsItemID, TAknsItemID, TAknsItemID)
SetTextFormat(TAknTextLineLayout)
SetTextL(const TDesC &)
void
|
SetTextL
|
(
|
const
TDesC
&
|
aText
|
)
|
[inline]
|
Set text to be shown on button
Parameters
const
TDesC
& aText
|
Text to be shown on button
|
SizeChanged(TRect, TRect, TBool)
IMPORT_C void
|
SizeChanged
|
(
|
TRect
|
aRect,
|
|
TRect
|
aInnerRect =
TRect
(),
|
|
TBool
|
aIsReloadImages = EFalse
|
|
)
|
|
This function handles the SizeChanged event, it resizes all images and rects
Parameters
TRect
aRect
|
New button extent
|
TRect
aInnerRect =
TRect
()
|
|
TBool
aIsReloadImages = EFalse
|
ETrue for resizing images; otherwise EFalse
|
Member Data Documentation
RPointerArray< CFbsBitmap > iBmpList
Array of background bmp (not own)
TBool
iFirstTimeConstruct
TBool
|
iFirstTimeConstruct
|
[private]
|
The first time construct flag of button
CFbsBitmap * iForgroundBmp
Froground bitmap and it's mask
CFbsBitmap * iForgroundBmpMask
TRect
iForgroundBmpRect
TRect
|
iForgroundBmpRect
|
[private]
|
Froground bitmap's position
CFbsBitmap * iForgroundDimBmpMask
Froground Dimmed bitmap's mask
TAknsItemID
iInactiveImgID
RPointerArray< CFbsBitmap > iMaskBmpList
Array of background mask bmp (not own)
TAknsItemID
iNormalImgID
The img ID of button in various states
TAknsItemID
iPressedImgID
TAknTextLineLayout
iTextFormat
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.