textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutvkbkeyctrl.cpp
branchRCL_3
changeset 8 4eb1ae11334f
parent 0 eb1f2e154e89
child 9 e6a39382bb9c
--- a/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutvkbkeyctrl.cpp	Wed Mar 31 22:08:20 2010 +0300
+++ b/textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutvkbkeyctrl.cpp	Wed Apr 14 16:18:34 2010 +0300
@@ -29,6 +29,7 @@
 #include "peninputpluginutils.h"
 
 _LIT( KKeyShiftCharacter, "\x2191");
+_LIT( KKeyStarCharacter, "\x002a");
 
 const TInt KDefaultKeyMargin = 10;
 
@@ -143,6 +144,14 @@
 														 *gc,
 														 textLayout.TextRect() );	
 					}
+				else if(iKeyboard->StarIcon() &&
+						iKeyInfo->KeyUnicodes(TVirtualKeyTextPos(i)) == KKeyStarCharacter )
+					{
+					CFbsBitGc* gc = static_cast<CFbsBitGc*>(BitGc());
+					AknPenInputDrawUtils::DrawColorIcon( iKeyboard->StarIcon(),
+														 *gc,
+														 textLayout.TextRect() );		
+					}
 				else				    
 				    {
 				    textLayout.DrawText(*BitGc(), iKeyInfo->KeyUnicodes(TVirtualKeyTextPos(i)),