diff -r ac7e4d1d9209 -r ebd48d2de13c textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutbubblectrl.h --- a/textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutbubblectrl.h Thu Aug 19 10:15:25 2010 +0300 +++ b/textinput/peninputarc/inc/peninputlayoutcontrolinc/peninputlayoutbubblectrl.h Tue Aug 31 15:31:50 2010 +0300 @@ -47,8 +47,6 @@ CFepUiLayout* aUiLayout, TInt aCtrlId); - inline void SetIconOffsetAndSize( - const TSize& aOffset, const TSize& aSize ); IMPORT_C virtual void Draw(); IMPORT_C virtual void Hide(TBool aShowFlag); @@ -86,16 +84,12 @@ IMPORT_C TBool IsShowing(); IMPORT_C void SetFrameDiff(TInt aLeftDiff,TInt aTopDiff,TInt aRightDiff,TInt aBottomDiff); - inline void GetText( TDes& aText ); void Freeze(); void UnFreeze( TBool aUpdate = ETrue ); inline void SetTextColorIndex( TInt aTxtClrIndex ); inline TInt TextColorIndex() const; - - inline void SetLangCode( TInt aLangCode ); - protected: IMPORT_C CBubbleCtrl(const TRect& aRect, CFepUiLayout* aUiLayout, @@ -104,9 +98,6 @@ IMPORT_C void ConstructL(TInt aBmpId, TInt aMaskId); private: - TRect GetRect(); - -private: CFbsBitmap* iForgroundBmp; CFbsBitmap* iForgroundBmpMask; @@ -131,34 +122,8 @@ TBool iNeedRedraw; // redraw flag after text changed. TInt iTextColorIndex; - TSize iIconOffset; - TSize iIconSize; - -public: - IMPORT_C virtual void SetRect(const TRect& aRect); - void SetBmpDevice(CFbsBitGc* aGc,CFbsBitmapDevice* aDevice); - void CreateBmpDevL(); - inline void SetOffset(TPoint& aPt); -protected: - IMPORT_C void HandleResourceChange(TInt aType); -private: + }; - -private: - CFbsBitmap* iBitmap; - CFbsBitmap* iMaskBitmap; - - TPoint iOffset; - TInt iReserved1; - - TInt iLangCode; - }; - -inline void CBubbleCtrl::SetOffset(TPoint& aPt) - { - iOffset = aPt; - } - inline void CBubbleCtrl::SetTextColorIndex( TInt aTxtClrIndex ) { iTextColorIndex = aTxtClrIndex; @@ -168,22 +133,6 @@ { return iTextColorIndex; } -inline void CBubbleCtrl::SetIconOffsetAndSize( - const TSize& aOffset, const TSize& aSize ) - { - iIconOffset = aOffset; - iIconSize = aSize; - } - -inline void CBubbleCtrl::GetText( TDes& aText ) - { - aText.Copy( *iText ); - } - -inline void CBubbleCtrl::SetLangCode( TInt aLangCode ) - { - iLangCode = aLangCode; - } class CTooltipBubbleCtrl: public CBubbleCtrl {