textinput/peninputsplititut/src/peninputsplititutwindow.cpp
branchRCL_3
changeset 12 4eb1ae11334f
parent 8 6ceef9a83b1a
child 19 5e18d8c489d6
equal deleted inserted replaced
10:6defe5d1bd39 12:4eb1ae11334f
   184     
   184     
   185     // read key shift icon res
   185     // read key shift icon res
   186     CPenInputColorIcon* shiftIcon = CPenInputColorIcon::NewL( R_ITUT_KEYPAD_SHIFT_ICON );
   186     CPenInputColorIcon* shiftIcon = CPenInputColorIcon::NewL( R_ITUT_KEYPAD_SHIFT_ICON );
   187     shiftIcon->ResizeL( iDataMgr->iShiftIconRect.Size() );
   187     shiftIcon->ResizeL( iDataMgr->iShiftIconRect.Size() );
   188     iStandardItutKp->SetShiftIcon( shiftIcon );
   188     iStandardItutKp->SetShiftIcon( shiftIcon );
       
   189     
       
   190     // read key star icon res
       
   191     CPenInputColorIcon* starIcon = CPenInputColorIcon::NewL( R_ITUT_KEYPAD_STAR_ICON );
       
   192     starIcon->ResizeL( iDataMgr->iStarIconRect.Size() );
       
   193     iStandardItutKp->SetStarIcon( starIcon );    
   189     
   194     
   190     //set key to be 9 piece graphics
   195     //set key to be 9 piece graphics
   191     iStandardItutKp->SetKeySkinId( EKeyBmpNormal, KAknsIIDQsnFrKeypadButtonFrNormal );
   196     iStandardItutKp->SetKeySkinId( EKeyBmpNormal, KAknsIIDQsnFrKeypadButtonFrNormal );
   192     iStandardItutKp->SetKeySkinId( EKeyBmpHighlight, KAknsIIDQsnFrKeypadButtonFrPressed );
   197     iStandardItutKp->SetKeySkinId( EKeyBmpHighlight, KAknsIIDQsnFrKeypadButtonFrPressed );
   193     iStandardItutKp->SetKeySkinId( EKeyBmpDim, KAknsIIDQsnFrKeypadButtonFrInactive );
   198     iStandardItutKp->SetKeySkinId( EKeyBmpDim, KAknsIIDQsnFrKeypadButtonFrInactive );
  1153     TRAP_IGNORE(ConstructKeyImageFromResourceL( R_ITUT_KEYPAD_BITMAP ));    
  1158     TRAP_IGNORE(ConstructKeyImageFromResourceL( R_ITUT_KEYPAD_BITMAP ));    
  1154     
  1159     
  1155     // reconstruct shift icon when skin changed
  1160     // reconstruct shift icon when skin changed
  1156     TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ReConstructL());
  1161     TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ReConstructL());
  1157     TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ResizeL(iDataMgr->iShiftIconRect.Size()));
  1162     TRAP_IGNORE(iStandardItutKp->ShiftIcon()->ResizeL(iDataMgr->iShiftIconRect.Size()));
       
  1163     
       
  1164     // reconstruct star icon when skin changed
       
  1165     TRAP_IGNORE(iStandardItutKp->StarIcon()->ReConstructL());
       
  1166     TRAP_IGNORE(iStandardItutKp->StarIcon()->ResizeL(iDataMgr->iStarIconRect.Size()));
  1158     
  1167     
  1159     //Skin change will case the reconstuction of the button graphic.
  1168     //Skin change will case the reconstuction of the button graphic.
  1160     //When language is RToL, it should be mirrored again.
  1169     //When language is RToL, it should be mirrored again.
  1161     if( iDataMgr->IsRtoLLanguage() )
  1170     if( iDataMgr->IsRtoLLanguage() )
  1162     	{
  1171     	{