textinput/peninputgenericitut/src/peninputitutwesternuistatematchselection.cpp
branchRCL_3
changeset 10 6defe5d1bd39
parent 0 eb1f2e154e89
child 12 4eb1ae11334f
equal deleted inserted replaced
8:6ceef9a83b1a 10:6defe5d1bd39
    83     // update resource id of keypad, candidate drop list
    83     // update resource id of keypad, candidate drop list
    84     iOwner->DataMgr()->NotifyChangeControlLayout(
    84     iOwner->DataMgr()->NotifyChangeControlLayout(
    85         MItutPropertySubscriber::EItutPropertyKeypadResourceId, 
    85         MItutPropertySubscriber::EItutPropertyKeypadResourceId, 
    86         keypadResId);
    86         keypadResId);
    87 
    87 
       
    88     // Show ICF, Backspace after position changed to avoid flick
       
    89     iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( EFalse );
       
    90     iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide( EFalse );
    88     if (iOwner->DataMgr()->IsChinese())
    91     if (iOwner->DataMgr()->IsChinese())
    89         {
    92         {
    90         iOwner->LayoutContext()->ShowArrowBtn(EBtnArrowLeft | EBtnArrowRight
    93         iOwner->LayoutContext()->ShowArrowBtn(EBtnArrowLeft | EBtnArrowRight
    91                  | EBtnArrowUp| EBtnArrowDown);   
    94                  | EBtnArrowUp| EBtnArrowDown);   
    92         }
    95         }
    96         }
    99         }
    97    }
   100    }
    98 
   101 
    99 void CWesternItutUiStateMatchSelection::OnExit()
   102 void CWesternItutUiStateMatchSelection::OnExit()
   100     {
   103     {
       
   104     // Hide ICF, Backspace, Arrow contrls when exit to avoid flick
   101     iOwner->LayoutContext()->ShowArrowBtn(0);
   105     iOwner->LayoutContext()->ShowArrowBtn(0);
       
   106     iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( ETrue );
       
   107     iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide( ETrue );
   102     iSelList->CloseWindow();
   108     iSelList->CloseWindow();
   103     iIcf->SetOverLapState(EFalse);
   109     iIcf->SetOverLapState(EFalse);
   104     }
   110     }
   105 
   111 
   106 CGenericItutUiMgrBase::TUiState CWesternItutUiStateMatchSelection::StateType()
   112 CGenericItutUiMgrBase::TUiState CWesternItutUiStateMatchSelection::StateType()