textinput/peninputvkbkr/src/PeninputVkbKrWindow.cpp
branchRCL_3
changeset 9 e6a39382bb9c
parent 3 f5a1e66df979
child 12 5e18d8c489d6
equal deleted inserted replaced
8:4eb1ae11334f 9:e6a39382bb9c
  1206     inRect.Move(x, y); 
  1206     inRect.Move(x, y); 
  1207     
  1207     
  1208     /* for CButtonBase
  1208     /* for CButtonBase
  1209     TRgb color( KRgbBlack );  // sane default for nonskinned case
  1209     TRgb color( KRgbBlack );  // sane default for nonskinned case
  1210     AknsUtils::GetCachedColor( 
  1210     AknsUtils::GetCachedColor( 
  1211         AknsUtils::SkinInstance(),
  1211         UiLayout()->SkinInstance(),
  1212         color,
  1212         color,
  1213         KAknsIIDQsnTextColors,
  1213         KAknsIIDQsnTextColors,
  1214         EAknsCIQsnTextColorsCG59);
  1214         EAknsCIQsnTextColorsCG59);
  1215     iTablePageLabel->SetCaptionColor(color);
  1215     iTablePageLabel->SetCaptionColor(color);
  1216     TFontStyle style;
  1216     TFontStyle style;
  1382     TPtrC bmpFileName = aRes.ReadTPtrC();        
  1382     TPtrC bmpFileName = aRes.ReadTPtrC();        
  1383     TInt32 imgMajorSkinId = aRes.ReadInt32();
  1383     TInt32 imgMajorSkinId = aRes.ReadInt32();
  1384 
  1384 
  1385     TAknsItemID id;
  1385     TAknsItemID id;
  1386     
  1386     
  1387     MAknsSkinInstance* skininstance = AknsUtils::SkinInstance();
  1387     MAknsSkinInstance* skininstance = UiLayout()->SkinInstance();
  1388 
  1388 
  1389     TInt popWinBmpId = aRes.ReadInt16();
  1389     TInt popWinBmpId = aRes.ReadInt16();
  1390     TInt popWinBmpMaskId = aRes.ReadInt16();
  1390     TInt popWinBmpMaskId = aRes.ReadInt16();
  1391     TInt popWinBmpSkinId = aRes.ReadInt16();
  1391     TInt popWinBmpSkinId = aRes.ReadInt16();
  1392     
  1392     
  1537         iArrowLeftButton->SetDimmed( aDimArrow );
  1537         iArrowLeftButton->SetDimmed( aDimArrow );
  1538         iArrowRightButton->SetDimmed( aDimArrow );
  1538         iArrowRightButton->SetDimmed( aDimArrow );
  1539         }           
  1539         }           
  1540     }
  1540     }
  1541 
  1541 
       
  1542 void CPeninputVkbKrWindow::DimEnterKey( TBool aDimmed )
       
  1543     {
       
  1544 	CAknFepCtrlEventButton* enterBtn = static_cast<CAknFepCtrlEventButton*>
       
  1545 	                              ( Control(EPeninutWindowCtrlIdEnterBtn) );	
       
  1546     if( iLayoutContext->LayoutType() == EPluginInputModeFSQ 
       
  1547        && enterBtn )
       
  1548         {
       
  1549         enterBtn->SetDimmed( aDimmed );        
       
  1550         }
       
  1551     }
       
  1552 
  1542 void CPeninputVkbKrWindow::ShowBubble(TInt aShow)
  1553 void CPeninputVkbKrWindow::ShowBubble(TInt aShow)
  1543     {
  1554     {
  1544     if (aShow > 0)
  1555     if (aShow > 0)
  1545         {
  1556         {
  1546         iVkbCtrl->ShowBubble(ETrue);    
  1557         iVkbCtrl->ShowBubble(ETrue);