CBubbleCtrl Class Reference

class CBubbleCtrl : public CFepUiBaseCtrl

Inherits from

Public Member Functions
~CBubbleCtrl ()
IMPORT_C void Close ()
void CreateBmpDevL ()
IMPORT_C void Draw ()
void Freeze ()
void GetText ( TDes &)
IMPORT_C void Hide ( TBool )
IMPORT_C TBool IsShowing ()
IMPORT_C CBubbleCtrl * NewL (const TRect &, CFepUiLayout *, TInt )
IMPORT_C void Popup (const TRect &)
IMPORT_C void SetBitmapParam ( CFbsBitmap *, CFbsBitmap *, TAknsItemID )
IMPORT_C void SetBitmapParam ( CFbsBitmap *, CFbsBitmap *, TAknsItemID , TAknsItemID , TAknsItemID )
void SetBmpDevice ( CFbsBitGc *, CFbsBitmapDevice *)
IMPORT_C void SetFrameDiff ( TInt , TInt , TInt , TInt )
void SetIconOffsetAndSize (const TSize &, const TSize &)
void SetLangCode ( TInt )
void SetOffset ( TPoint &)
IMPORT_C void SetRect (const TRect &)
void SetTextColorIndex ( TInt )
IMPORT_C void SetTextFormat ( TAknTextLineLayout )
IMPORT_C void SetTextL (const TDesC &)
TInt TextColorIndex ()
void UnFreeze ( TBool )
Protected Member Functions
CBubbleCtrl (const TRect &, CFepUiLayout *, TInt )
IMPORT_C void ConstructL ( TInt , TInt )
IMPORT_C void HandleResourceChange ( 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_C CBubbleCtrl ( const TRect & aRect,
CFepUiLayout * aUiLayout,
TInt aCtrlId
) [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 void Close ( )

ConstructL(TInt, TInt)

IMPORT_C void ConstructL ( TInt aBmpId,
TInt aMaskId
) [protected]

Parameters

TInt aBmpId
TInt aMaskId

CreateBmpDevL()

void CreateBmpDevL ( )

Draw()

IMPORT_C void Draw ( ) [virtual]

Pure virtual function, draws the control

Since
S60 V4.0

Freeze()

void Freeze ( )

GetRect()

TRect GetRect ( ) [private]

GetText(TDes &)

void GetText ( TDes & aText ) [inline]

Parameters

TDes & aText

HandleResourceChange(TInt)

IMPORT_C void HandleResourceChange ( TInt aType ) [protected, virtual]

Handle system resource change

Since
S60 V5.0

Parameters

TInt aType The system resource change type

Hide(TBool)

IMPORT_C void Hide ( TBool aFlag ) [virtual]

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

Since
S60 V4.0

Parameters

TBool aFlag ETrue if want to hide the control.

IsShowing()

IMPORT_C TBool IsShowing ( )

NewL(const TRect &, CFepUiLayout *, TInt)

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

Factory function.

Since
S60 V4.0

Parameters

const TRect & aRect The rectangle area for this control
CFepUiLayout * aUiLayout Ui layout who contains this control.Ownership not transferred
TInt aCtrlId

Popup(const TRect &)

IMPORT_C void Popup ( const TRect & aRect )

Parameters

const TRect & aRect

SetBitmapParam(CFbsBitmap *, CFbsBitmap *, TAknsItemID)

IMPORT_C void SetBitmapParam ( CFbsBitmap * aBmpId,
CFbsBitmap * aMaskBmpId,
TAknsItemID aBgSkinId
)

Parameters

CFbsBitmap * aBmpId
CFbsBitmap * aMaskBmpId
TAknsItemID aBgSkinId

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

IMPORT_C void SetBitmapParam ( CFbsBitmap * aBmpId,
CFbsBitmap * aMaskBmpId,
TAknsItemID aFirstBmpId,
TAknsItemID aMiddleBmpId,
TAknsItemID aLastBmpId
)

Parameters

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

SetBmpDevice(CFbsBitGc *, CFbsBitmapDevice *)

void SetBmpDevice ( CFbsBitGc * aGc,
CFbsBitmapDevice * aDevice
)

Parameters

CFbsBitGc * aGc
CFbsBitmapDevice * aDevice

SetFrameDiff(TInt, TInt, TInt, TInt)

IMPORT_C void SetFrameDiff ( TInt aLeftDiff,
TInt aTopDiff,
TInt aRightDiff,
TInt aBottomDiff
)

Parameters

TInt aLeftDiff
TInt aTopDiff
TInt aRightDiff
TInt aBottomDiff

SetIconOffsetAndSize(const TSize &, const TSize &)

void SetIconOffsetAndSize ( const TSize & aOffset,
const TSize & aSize
) [inline]

Parameters

const TSize & aOffset
const TSize & aSize

SetLangCode(TInt)

void SetLangCode ( TInt aLangCode ) [inline]

Parameters

TInt aLangCode

SetOffset(TPoint &)

void SetOffset ( TPoint & aPt ) [inline]

Parameters

TPoint & aPt

SetRect(const TRect &)

IMPORT_C void SetRect ( const TRect & aRect ) [virtual]

Set control's rectangle

Since
S60 V4.0

Parameters

const TRect & aRect The new control area

SetTextColorIndex(TInt)

void SetTextColorIndex ( TInt aTxtClrIndex ) [inline]

Parameters

TInt aTxtClrIndex

SetTextFormat(TAknTextLineLayout)

IMPORT_C void SetTextFormat ( TAknTextLineLayout aTextFormat )

Set text line layout

Since
S60 V4.0

Parameters

TAknTextLineLayout aTextFormat Text line layout to be set

SetTextL(const TDesC &)

IMPORT_C void SetTextL ( const TDesC & aText )

Set text to be shown on button

Since
S60 V4.0

Parameters

const TDesC & aText Text to be shown on button

TextColorIndex()

TInt TextColorIndex ( ) const [inline]

UnFreeze(TBool)

void UnFreeze ( TBool aUpdate = 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]