--- 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;