emailuis/emailui/src/FreestyleEmailUiSettingsList.cpp
branchRCL_3
changeset 20 efd4f1afd43e
parent 17 67369d1b217f
child 23 dcf0eedfc1a3
equal deleted inserted replaced
18:6b8f3b30d0ec 20:efd4f1afd43e
   517 // ---------------------------------------------------------------------------
   517 // ---------------------------------------------------------------------------
   518 //
   518 //
   519 void CFsEmailSettingsList::HandleUserSelectionsL()
   519 void CFsEmailSettingsList::HandleUserSelectionsL()
   520     {
   520     {
   521     FUNC_LOG;
   521     FUNC_LOG;
       
   522     
       
   523     iView.HideStylusPopUpMenu();
   522 
   524 
   523     TInt index = iListBox->CurrentItemIndex();
   525     TInt index = iListBox->CurrentItemIndex();
   524     TInt count = Count();
   526     TInt count = Count();
   525 
   527 
   526     // If we are at the main level
   528     // If we are at the main level
  1802 // CFsEmailSettingsList::ClearFocus()
  1804 // CFsEmailSettingsList::ClearFocus()
  1803 // Removes the focus.
  1805 // Removes the focus.
  1804 // ---------------------------------------------------------------------------
  1806 // ---------------------------------------------------------------------------
  1805 //
  1807 //
  1806 void CFsEmailSettingsList::ClearFocus()
  1808 void CFsEmailSettingsList::ClearFocus()
  1807 	{
  1809     {
  1808 	iListBox->ItemDrawer()->SetFlags( CListItemDrawer::EDisableHighlight );
  1810     FUNC_LOG;
  1809 	iListBox->ClearSelection();
  1811     iListBox->ItemDrawer()->ClearFlags( CListItemDrawer::EPressedDownState );
  1810 	iListBox->DrawNow();
  1812     iListBox->ItemDrawer()->SetFlags( CListItemDrawer::ESingleClickDisabledHighlight
  1811 	iListBox->ItemDrawer()->ClearFlags( CListItemDrawer::EDisableHighlight );
  1813                                     | CListItemDrawer::ESingleClickEnabled ); 
  1812 	}
  1814     TInt ci( iListBox->CurrentItemIndex() );
       
  1815     if ( KErrNotFound != ci )
       
  1816         {
       
  1817         iListBox->DrawItem( ci );
       
  1818         }
       
  1819     }
  1813 
  1820 
  1814 
  1821 
  1815 // End of file. 
  1822 // End of file.