textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutbubblectrl.cpp
branchRCL_3
changeset 19 ac7e4d1d9209
parent 18 b1ea1642412e
child 20 ebd48d2de13c
equal deleted inserted replaced
18:b1ea1642412e 19:ac7e4d1d9209
    64     SetHidenFlag(ETrue);
    64     SetHidenFlag(ETrue);
    65     }
    65     }
    66         
    66         
    67 EXPORT_C CBubbleCtrl::~CBubbleCtrl()
    67 EXPORT_C CBubbleCtrl::~CBubbleCtrl()
    68     {
    68     {
       
    69 	Close();
       
    70 	
    69     if ( iText )
    71     if ( iText )
    70         delete iText;
    72         delete iText;
    71     
    73     
    72     if( iForgroundBmp )
    74     if( iForgroundBmp )
    73 		{
    75 		{
   226 		// notify sever to draw the bubble bitmap on the screen
   228 		// notify sever to draw the bubble bitmap on the screen
   227         if(UiLayout()->NotDrawToLayoutDevice())
   229         if(UiLayout()->NotDrawToLayoutDevice())
   228             {
   230             {
   229             struct SData
   231             struct SData
   230                 {
   232                 {
       
   233             	TUint32 ctrl;
   231                 TBool flag;
   234                 TBool flag;
   232                 TRect pos;
   235                 TRect pos;
   233                 CFbsBitmap* bmp;
   236                 CFbsBitmap* bmp;
   234                 CFbsBitmap* mask;
   237                 CFbsBitmap* mask;
   235                 } data;
   238                 } data;
   236                 
   239                 
       
   240             data.ctrl = (TUint32)this;
   237             data.flag = ETrue;
   241             data.flag = ETrue;
   238             data.pos = Rect();
   242             data.pos = Rect();
   239             data.bmp = iBitmap;
   243             data.bmp = iBitmap;
   240             data.mask = iMaskBitmap;
   244             data.mask = iMaskBitmap;
   241             TPtrC ptr;
   245             TPtrC ptr;
   311         {
   315         {
   312         if(UiLayout()->NotDrawToLayoutDevice())
   316         if(UiLayout()->NotDrawToLayoutDevice())
   313             {
   317             {
   314             struct SData
   318             struct SData
   315                 {
   319                 {
       
   320             	TUint32 ctrl;
   316                 TBool flag;
   321                 TBool flag;
   317                 TRect pos;
   322                 TRect pos;
   318                 CFbsBitmap* bmp;
   323                 CFbsBitmap* bmp;
   319                 } data;
   324                 } data;
   320                 
   325                 
       
   326             data.ctrl = (TUint32)this;
   321             data.flag = EFalse;
   327             data.flag = EFalse;
   322             data.pos = Rect();
   328             data.pos = Rect();
   323             data.bmp = iBitmap;
   329             data.bmp = iBitmap;
   324             
   330             
   325             TPtrC ptr;
   331             TPtrC ptr;