CBubbleCtrl Class Reference

class CBubbleCtrl : public CFepUiBaseCtrl

Inherits from

Public Member Functions
~CBubbleCtrl()
IMPORT_C voidClose()
voidCreateBmpDevL()
IMPORT_C voidDraw()
voidFreeze()
voidGetText(TDes &)
IMPORT_C voidHide(TBool)
IMPORT_C TBoolIsShowing()
IMPORT_C CBubbleCtrl *NewL(const TRect &, CFepUiLayout *, TInt)
IMPORT_C voidPopup(const TRect &)
IMPORT_C voidSetBitmapParam(CFbsBitmap *, CFbsBitmap *, TAknsItemID)
IMPORT_C voidSetBitmapParam(CFbsBitmap *, CFbsBitmap *, TAknsItemID, TAknsItemID, TAknsItemID)
voidSetBmpDevice(CFbsBitGc *, CFbsBitmapDevice *)
IMPORT_C voidSetFrameDiff(TInt, TInt, TInt, TInt)
voidSetIconOffsetAndSize(const TSize &, const TSize &)
voidSetLangCode(TInt)
voidSetOffset(TPoint &)
IMPORT_C voidSetRect(const TRect &)
voidSetTextColorIndex(TInt)
IMPORT_C voidSetTextFormat(TAknTextLineLayout)
IMPORT_C voidSetTextL(const TDesC &)
TInt TextColorIndex()
voidUnFreeze(TBool)
Protected Member Functions
CBubbleCtrl(const TRect &, CFepUiLayout *, TInt)
IMPORT_C voidConstructL(TInt, TInt)
IMPORT_C voidHandleResourceChange(TInt)
Private Member Functions
TRect GetRect()
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()
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::HandlePointerDownEventL(const TPoint &)
CFepUiBaseCtrl::HandlePointerEnter(const TPoint &)
CFepUiBaseCtrl::HandlePointerLeave(const TPoint &)
CFepUiBaseCtrl::HandlePointerMoveEventL(const TPoint &)
CFepUiBaseCtrl::HandlePointerUpEventL(const TPoint &)
CFepUiBaseCtrl::HandlePositionChange(const TPoint &)
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::SetActive(TBool)
CFepUiBaseCtrl::SetAllowOverlap(TBool)
CFepUiBaseCtrl::SetBackgroundBitmapL(CFbsBitmap *)
CFepUiBaseCtrl::SetBackgroundBmp(CFbsBitmap *)
CFepUiBaseCtrl::SetBackgroundMaskBitmapL(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::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()
Inherited Enumerations
CFepUiBaseCtrl:TZOrder
Private Attributes
TAknsItemID iBgSkinId
CFbsBitmap *iBitmap
TInt iBottomDiff
TAknsItemID iFirstBmpId
CFbsBitmap *iForgroundBmp
CFbsBitmap *iForgroundBmpMask
TBool iFreeze
TSize iIconOffset
TSize iIconSize
TRect iInvalidRect
TInt iLangCode
TAknsItemID iLastBmpId
TInt iLeftDiff
CFbsBitmap *iMaskBitmap
TAknsItemID iMiddleBmpId
TBool iNeedRedraw
TPoint iOffset
TInt iReserved1
TInt iRightDiff
TBool iShowing
HBufC *iText
TInt iTextColorIndex
TAknTextLineLayout iTextFormat
TInt iTopDiff
Inherited Attributes
CFepUiBaseCtrl::iBorderColor
CFepUiBaseCtrl::iBorderSize
CFepUiBaseCtrl::iClipRegion
CFepUiBaseCtrl::iParentCtrl
CFepUiBaseCtrl::iPointerLeft
CFepUiBaseCtrl::iRect
CFepUiBaseCtrl::iResourceId
CFepUiBaseCtrl::iShadowAreaRect
CFepUiBaseCtrl::iShadowRect
CFepUiBaseCtrl::iUpdateFlagEnabled
CFepUiBaseCtrl::iValidRegion
CFepUiBaseCtrl::iWndControl

Constructor & Destructor Documentation

CBubbleCtrl(const TRect &, CFepUiLayout *, TInt)

IMPORT_CCBubbleCtrl(const TRect &aRect,
CFepUiLayout *aUiLayout,
TIntaCtrlId
)[protected]

Parameters

const TRect & aRect
CFepUiLayout * aUiLayout
TInt aCtrlId

~CBubbleCtrl()

IMPORT_C~CBubbleCtrl()[virtual]

Destructor.

Since
S60 V4.0

Member Functions Documentation

Close()

IMPORT_C voidClose()

ConstructL(TInt, TInt)

IMPORT_C voidConstructL(TIntaBmpId,
TIntaMaskId
)[protected]

Parameters

TInt aBmpId
TInt aMaskId

CreateBmpDevL()

voidCreateBmpDevL()

Draw()

IMPORT_C voidDraw()[virtual]

Pure virtual function, draws the control

Since
S60 V4.0

Freeze()

voidFreeze()

GetRect()

TRect GetRect()[private]

GetText(TDes &)

voidGetText(TDes &aText)[inline]

Parameters

TDes & aText

HandleResourceChange(TInt)

IMPORT_C voidHandleResourceChange(TIntaType)[protected, virtual]

Handle system resource change

Since
S60 V5.0

Parameters

TInt aTypeThe system resource change type

Hide(TBool)

IMPORT_C voidHide(TBoolaFlag)[virtual]

Hide or shoe control. A hiden control will not handle the event.

Since
S60 V4.0

Parameters

TBool aFlagETrue if want to hide the control.

IsShowing()

IMPORT_C TBoolIsShowing()

NewL(const TRect &, CFepUiLayout *, TInt)

IMPORT_C CBubbleCtrl *NewL(const TRect &aRect,
CFepUiLayout *aUiLayout,
TIntaCtrlId
)[static]

Factory function.

Since
S60 V4.0

Parameters

const TRect & aRectThe rectangle area for this control
CFepUiLayout * aUiLayoutUi layout who contains this control.Ownership not transferred
TInt aCtrlId

Popup(const TRect &)

IMPORT_C voidPopup(const TRect &aRect)

Parameters

const TRect & aRect

SetBitmapParam(CFbsBitmap *, CFbsBitmap *, TAknsItemID)

IMPORT_C voidSetBitmapParam(CFbsBitmap *aBmpId,
CFbsBitmap *aMaskBmpId,
TAknsItemIDaBgSkinId
)

Parameters

CFbsBitmap * aBmpId
CFbsBitmap * aMaskBmpId
TAknsItemID aBgSkinId

SetBitmapParam(CFbsBitmap *, CFbsBitmap *, TAknsItemID, TAknsItemID, TAknsItemID)

IMPORT_C voidSetBitmapParam(CFbsBitmap *aBmpId,
CFbsBitmap *aMaskBmpId,
TAknsItemIDaFirstBmpId,
TAknsItemIDaMiddleBmpId,
TAknsItemIDaLastBmpId
)

Parameters

CFbsBitmap * aBmpId
CFbsBitmap * aMaskBmpId
TAknsItemID aFirstBmpId
TAknsItemID aMiddleBmpId
TAknsItemID aLastBmpId

SetBmpDevice(CFbsBitGc *, CFbsBitmapDevice *)

voidSetBmpDevice(CFbsBitGc *aGc,
CFbsBitmapDevice *aDevice
)

Parameters

CFbsBitGc * aGc
CFbsBitmapDevice * aDevice

SetFrameDiff(TInt, TInt, TInt, TInt)

IMPORT_C voidSetFrameDiff(TIntaLeftDiff,
TIntaTopDiff,
TIntaRightDiff,
TIntaBottomDiff
)

Parameters

TInt aLeftDiff
TInt aTopDiff
TInt aRightDiff
TInt aBottomDiff

SetIconOffsetAndSize(const TSize &, const TSize &)

voidSetIconOffsetAndSize(const TSize &aOffset,
const TSize &aSize
)[inline]

Parameters

const TSize & aOffset
const TSize & aSize

SetLangCode(TInt)

voidSetLangCode(TIntaLangCode)[inline]

Parameters

TInt aLangCode

SetOffset(TPoint &)

voidSetOffset(TPoint &aPt)[inline]

Parameters

TPoint & aPt

SetRect(const TRect &)

IMPORT_C voidSetRect(const TRect &aRect)[virtual]

Set control's rectangle

Since
S60 V4.0

Parameters

const TRect & aRectThe new control area

SetTextColorIndex(TInt)

voidSetTextColorIndex(TIntaTxtClrIndex)[inline]

Parameters

TInt aTxtClrIndex

SetTextFormat(TAknTextLineLayout)

IMPORT_C voidSetTextFormat(TAknTextLineLayoutaTextFormat)

Set text line layout

Since
S60 V4.0

Parameters

TAknTextLineLayout aTextFormatText line layout to be set

SetTextL(const TDesC &)

IMPORT_C voidSetTextL(const TDesC &aText)

Set text to be shown on button

Since
S60 V4.0

Parameters

const TDesC & aTextText to be shown on button

TextColorIndex()

TInt TextColorIndex()const [inline]

UnFreeze(TBool)

voidUnFreeze(TBoolaUpdate = ETrue)

Parameters

TBool aUpdate = ETrue

Member Data Documentation

TAknsItemID iBgSkinId

TAknsItemID iBgSkinId[private]

CFbsBitmap * iBitmap

CFbsBitmap *iBitmap[private]

TInt iBottomDiff

TInt iBottomDiff[private]

TAknsItemID iFirstBmpId

TAknsItemID iFirstBmpId[private]

CFbsBitmap * iForgroundBmp

CFbsBitmap *iForgroundBmp[private]

CFbsBitmap * iForgroundBmpMask

CFbsBitmap *iForgroundBmpMask[private]

TBool iFreeze

TBool iFreeze[private]

TSize iIconOffset

TSize iIconOffset[private]

TSize iIconSize

TSize iIconSize[private]

TRect iInvalidRect

TRect iInvalidRect[private]

TInt iLangCode

TInt iLangCode[private]

TAknsItemID iLastBmpId

TAknsItemID iLastBmpId[private]

TInt iLeftDiff

TInt iLeftDiff[private]

CFbsBitmap * iMaskBitmap

CFbsBitmap *iMaskBitmap[private]

TAknsItemID iMiddleBmpId

TAknsItemID iMiddleBmpId[private]

TBool iNeedRedraw

TBool iNeedRedraw[private]

TPoint iOffset

TPoint iOffset[private]

TInt iReserved1

TInt iReserved1[private]

TInt iRightDiff

TInt iRightDiff[private]

TBool iShowing

TBool iShowing[private]

HBufC * iText

HBufC *iText[private]

TInt iTextColorIndex

TInt iTextColorIndex[private]

TAknTextLineLayout iTextFormat

TAknTextLineLayout iTextFormat[private]

TInt iTopDiff

TInt iTopDiff[private]