textinput/peninputarc/src/peninputlayoutcontrol/peninputlayoutchoicelist.cpp
branchRCL_3
changeset 3 f5a1e66df979
parent 0 eb1f2e154e89
child 9 e6a39382bb9c
equal deleted inserted replaced
0:eb1f2e154e89 3:f5a1e66df979
   305             {
   305             {
   306             //TInt prev = iCurFocusItem;
   306             //TInt prev = iCurFocusItem;
   307             iCurFocusItem = index;
   307             iCurFocusItem = index;
   308        		Draw();
   308        		Draw();
   309             UpdateArea(Rect(),EFalse);
   309             UpdateArea(Rect(),EFalse);
   310 			#ifdef RD_TACTILE_FEEDBACK
       
   311             if (UiLayout()->SupportTactileFeedback())
       
   312             	{
       
   313             	UiLayout()->DoTactileFeedback(ETouchFeedbackSensitiveInput);
       
   314             	}
       
   315 			#endif //RD_TACTILE_FEEDBACK
       
   316             }
   310             }
   317         }
   311         }
   318     return this;
   312     return this;
   319     }
   313     }
   320 
   314 
   583 // (other items were commented in a header).
   577 // (other items were commented in a header).
   584 // ---------------------------------------------------------------------------
   578 // ---------------------------------------------------------------------------
   585 //
   579 //
   586 EXPORT_C void CFepLayoutChoiceList::OnDisplay()
   580 EXPORT_C void CFepLayoutChoiceList::OnDisplay()
   587     {
   581     {
       
   582     iCurFocusItem = -1; 
   588     ReCalcLayout();
   583     ReCalcLayout();
   589     }
   584     }
   590 
   585 
   591 // CFepLayoutChoiceList::ReCalcLayout
   586 // CFepLayoutChoiceList::ReCalcLayout
   592 // Calculates the displaying rect.
   587 // Calculates the displaying rect.