--- a/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutvkbkeyctrl.cpp Wed Apr 14 16:18:34 2010 +0300
+++ b/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutvkbkeyctrl.cpp Tue Apr 27 16:59:43 2010 +0300
@@ -129,7 +129,7 @@
TRgb color( KRgbBlack ); // sane default for nonskinned case
if ( AknsUtils::AvkonSkinEnabled() )
{
- AknsUtils::GetCachedColor( AknsUtils::SkinInstance(),
+ AknsUtils::GetCachedColor( UiLayout()->SkinInstance(),
color,
KAknsIIDQsnTextColors,
iKeyboard->KeyTextColorGroup() );
@@ -178,7 +178,7 @@
if ( AknsUtils::AvkonSkinEnabled() ||
iKeyboard->KeyTextColorGroup() != INVALID_COLOR_GROUP )
{
- AknsUtils::GetCachedColor( AknsUtils::SkinInstance(),
+ AknsUtils::GetCachedColor( UiLayout()->SkinInstance(),
color,
KAknsIIDQsnTextColors,
iKeyboard->KeyTextColorGroup() );
@@ -228,7 +228,7 @@
TRect innerRect = Rect();
innerRect.Shrink( 4, 0 );
- AknPenInputDrawUtils::Draw3PiecesFrame(AknsUtils::SkinInstance(),
+ AknPenInputDrawUtils::Draw3PiecesFrame(UiLayout()->SkinInstance(),
*gc,
Rect(),
innerRect,
@@ -245,7 +245,7 @@
TRect innerrect = rect;
innerrect.Shrink( KDefaultKeyMargin, KDefaultKeyMargin );
- AknsDrawUtils::DrawFrame(AknsUtils::SkinInstance(),
+ AknsDrawUtils::DrawFrame(UiLayout()->SkinInstance(),
*gc,
rect,
innerrect,
@@ -337,7 +337,7 @@
TRect innerRect = Rect();
innerRect.Shrink( 4, 0 );
- AknPenInputDrawUtils::Draw3PiecesFrame(AknsUtils::SkinInstance(),
+ AknPenInputDrawUtils::Draw3PiecesFrame(UiLayout()->SkinInstance(),
*gc,
Rect(),
innerRect,
@@ -354,7 +354,7 @@
TRect innerrect = rect;
innerrect.Shrink( KDefaultKeyMargin, KDefaultKeyMargin );
- AknsDrawUtils::DrawFrame(AknsUtils::SkinInstance(),
+ AknsDrawUtils::DrawFrame(UiLayout()->SkinInstance(),
*gc,
rect,
innerrect,
@@ -419,7 +419,7 @@
TRect innerRect = Rect();
innerRect.Shrink( 4, 0 );
- AknPenInputDrawUtils::Draw3PiecesFrame(AknsUtils::SkinInstance(),
+ AknPenInputDrawUtils::Draw3PiecesFrame(UiLayout()->SkinInstance(),
*gc,
Rect(),
innerRect,
@@ -439,7 +439,7 @@
TRect innerrect = rect;
innerrect.Shrink( KDefaultKeyMargin, KDefaultKeyMargin );
- AknsDrawUtils::DrawFrame(AknsUtils::SkinInstance(),
+ AknsDrawUtils::DrawFrame(UiLayout()->SkinInstance(),
*gc,
rect,
innerrect,