textinput/peninputarc/src/peninputserverapp/peninputserver.cpp
branchRCL_3
changeset 5 a47de9135b21
parent 0 eb1f2e154e89
child 6 6ceef9a83b1a
equal deleted inserted replaced
3:f5a1e66df979 5:a47de9135b21
  1543         iCurRectNumInBuf = 0;
  1543         iCurRectNumInBuf = 0;
  1544    	    } 
  1544    	    } 
  1545     return;
  1545     return;
  1546     }
  1546     }
  1547 
  1547 
       
  1548 #ifndef FIX_FOR_NGA
       
  1549 #define FIX_FOR_NGA
       
  1550 #endif
       
  1551 
  1548 //MLayoutOwner
  1552 //MLayoutOwner
  1549 // ---------------------------------------------------------------------------
  1553 // ---------------------------------------------------------------------------
  1550 // CPeninputServer::UpdateArea
  1554 // CPeninputServer::UpdateArea
  1551 // Update sprite rect
  1555 // Update sprite rect
  1552 // ---------------------------------------------------------------------------
  1556 // ---------------------------------------------------------------------------
  1557     if (!iActive) //only update when sprite is active
  1561     if (!iActive) //only update when sprite is active
  1558         return;
  1562         return;
  1559     
  1563     
  1560     if(iUseWindowCtrl)
  1564     if(iUseWindowCtrl)
  1561         {        
  1565         {        
  1562         iPenUiCtrl->Invalidate(aRect,EFalse);
  1566 #ifdef FIX_FOR_NGA
       
  1567 		iPenUiCtrl->Invalidate(TRect( TPoint(0,0), LayoutRect().Size()),EFalse);
       
  1568 #else
       
  1569 		iPenUiCtrl->Invalidate(aRect,EFalse);
       
  1570 #endif
  1563         return;
  1571         return;
  1564         } 
  1572         } 
  1565 	
  1573 	
  1566 	        TRect rect;
  1574 	        TRect rect;
  1567         if(aRect.IsEmpty())
  1575         if(aRect.IsEmpty())