168 iLayoutOwner->SignalOwner(ESignalEnterSpellMode); |
168 iLayoutOwner->SignalOwner(ESignalEnterSpellMode); |
169 } |
169 } |
170 break; |
170 break; |
171 case EEventButtonUp: |
171 case EEventButtonUp: |
172 { |
172 { |
173 //from pen input switch button |
173 if ( iAllowHandleRawKeyEvent ) |
174 if (aCtrl->ControlId() == ECtrlIdSwitch) |
174 { |
175 { |
175 //from pen input switch button |
176 TRAP_IGNORE( iWindow->Icf()->UpdateSecretTextL() ); |
176 if (aCtrl->ControlId() == ECtrlIdSwitch) |
177 ShowInputModeSwitchL(); |
177 { |
178 } |
178 TRAP_IGNORE( iWindow->Icf()->UpdateSecretTextL() ); |
179 else if (aCtrl->ControlId() == ECtrlIdArrowUp) |
179 ShowInputModeSwitchL(); |
180 { |
180 } |
181 TRAP_IGNORE(iWindow->Icf()->HandleArrowBtnEventL( |
181 else if (aCtrl->ControlId() == ECtrlIdArrowUp) |
182 CFepLayoutMultiLineIcf::EArrowUp)); |
182 { |
183 } |
183 TRAP_IGNORE(iWindow->Icf()->HandleArrowBtnEventL( |
184 else if (aCtrl->ControlId() == ECtrlIdArrowDown) |
184 CFepLayoutMultiLineIcf::EArrowUp)); |
185 { |
185 } |
186 TRAP_IGNORE(iWindow->Icf()->HandleArrowBtnEventL( |
186 else if (aCtrl->ControlId() == ECtrlIdArrowDown) |
187 CFepLayoutMultiLineIcf::EArrowDown)); |
187 { |
188 } |
188 TRAP_IGNORE(iWindow->Icf()->HandleArrowBtnEventL( |
189 else if (aCtrl->ControlId() == ECtrlIdClose) |
189 CFepLayoutMultiLineIcf::EArrowDown)); |
190 { |
190 } |
191 iLayoutOwner->SignalOwner(ESignalLayoutClosed); |
191 else if (aCtrl->ControlId() == ECtrlIdClose) |
192 } |
192 { |
193 else if (aCtrl->ControlId() == ECtrlIdOptions) |
193 iLayoutOwner->SignalOwner(ESignalLayoutClosed); |
194 { |
194 } |
195 iLayoutOwner->SignalOwner(ESignalLaunchOptionsMenu); |
195 else if (aCtrl->ControlId() == ECtrlIdOptions) |
196 // static_cast<CAknFepCtrlCommonButton*>(aCtrl)->SetDimmed(ETrue); |
196 { |
197 } |
197 iLayoutOwner->SignalOwner(ESignalLaunchOptionsMenu); |
198 else if (aCtrl->ControlId() == ECtrlIdIndicator) |
198 // static_cast<CAknFepCtrlCommonButton*>(aCtrl)->SetDimmed(ETrue); |
199 { |
199 } |
200 iLayoutOwner->SignalOwner(ESignalGetEditMenuData); |
200 else if (aCtrl->ControlId() == ECtrlIdIndicator) |
201 } |
201 { |
|
202 iLayoutOwner->SignalOwner(ESignalGetEditMenuData); |
|
203 } |
|
204 } |
202 } |
205 } |
203 break; |
206 break; |
204 case EItutCmdArrowUp: |
207 case EItutCmdArrowUp: |
205 { |
208 { |
206 if (aCtrl->ControlId() == ECtrlIdArrowUp) |
209 if (aCtrl->ControlId() == ECtrlIdArrowUp) |