equal
deleted
inserted
replaced
138 { |
138 { |
139 downbtn->Hide(ETrue); |
139 downbtn->Hide(ETrue); |
140 } |
140 } |
141 // |
141 // |
142 |
142 |
|
143 if ( iOwner->DataMgr()->IsChineseSpellMode()) |
|
144 { |
|
145 CAknFepCtrlRawKeyButton* leftbtn = |
|
146 static_cast<CAknFepCtrlRawKeyButton *>( iOwner->LayoutContext()->Control( ECtrlIdArrowLeft )); |
|
147 if( leftbtn ) |
|
148 { |
|
149 leftbtn->Hide( ETrue ); |
|
150 } |
|
151 |
|
152 CAknFepCtrlRawKeyButton* rightbtn = |
|
153 static_cast<CAknFepCtrlRawKeyButton *>( iOwner->LayoutContext()->Control( ECtrlIdArrowRight )); |
|
154 if( rightbtn ) |
|
155 { |
|
156 rightbtn->Hide( ETrue ); |
|
157 } |
|
158 } |
143 |
159 |
144 TAknTextLineLayout btntextformat = TItutDataConverter::AnyToTextLine( |
160 TAknTextLineLayout btntextformat = TItutDataConverter::AnyToTextLine( |
145 iOwner->DataMgr()->RequestData(EBtnTextLine)); |
161 iOwner->DataMgr()->RequestData(EBtnTextLine)); |
146 TAknTextLineLayout btntextCancel = TItutDataConverter::AnyToTextLine( |
162 TAknTextLineLayout btntextCancel = TItutDataConverter::AnyToTextLine( |
147 iOwner->DataMgr()->RequestData(ESpellTextCancle)); |
163 iOwner->DataMgr()->RequestData(ESpellTextCancle)); |
162 // Show ICF, Backspace after position changed to avoid flicker |
178 // Show ICF, Backspace after position changed to avoid flicker |
163 iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide( EFalse ); |
179 iOwner->LayoutContext()->Control(ECtrlIdBackspace)->Hide( EFalse ); |
164 iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( EFalse ); |
180 iOwner->LayoutContext()->Control(ECtrlIdICF)->Hide( EFalse ); |
165 CAknFepCtrlLabel* indilabel = static_cast<CAknFepCtrlLabel*> |
181 CAknFepCtrlLabel* indilabel = static_cast<CAknFepCtrlLabel*> |
166 (iOwner->LayoutContext()->Control(ECtrlIdSpellIndicator)); |
182 (iOwner->LayoutContext()->Control(ECtrlIdSpellIndicator)); |
167 // Modify begin |
|
168 if ( indilabel && iOwner->DataMgr()->IsChineseSpellMode()) |
183 if ( indilabel && iOwner->DataMgr()->IsChineseSpellMode()) |
169 // Modify end |
|
170 { |
184 { |
171 indilabel->Hide( EFalse ); |
185 indilabel->Hide( EFalse ); |
172 } |
186 } |
173 iOwner->DataMgr()->SetUpdate(ETrue); |
187 iOwner->DataMgr()->SetUpdate(ETrue); |
174 } |
188 } |