textinput/peninputvkbkr/src/PeninputVkbKrWindow.cpp
branchRCL_3
changeset 19 ac7e4d1d9209
parent 12 5e18d8c489d6
--- a/textinput/peninputvkbkr/src/PeninputVkbKrWindow.cpp	Thu Jul 15 19:01:13 2010 +0300
+++ b/textinput/peninputvkbkr/src/PeninputVkbKrWindow.cpp	Thu Aug 19 10:15:25 2010 +0300
@@ -490,6 +490,13 @@
     else
         {
         iVkbCtrl->SetIrregularKeyBoard(EFalse);
+
+
+        //Add Skin id to Vkb Control for 9 piece picture.
+        iVkbCtrl->SetKeySkinId( EKeyBmpNormal, KAknsIIDQsnFrKeypadButtonFrNormal );
+        iVkbCtrl->SetKeySkinId( EKeyBmpHighlight, KAknsIIDQsnFrKeypadButtonFrPressed );
+        iVkbCtrl->SetKeySkinId( EKeyBmpDim, KAknsIIDQsnFrKeypadButtonFrInactive );
+
         iVkbLayout->SetNonIrregularResourceId(R_AKN_FEP_VKB_NONIRREGULAR_BITMAP);
         iVkbLayout->ConstructFromNonIrregularResourceL();        
         }
@@ -621,8 +628,7 @@
         x = 0;
         y = 0;
         }
-        
-        
+
     for ( TInt i = 0; i < count; i++ )
         {
         controlID = controlList[i]->ControlID();
@@ -687,7 +693,9 @@
                 TRAP_IGNORE(SetRangeBarSizeL(x, y));
                 }
             }
-        }    
+        }
+    
+    RootControl()->Draw(); 
     }
 
 void CPeninputVkbKrWindow::DoCaseChange( TInt aNewCase )
@@ -1195,7 +1203,6 @@
         {
         iTableUpButton->Hide(EFalse);
         iTableUpButton->SizeChanged( exRect, inRect, ETrue );
-        iTableUpButton->Draw();        
         }
 
     iLafMgr->GetButtonRect(
@@ -1258,7 +1265,6 @@
         {
         iTablePageLabel->Hide(EFalse);
         iTablePageLabel->SizeChanged( exRect, inRect, ETrue );
-        iTablePageLabel->Draw();
         }
 
     iLafMgr->GetButtonRect(
@@ -1275,7 +1281,6 @@
         {
         iTableDownButton->Hide(EFalse);
         iTableDownButton->SizeChanged( exRect, inRect, ETrue );
-        iTableDownButton->Draw();
         }
     
     TRect updateArea;
@@ -1471,7 +1476,7 @@
         buf.Format(_L("%d/%d"),SymbolTableUtil::FindIndex(vkbLayoutToUpdate)+1,KMaxSymbolTable);
         //iTablePageLabel->SetCaptionL(buf);
         iTablePageLabel->SetTextL(buf);
-        iTablePageLabel->Draw();
+        RootControl()->Draw();
         }
     }