uifw/EikStd/srvuisrc/EIKSRVUI.CPP
branchRCL_3
changeset 4 8ca85d2f0db7
parent 0 2f259fa3e83a
child 25 941195f2d488
--- a/uifw/EikStd/srvuisrc/EIKSRVUI.CPP	Tue Feb 02 01:00:49 2010 +0200
+++ b/uifw/EikStd/srvuisrc/EIKSRVUI.CPP	Fri Feb 19 23:04:46 2010 +0200
@@ -1163,7 +1163,7 @@
 void CEikServAppUi::HandleResourceChangeL(TInt aType)
     {
     CEikServAppUiBase::HandleResourceChangeL(aType);
-    if ( aType == KEikDynamicLayoutVariantSwitch )
+    if ( aType == KEikDynamicLayoutVariantSwitch || aType == KAknsMessageSkinChange )
         {
         UpdateCursorsL();
         }
@@ -1433,6 +1433,16 @@
             {
             spriteMember.iBitmap = AknIconUtils::CreateIconL( *bmpFile, bmpId );
             CleanupStack::PushL( spriteMember.iBitmap );
+            
+            // set color for the cursor
+            MAknsSkinInstance* skin = AknsUtils::SkinInstance();
+            if ( skin )
+                {
+                TRgb color = KRgbBlack;
+                AknsUtils::GetCachedColor( skin, color, KAknsIIDQsnIconColors, EAknsCIQsnIconColorsCG10 );
+                AknIconUtils::SetIconColor( spriteMember.iBitmap, color );
+                }
+
             }
          
         TAknWindowLineLayout l;