uifw/EikStd/srvuisrc/EIKSRVUI.CPP
branchRCL_3
changeset 4 8ca85d2f0db7
parent 0 2f259fa3e83a
child 25 941195f2d488
equal deleted inserted replaced
0:2f259fa3e83a 4:8ca85d2f0db7
  1161     }
  1161     }
  1162 
  1162 
  1163 void CEikServAppUi::HandleResourceChangeL(TInt aType)
  1163 void CEikServAppUi::HandleResourceChangeL(TInt aType)
  1164     {
  1164     {
  1165     CEikServAppUiBase::HandleResourceChangeL(aType);
  1165     CEikServAppUiBase::HandleResourceChangeL(aType);
  1166     if ( aType == KEikDynamicLayoutVariantSwitch )
  1166     if ( aType == KEikDynamicLayoutVariantSwitch || aType == KAknsMessageSkinChange )
  1167         {
  1167         {
  1168         UpdateCursorsL();
  1168         UpdateCursorsL();
  1169         }
  1169         }
  1170     }
  1170     }
  1171 
  1171 
  1431             }
  1431             }
  1432         else
  1432         else
  1433             {
  1433             {
  1434             spriteMember.iBitmap = AknIconUtils::CreateIconL( *bmpFile, bmpId );
  1434             spriteMember.iBitmap = AknIconUtils::CreateIconL( *bmpFile, bmpId );
  1435             CleanupStack::PushL( spriteMember.iBitmap );
  1435             CleanupStack::PushL( spriteMember.iBitmap );
       
  1436             
       
  1437             // set color for the cursor
       
  1438             MAknsSkinInstance* skin = AknsUtils::SkinInstance();
       
  1439             if ( skin )
       
  1440                 {
       
  1441                 TRgb color = KRgbBlack;
       
  1442                 AknsUtils::GetCachedColor( skin, color, KAknsIIDQsnIconColors, EAknsCIQsnIconColorsCG10 );
       
  1443                 AknIconUtils::SetIconColor( spriteMember.iBitmap, color );
       
  1444                 }
       
  1445 
  1436             }
  1446             }
  1437          
  1447          
  1438         TAknWindowLineLayout l;
  1448         TAknWindowLineLayout l;
  1439 
  1449 
  1440         switch( id )
  1450         switch( id )