textinput/peninputsplititut/src/peninputsplititutwindow.cpp
branchRCL_3
changeset 18 b1ea1642412e
parent 12 5e18d8c489d6
equal deleted inserted replaced
16:857bebeecec0 18:b1ea1642412e
    52 const TInt KButtonOneUnicode = 49;
    52 const TInt KButtonOneUnicode = 49;
    53 const TInt KInvalidBmp = -1;
    53 const TInt KInvalidBmp = -1;
    54 
    54 
    55 const TUint KDefaultIcfTextColor = 0x000000;
    55 const TUint KDefaultIcfTextColor = 0x000000;
    56 const TUint KDefaultIcfFrameColor = 0x000000;
    56 const TUint KDefaultIcfFrameColor = 0x000000;
       
    57 const TInt KTextLength = 100;
    57 
    58 
    58 
    59 
    59 
    60 
    60 
    61 
    61 
    62 
  1455 
  1456 
  1456     }
  1457     }
  1457 
  1458 
  1458 void CSplitItutWindow::UpdateIndiBubbleL( TUint8* aData )
  1459 void CSplitItutWindow::UpdateIndiBubbleL( TUint8* aData )
  1459     {  
  1460     {  
       
  1461 	// if icf is hidden, not call updateindibubblel
       
  1462     if( iICF->Hiden() )     
       
  1463     	{
       
  1464         return;
       
  1465     	}
  1460     RDesReadStream readStream;
  1466     RDesReadStream readStream;
  1461     TFepIndicatorInfo indicatorData;
  1467     TFepIndicatorInfo indicatorData;
  1462 
  1468 
  1463     TPtr8 countPtr( aData, 4*sizeof(TInt), 4*sizeof(TInt) );            
  1469     TPtr8 countPtr( aData, 4*sizeof(TInt), 4*sizeof(TInt) );            
  1464     readStream.Open(countPtr);
  1470     readStream.Open(countPtr);
  1482         SetIndiBubbleImageL( indicatorData.iIndicatorImgID,
  1488         SetIndiBubbleImageL( indicatorData.iIndicatorImgID,
  1483                              indicatorData.iIndicatorMaskID,
  1489                              indicatorData.iIndicatorMaskID,
  1484                              indicatorData.iIndicatorTextImgID,
  1490                              indicatorData.iIndicatorTextImgID,
  1485                              indicatorData.iIndicatorTextMaskID );
  1491                              indicatorData.iIndicatorTextMaskID );
  1486             
  1492             
  1487 		TBuf<100> text;	
  1493 		TBuf<KTextLength> text;	
  1488         iICF->MsgBubbleCtrl()->GetText( text );
  1494         iICF->MsgBubbleCtrl()->GetText( text );
  1489         iICF->ShowBubble( text, iICF->MsgBubbleCtrl()->Rect());
  1495         iICF->ShowBubble( text, iICF->MsgBubbleCtrl()->Rect());
  1490         }
  1496         }
  1491     }
  1497     }
  1492 
  1498