--- a/textinput/peninputfingerhwr/src/peninputfingerhwrwnd.cpp Wed Apr 14 16:18:34 2010 +0300
+++ b/textinput/peninputfingerhwr/src/peninputfingerhwrwnd.cpp Tue Apr 27 16:59:43 2010 +0300
@@ -1504,7 +1504,7 @@
if ( bmpMskId != KInvalidImg )
{
- AknsUtils::CreateIconL( AknsUtils::SkinInstance(),
+ AknsUtils::CreateIconL( UiLayout()->SkinInstance(),
id, bmp, maskbmp, bmpFileName, bmpId, bmpMskId );
// set maskbmp and size
@@ -1514,7 +1514,7 @@
}
else
{
- AknsUtils::CreateIconL( AknsUtils::SkinInstance(), id,
+ AknsUtils::CreateIconL( UiLayout()->SkinInstance(), id,
bmp, bmpFileName, bmpId );
}
// set bmp and size
@@ -2091,7 +2091,7 @@
TAknsItemID id;
TInt skinitemid;
- MAknsSkinInstance* skininstance = AknsUtils::SkinInstance();
+ MAknsSkinInstance* skininstance = UiLayout()->SkinInstance();
for ( TInt i = 0; i < KShadowBmpBr + 1; i++ )
{
@@ -2163,7 +2163,7 @@
TAknsItemID id;
TInt skinitemid;
- MAknsSkinInstance* skininstance = AknsUtils::SkinInstance();
+ MAknsSkinInstance* skininstance = UiLayout()->SkinInstance();
const TInt16 bmpId = resReader.ReadInt16();
const TInt16 bmpMskId = resReader.ReadInt16();
skinitemid = resReader.ReadInt16();
@@ -2212,7 +2212,7 @@
colorid.Set( TInt( colorMajorSkinId ), skinitemid );
TRgb icftextcolor;
- MAknsSkinInstance* skininstance = AknsUtils::SkinInstance();
+ MAknsSkinInstance* skininstance = UiLayout()->SkinInstance();
TInt error = AknsUtils::GetCachedColor( skininstance, icftextcolor,
colorid, coloridx );
@@ -2276,7 +2276,7 @@
colorid.Set( TInt( colorMajorSkinId ), skinitemid );
TRgb boxcolor;
- MAknsSkinInstance* skininstance = AknsUtils::SkinInstance();
+ MAknsSkinInstance* skininstance = UiLayout()->SkinInstance();
TInt error = AknsUtils::GetCachedColor( skininstance,
boxcolor,
colorid,
@@ -2387,7 +2387,7 @@
CFbsBitmap* bmpImage = NULL;
CFbsBitmap* bmpMask = NULL;
- //AknsUtils::CreateIconL(AknsUtils::SkinInstance(), id, bmpImage, bmpMask, bmpFileName, imageid,maskid);
+ //AknsUtils::CreateIconL(UiLayout()->SkinInstance(), id, bmpImage, bmpMask, bmpFileName, imageid,maskid);
TRgb colorBkgnd = iWritingBoxBkColor;
TRgb colorGuideLine = AKN_LAF_COLOR( 0 );
@@ -2409,7 +2409,7 @@
colorGuideLine = TRgb(r,g,b);
}
- AknsUtils::CreateColorIconL( AknsUtils::SkinInstance(),
+ AknsUtils::CreateColorIconL( UiLayout()->SkinInstance(),
id, KAknsIIDQsnIconColors, -1,
bmpImage, bmpMask, fileName, imageid, maskid,
colorGuideLine );