wgui_categories_inputs.c
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:1705k
源码类别:
MTK
开发平台:
C/C++
- /*****************************************************************************
- * FUNCTION
- * wgui_setup_singleline_inputbox
- * DESCRIPTION
- * create single line input box
- * PARAMETERS
- * x [IN] Start x of single line input box
- * y [IN] Stsrt y of single line input box
- * width [IN] Width of single line input box
- * height [IN] Height of single line input box
- * buffer [IN] Buffer of single line input box
- * buffer_size [IN] Size of buffer
- * category_screen_ID [IN] Id ofcategory screen
- * RSK_label [IN] String of RSK
- * RSK_icon [IN] Icon of RSK
- * input_type [IN]
- * history_buffer [IN] History buffer
- * information_bar_flag [IN]
- * input(?) [IN] Type
- * Change(?) [IN] The parameter for setup function - Gurinder - 23/4/2004
- * RETURNS
- * void
- *****************************************************************************/
- /* Change the parameter for setup function - Gurinder - 23/4/2004 */
- void wgui_setup_singleline_inputbox(
- S32 x,
- S32 y,
- S32 width,
- S32 height,
- U8 *buffer,
- S32 buffer_size,
- U16 category_screen_ID,
- UI_string_type RSK_label,
- PU8 RSK_icon,
- U16 input_type,
- U8 *history_buffer,
- U8 information_bar_flag)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S32 l;
- S16 input_type_flags = input_type & (~INPUT_TYPE_MASK);
- U8 saved_MMI_current_input_mode;
- U32 saved_inputbox_flags;
- U8 override_history_input_type = 0;
- S16 saved_input_type = input_type;
- U8 plus_character_handling = 0;
- #if defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__)
- mmi_pen_handwriting_area_struct stroke_area;
- mmi_pen_handwriting_area_struct ext_stroke;
- #endif /* defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__) */
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- /* UI_UNUSED_PARAMETER(flags); */
- wgui_singleline_inputbox_buffer_size = buffer_size;
- if (input_type & INPUT_TYPE_PLUS_CHARACTER_HANDLING)
- {
- plus_character_handling = 1;
- }
- wgui_set_default_input_type(&input_type);
- //MTK Elvis for PHB Quick Search
- //W05.36 Fix Vietnamese Tone Input Issue
- if (cat200_search_function)
- {
- wgui_set_qsearch_default_input_type(&input_type);
- set_current_input_box_type(EDITOR_SINGLE_LINE_INPU_BOX);
- }
- else
- {
- set_current_input_box_type(EDITOR_SINGLE_LINE_INPU_BOX);
- }
- /* MTK end */
- l = gui_strlen((UI_string_type) buffer);
- create_singleline_inputbox_set_buffer((UI_string_type) buffer, buffer_size, l, l);
- register_singleline_inputbox_keys();
- /* Information Bar Setup For Single Line Box - Gurinder 23/4/2004 */
- if (information_bar_flag)
- {
- wgui_inputbox_information_flag = 1;
- wgui_inputbox_information_bar_height = INFORMATION_BAR_HEIGHT;
- wgui_setup_input_information(
- 0,
- (MMI_title_y + MMI_title_height),
- UI_device_width,
- wgui_inputbox_information_bar_height);
- }
- move_singleline_inputbox(x, y);
- resize_singleline_inputbox(width, height);
- switch (input_type & INPUT_TYPE_MASK)
- {
- case INPUT_TYPE_NUMERIC_PASSWORD:
- case INPUT_TYPE_SAT_NUMERIC_PASSWORD:
- override_history_input_type = 1;
- break;
- }
- set_singleline_inputbox_category_history(category_screen_ID, history_buffer, (S16*) & input_type);
- saved_MMI_current_input_mode = MMI_current_input_mode;
- saved_inputbox_flags = MMI_singleline_inputbox.flags;
- if (override_history_input_type)
- {
- input_type = saved_input_type;
- }
- /* Get input mode from "Input Methods" list selection */
- wgui_change_inputbox_mode_multitap_ABC = wgui_singleline_inputbox_change_input_mode_multitap_ABC;
- wgui_change_inputbox_mode_multitap_abc = wgui_singleline_inputbox_change_input_mode_multitap_abc;
- wgui_change_inputbox_mode_mode_numeric = wgui_singleline_inputbox_change_input_mode_multitap_numeric;
- wgui_inputbox_insert_symbol = wgui_singleline_inputbox_insert_symbol;
- #if defined(__MMI_MULTITAP_THAI__)
- wgui_change_inputbox_mode_multitap_thai = wgui_singleline_inputbox_change_input_mode_multitap_thai;
- #endif
- #if defined(__MMI_MULTITAP_SPANISH__)
- wgui_change_inputbox_mode_multitap_SPANISH = wgui_singleline_inputbox_change_input_mode_multitap_SPANISH;
- wgui_change_inputbox_mode_multitap_spanish = wgui_singleline_inputbox_change_input_mode_multitap_spanish;
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- #if defined(__MMI_MULTITAP_DANISH__)
- wgui_change_inputbox_mode_multitap_DANISH = wgui_singleline_inputbox_change_input_mode_multitap_DANISH;
- wgui_change_inputbox_mode_multitap_danish = wgui_singleline_inputbox_change_input_mode_multitap_danish;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- #if defined(__MMI_MULTITAP_POLISH__)
- wgui_change_inputbox_mode_multitap_POLISH = wgui_singleline_inputbox_change_input_mode_multitap_POLISH;
- wgui_change_inputbox_mode_multitap_polish = wgui_singleline_inputbox_change_input_mode_multitap_polish;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- #if defined(__MMI_MULTITAP_FRENCH__)
- wgui_change_inputbox_mode_multitap_FRENCH = wgui_singleline_inputbox_change_input_mode_multitap_FRENCH;
- wgui_change_inputbox_mode_multitap_french = wgui_singleline_inputbox_change_input_mode_multitap_french;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- wgui_change_inputbox_mode_multitap_GERMAN = wgui_singleline_inputbox_change_input_mode_multitap_GERMAN;
- wgui_change_inputbox_mode_multitap_german = wgui_singleline_inputbox_change_input_mode_multitap_german;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- wgui_change_inputbox_mode_multitap_ITALIAN = wgui_singleline_inputbox_change_input_mode_multitap_ITALIAN;
- wgui_change_inputbox_mode_multitap_italian = wgui_singleline_inputbox_change_input_mode_multitap_italian;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- wgui_change_inputbox_mode_multitap_RUSSIAN = wgui_singleline_inputbox_change_input_mode_multitap_RUSSIAN;
- wgui_change_inputbox_mode_multitap_russian = wgui_singleline_inputbox_change_input_mode_multitap_russian;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- wgui_change_inputbox_mode_multitap_BULGARIAN = wgui_singleline_inputbox_change_input_mode_multitap_BULGARIAN;
- wgui_change_inputbox_mode_multitap_bulgarian = wgui_singleline_inputbox_change_input_mode_multitap_bulgarian;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- wgui_change_inputbox_mode_multitap_TURKISH = wgui_singleline_inputbox_change_input_mode_multitap_TURKISH;
- wgui_change_inputbox_mode_multitap_turkish = wgui_singleline_inputbox_change_input_mode_multitap_turkish;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- wgui_change_inputbox_mode_multitap_PORTUGUESE = wgui_singleline_inputbox_change_input_mode_multitap_PORTUGUESE;
- wgui_change_inputbox_mode_multitap_portuguese = wgui_singleline_inputbox_change_input_mode_multitap_portuguese;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_HINDI__)
- wgui_change_inputbox_mode_multitap_HINDI = wgui_singleline_inputbox_change_input_mode_multitap_HINDI;
- #endif
- /* PMT RAKESH START 20061006 */
- #if defined(__MMI_MULTITAP_MARATHI__)
- wgui_change_inputbox_mode_multitap_MARATHI = wgui_singleline_inputbox_change_input_mode_multitap_MARATHI;
- #endif
- /* PMT RAKESH END 20061006 */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- wgui_change_inputbox_mode_multitap_INDONESIAN = wgui_singleline_inputbox_change_input_mode_multitap_INDONESIAN;
- wgui_change_inputbox_mode_multitap_indonesian = wgui_singleline_inputbox_change_input_mode_multitap_indonesian;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- #if defined(__MMI_MULTITAP_CZECH__)
- wgui_change_inputbox_mode_multitap_CZECH = wgui_singleline_inputbox_change_input_mode_multitap_CZECH;
- wgui_change_inputbox_mode_multitap_czech = wgui_singleline_inputbox_change_input_mode_multitap_czech;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- #if defined(__MMI_MULTITAP_MALAY__)
- wgui_change_inputbox_mode_multitap_MALAY = wgui_singleline_inputbox_change_input_mode_multitap_MALAY;
- wgui_change_inputbox_mode_multitap_malay = wgui_singleline_inputbox_change_input_mode_multitap_malay;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- wgui_change_inputbox_mode_multitap_VIETNAMESE = wgui_singleline_inputbox_change_input_mode_multitap_VIETNAMESE;
- wgui_change_inputbox_mode_multitap_vietnamese = wgui_singleline_inputbox_change_input_mode_multitap_vietnamese;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- #if defined(__MMI_MULTITAP_FINNISH__)
- wgui_change_inputbox_mode_multitap_FINNISH = wgui_singleline_inputbox_change_input_mode_multitap_FINNISH;
- wgui_change_inputbox_mode_multitap_finnish = wgui_singleline_inputbox_change_input_mode_multitap_finnish;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- wgui_change_inputbox_mode_multitap_HUNGARIAN = wgui_singleline_inputbox_change_input_mode_multitap_HUNGARIAN;
- wgui_change_inputbox_mode_multitap_hungarian = wgui_singleline_inputbox_change_input_mode_multitap_hungarian;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- #if defined(__MMI_MULTITAP_SWEDISH__)
- wgui_change_inputbox_mode_multitap_SWEDISH = wgui_singleline_inputbox_change_input_mode_multitap_SWEDISH;
- wgui_change_inputbox_mode_multitap_swedish = wgui_singleline_inputbox_change_input_mode_multitap_swedish;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- #if defined(__MMI_MULTITAP_HEBREW__)
- wgui_change_inputbox_mode_multitap_hebrew = wgui_singleline_inputbox_change_input_mode_multitap_hebrew;
- #endif
- #if defined(__MMI_MULTITAP_SLOVAK__)
- wgui_change_inputbox_mode_multitap_SLOVAK = wgui_singleline_inputbox_change_input_mode_multitap_SLOVAK;
- wgui_change_inputbox_mode_multitap_slovak = wgui_singleline_inputbox_change_input_mode_multitap_slovak;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- wgui_change_inputbox_mode_multitap_DUTCH = wgui_singleline_inputbox_change_input_mode_multitap_DUTCH;
- wgui_change_inputbox_mode_multitap_dutch = wgui_singleline_inputbox_change_input_mode_multitap_dutch;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- wgui_change_inputbox_mode_multitap_NORWEGIAN = wgui_singleline_inputbox_change_input_mode_multitap_NORWEGIAN;
- wgui_change_inputbox_mode_multitap_norwegian = wgui_singleline_inputbox_change_input_mode_multitap_norwegian;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- wgui_change_inputbox_mode_multitap_arabic = wgui_singleline_inputbox_change_input_mode_multitap_arabic;
- #endif
- //PMT START PERSIAN
- #if defined(__MMI_MULTITAP_PERSIAN__)
- wgui_change_inputbox_mode_multitap_persian=wgui_singleline_inputbox_change_input_mode_multitap_persian;
- #endif
- //PMT END PERSIAN
- #if defined(__MMI_MULTITAP_CROATIAN__)
- wgui_change_inputbox_mode_multitap_CROATIAN = wgui_singleline_inputbox_change_input_mode_multitap_CROATIAN;
- wgui_change_inputbox_mode_multitap_croatian = wgui_singleline_inputbox_change_input_mode_multitap_croatian;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- wgui_change_inputbox_mode_multitap_ROMANIAN = wgui_singleline_inputbox_change_input_mode_multitap_ROMANIAN;
- wgui_change_inputbox_mode_multitap_romanian = wgui_singleline_inputbox_change_input_mode_multitap_romanian;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- wgui_change_inputbox_mode_multitap_SLOVENIAN = wgui_singleline_inputbox_change_input_mode_multitap_SLOVENIAN;
- wgui_change_inputbox_mode_multitap_slovenian = wgui_singleline_inputbox_change_input_mode_multitap_slovenian;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- wgui_change_inputbox_mode_multitap_GREEK = wgui_singleline_inputbox_change_input_mode_multitap_GREEK;
- wgui_change_inputbox_mode_multitap_greek = wgui_singleline_inputbox_change_input_mode_multitap_greek;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- #if defined(__MMI_T9__) || defined(__MMI_ZI__) || defined(__MMI_KA__)|| defined(__MMI_CSTAR__) //KP Jerry add "__MMI_CSTAR__" on 2007-3-8
- wgui_change_inputbox_mode_smart_ABC = wgui_singleline_inputbox_change_input_mode_smart_ABC;
- wgui_change_inputbox_mode_smart_abc = wgui_singleline_inputbox_change_input_mode_smart_abc;
- //KP Jerry modify on 2007-4-18 start
- #ifdef __MMI_LANG_TR_CHINESE__ //KP Jerry add on 2007-4-17
- wgui_change_inputbox_mode_tr_multitap_bpmf = wgui_singleline_inputbox_change_input_mode_tr_multitap_bpmf;
- wgui_change_inputbox_mode_tr_bpmf = wgui_singleline_inputbox_change_input_mode_tr_bpmf;
- wgui_change_inputbox_mode_tr_stroke = wgui_singleline_inputbox_change_input_mode_tr_stroke;
- #endif/*__MMI_LANG_TR_CHINESE__*/ //KP Jerry add on 2007-4-17
- #ifdef __MMI_LANG_SM_CHINESE__ //KP Jerry add on 2007-4-17
- wgui_change_inputbox_mode_sm_multitap_pinyin = wgui_singleline_inputbox_change_input_mode_sm_multitap_pinyin;
- wgui_change_inputbox_mode_sm_pinyin = wgui_singleline_inputbox_change_input_mode_sm_pinyin;
- wgui_change_inputbox_mode_sm_stroke = wgui_singleline_inputbox_change_input_mode_sm_stroke;
- #endif/*__MMI_LANG_SM_CHINESE__*/ //KP Jerry add on 2007-4-17
- #ifdef __MMI_LANG_THAI__ //KP Jerry add on 2007-4-17
- wgui_change_inputbox_mode_smart_thai = wgui_singleline_inputbox_change_input_mode_smart_thai;
- #endif/*__MMI_LANG_THAI__*/ //KP Jerry add on 2007-4-17
- #ifdef __MMI_LANG_ARABIC__ //KP Jerry add on 2007-4-17
- wgui_change_inputbox_mode_smart_arabic = wgui_singleline_inputbox_change_input_mode_smart_arabic;
- #endif/*__MMI_LANG_ARABIC__*/ //KP Jerry add on 2007-4-17
- //PMT START PERSIAN
- #ifdef __MMI_LANG_PERSIAN__ //KP Jerry add on 2007-4-17
- wgui_change_inputbox_mode_smart_persian=wgui_singleline_inputbox_change_input_mode_smart_persian;
- #endif/*__MMI_LANG_PERSIAN__*/ //KP Jerry add on 2007-4-17
- //PMT END PERSIAN
- #ifdef __MMI_LANG_HINDI__ //KP Jerry add on 2007-4-17
- wgui_change_inputbox_mode_smart_hindi = wgui_singleline_inputbox_change_input_mode_smart_hindi;
- #endif/*__MMI_LANG_HINDI__*/ //KP Jerry add on 2007-4-17
- #ifdef __MMI_LANG_HEBREW__ //KP Jerry add on 2007-4-17
- wgui_change_inputbox_mode_smart_hebrew = wgui_singleline_inputbox_change_input_mode_smart_hebrew;
- #endif/*__MMI_LANG_HEBREW__*/ //KP Jerry add on 2007-4-17
- //KP Jerry modify on 2007-4-18 end
- #if defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_SPANISH = wgui_singleline_inputbox_change_input_mode_smart_SPANISH;
- wgui_change_inputbox_mode_smart_spanish = wgui_singleline_inputbox_change_input_mode_smart_spanish;
- #endif /* defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) */ //KP Jerry add "__MMI_CSTAR_SPANISH__" on 2007-4-6
- #if defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__) //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_DANISH = wgui_singleline_inputbox_change_input_mode_smart_DANISH;
- wgui_change_inputbox_mode_smart_danish = wgui_singleline_inputbox_change_input_mode_smart_danish;
- #endif /* defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__) */ //KP Jerry add "__MMI_CSTAR_DANISH__" on 2007-4-6
- #if defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__) //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_POLISH = wgui_singleline_inputbox_change_input_mode_smart_POLISH;
- wgui_change_inputbox_mode_smart_polish = wgui_singleline_inputbox_change_input_mode_smart_polish;
- #endif /* defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__) */ //KP Jerry add "__MMI_CSTAR_POLISH__" on 2007-4-6
- #if defined(__MMI_T9_FRENCH__) || defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) || defined(__MMI_CSTAR_FRENCH__) //KP Jerry add "__MMI_CSTAR_FRENCH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_FRENCH = wgui_singleline_inputbox_change_input_mode_smart_FRENCH;
- wgui_change_inputbox_mode_smart_french = wgui_singleline_inputbox_change_input_mode_smart_french;
- #endif /* defined(__MMI_T9_FRENCH__) || defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) || defined(__MMI_CSTAR_FRENCH__) */ //KP Jerry add "__MMI_CSTAR_FRENCH__" on 2007-4-6
- #if defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_GERMAN = wgui_singleline_inputbox_change_input_mode_smart_GERMAN;
- wgui_change_inputbox_mode_smart_german = wgui_singleline_inputbox_change_input_mode_smart_german;
- #endif /* defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) */ //KP Jerry add "__MMI_CSTAR_GERMAN__" on 2007-4-6
- #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_ITALIAN = wgui_singleline_inputbox_change_input_mode_smart_ITALIAN;
- wgui_change_inputbox_mode_smart_italian = wgui_singleline_inputbox_change_input_mode_smart_italian;
- #endif /* defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) */ //KP Jerry add "__MMI_CSTAR_ITALIAN__" on 2007-4-6
- #if defined(__MMI_T9_RUSSIAN__) || defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__) //KP Jerry add "__MMI_CSTAR_RUSSIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_RUSSIAN = wgui_singleline_inputbox_change_input_mode_smart_RUSSIAN;
- wgui_change_inputbox_mode_smart_russian = wgui_singleline_inputbox_change_input_mode_smart_russian;
- #endif /* defined(__MMI_T9_RUSSIAN__) || defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__) */ //KP Jerry add "__MMI_CSTAR_RUSSIAN__" on 2007-4-6
- #if defined(__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_BULGARIAN = wgui_singleline_inputbox_change_input_mode_smart_BULGARIAN;
- wgui_change_inputbox_mode_smart_bulgarian = wgui_singleline_inputbox_change_input_mode_smart_bulgarian;
- #endif /* defined(__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) */ //KP Jerry add "__MMI_CSTAR_BULGARIAN__" on 2007-4-6
- #if defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_TURKISH = wgui_singleline_inputbox_change_input_mode_smart_TURKISH;
- wgui_change_inputbox_mode_smart_turkish = wgui_singleline_inputbox_change_input_mode_smart_turkish;
- #endif /* defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) */ //KP Jerry add "__MMI_CSTAR_TURKISH__" on 2007-4-6
- #if defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-6
- wgui_change_inputbox_mode_smart_PORTUGUESE = wgui_singleline_inputbox_change_input_mode_smart_PORTUGUESE;
- wgui_change_inputbox_mode_smart_portuguese = wgui_singleline_inputbox_change_input_mode_smart_portuguese;
- #endif /* defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) */ //KP Jerry add "__MMI_CSTAR_PORTUGUESE__" on 2007-4-6
- #if defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_INDONESIAN = wgui_singleline_inputbox_change_input_mode_smart_INDONESIAN;
- wgui_change_inputbox_mode_smart_indonesian = wgui_singleline_inputbox_change_input_mode_smart_indonesian;
- #endif /* defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) */ //KP Jerry add "__MMI_CSTAR_INDONESIAN__" on 2007-4-6
- #if defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_CZECH = wgui_singleline_inputbox_change_input_mode_smart_CZECH;
- wgui_change_inputbox_mode_smart_czech = wgui_singleline_inputbox_change_input_mode_smart_czech;
- #endif /* defined(__MMI_T9_CZECH__) || defined(__MMI_ZI_CZECH__) || defined(__MMI_CSTAR_CZECH__) */ //KP Jerry add "__MMI_CSTAR_CZECH__" on 2007-4-6
- #if defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-6
- wgui_change_inputbox_mode_smart_MALAY = wgui_singleline_inputbox_change_input_mode_smart_MALAY;
- wgui_change_inputbox_mode_smart_malay = wgui_singleline_inputbox_change_input_mode_smart_malay;
- #endif /* defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) */ //KP Jerry add "__MMI_CSTAR_MALAY__" on 2007-4-6
- #if defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-6
- wgui_change_inputbox_mode_smart_VIETNAMESE = wgui_singleline_inputbox_change_input_mode_smart_VIETNAMESE;
- wgui_change_inputbox_mode_smart_vietnamese = wgui_singleline_inputbox_change_input_mode_smart_vietnamese;
- #endif /* defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) */ //KP Jerry add "__MMI_CSTAR_VIETNAMESE__" on 2007-4-6
- #if defined(__MMI_T9_FINNISH__) || defined(__MMI_ZI_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_FINNISH = wgui_singleline_inputbox_change_input_mode_smart_FINNISH;
- wgui_change_inputbox_mode_smart_finnish = wgui_singleline_inputbox_change_input_mode_smart_finnish;
- #endif /* defined(__MMI_T9_FINNISH__) || defined(__MMI_ZI_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) */ //KP Jerry add "__MMI_CSTAR_FINNISH__" on 2007-4-6
- #if defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_ZI_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__) //KP Jerry add "__MMI_CSTAR_HUNGARIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_HUNGARIAN = wgui_singleline_inputbox_change_input_mode_smart_HUNGARIAN;
- wgui_change_inputbox_mode_smart_hungarian = wgui_singleline_inputbox_change_input_mode_smart_hungarian;
- #endif /* defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_ZI_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__) */ //KP Jerry add "__MMI_CSTAR_HUNGARIAN__" on 2007-4-6
- #if defined(__MMI_T9_SWEDISH__) || defined(__MMI_ZI_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) //KP Jerry add "__MMI_CSTAR_SWEDISH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_SWEDISH = wgui_singleline_inputbox_change_input_mode_smart_SWEDISH;
- wgui_change_inputbox_mode_smart_swedish = wgui_singleline_inputbox_change_input_mode_smart_swedish;
- #endif /* defined(__MMI_T9_SWEDISH__) || defined(__MMI_ZI_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) */ //KP Jerry add "__MMI_CSTAR_SWEDISH__" on 2007-4-6
- #if defined(__MMI_T9_SLOVAK__) || defined(__MMI_ZI_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) //KP Jerry add "__MMI_CSTAR_SLOVAK__" on 2007-4-6
- wgui_change_inputbox_mode_smart_SLOVAK = wgui_singleline_inputbox_change_input_mode_smart_SLOVAK;
- wgui_change_inputbox_mode_smart_slovak = wgui_singleline_inputbox_change_input_mode_smart_slovak;
- #endif /* defined(__MMI_T9_SLOVAK__) || defined(__MMI_ZI_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) */ //KP Jerry add "__MMI_CSTAR_SLOVAK__" on 2007-4-6
- #if defined(__MMI_ZI_DUTCH__) || defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__) //KP Jerry add "__MMI_CSTAR_DUTCH__" on 2007-4-6
- wgui_change_inputbox_mode_smart_DUTCH = wgui_singleline_inputbox_change_input_mode_smart_DUTCH;
- wgui_change_inputbox_mode_smart_dutch = wgui_singleline_inputbox_change_input_mode_smart_dutch;
- #endif /* defined(__MMI_ZI_DUTCH__) || defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__) */ //KP Jerry add "__MMI_CSTAR_DUTCH__" on 2007-4-6
- #if defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_NORWEGIAN = wgui_singleline_inputbox_change_input_mode_smart_NORWEGIAN;
- wgui_change_inputbox_mode_smart_norwegian = wgui_singleline_inputbox_change_input_mode_smart_norwegian;
- #endif /* defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) */ //KP Jerry add "__MMI_CSTAR_NORWEGIAN__" on 2007-4-6
- #if defined(__MMI_T9_CROATIAN__) || defined(__MMI_ZI_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_CROATIAN = wgui_singleline_inputbox_change_input_mode_smart_CROATIAN;
- wgui_change_inputbox_mode_smart_croatian = wgui_singleline_inputbox_change_input_mode_smart_croatian;
- #endif /* defined(__MMI_T9_CROATIAN__) || defined(__MMI_ZI_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) */ //KP Jerry add "__MMI_CSTAR_CROATIAN__" on 2007-4-6
- #if defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_ROMANIAN = wgui_singleline_inputbox_change_input_mode_smart_ROMANIAN;
- wgui_change_inputbox_mode_smart_romanian = wgui_singleline_inputbox_change_input_mode_smart_romanian;
- #endif /* defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) */ //KP Jerry add "__MMI_CSTAR_ROMANIAN__" on 2007-4-6
- #if defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-6
- wgui_change_inputbox_mode_smart_SLOVENIAN = wgui_singleline_inputbox_change_input_mode_smart_SLOVENIAN;
- wgui_change_inputbox_mode_smart_slovenian = wgui_singleline_inputbox_change_input_mode_smart_slovenian;
- #endif /* defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) */ //KP Jerry add "__MMI_CSTAR_SLOVENIAN__" on 2007-4-6
- #if defined(__MMI_T9_GREEK__) || defined(__MMI_ZI_GREEK__) || defined(__MMI_CSTAR_GREEK__) //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-6
- wgui_change_inputbox_mode_smart_GREEK = wgui_singleline_inputbox_change_input_mode_smart_GREEK;
- wgui_change_inputbox_mode_smart_greek = wgui_singleline_inputbox_change_input_mode_smart_greek;
- #endif /* defined(__MMI_T9_GREEK__) || defined(__MMI_ZI_GREEK__) || defined(__MMI_CSTAR_GREEK__) */ //KP Jerry add "__MMI_CSTAR_GREEK__" on 2007-4-6
- #endif /* defined(__MMI_T9__) || defined(__MMI_ZI__) || defined(__MMI_CSTAR__) || defined(__MMI_KA__) */ //KP Jerry add "__MMI_CSTAR__" on 2007-4-6
- if (wgui_singleline_inputbox_input_mode_changed)
- {
- input_type = wgui_singleline_inputbox_input_type;
- wgui_singleline_inputbox_input_mode_changed = 0;
- if (cat200_search_function)
- {
- if (gui_single_line_input_box_get_text_length(&MMI_singleline_inputbox) > 0)
- {
- singleline_inputbox_delete_all_characters();
- }
- refresh_search_list(NULL);
- }
- }
- input_type |= input_type_flags;
- MMI_current_input_type = input_type;
- wgui_singleline_inputbox_decimal_input_mode_flag = 0;
- wgui_inputbox_UCS2_count_function = wgui_singleline_inputbox_get_UCS2_count;
- wgui_inputbox_GSM_ext_count_function = wgui_singleline_inputbox_get_GSM_ext_count;
- if (input_type & INPUT_TYPE_USE_ENCODING_BASED_LENGTH)
- {
- MMI_singleline_inputbox.flags |= UI_SINGLE_LINE_INPUT_BOX_USE_ENCODING_BASED_LENGTH;
- if (input_type & INPUT_TYPE_ONE_LESS_CHARACTER)
- {
- MMI_singleline_inputbox.flags |= UI_SINGLE_LINE_INPUT_BOX_ONE_LESS_CHARACTER;
- UI_TEST_UCS2_COUNT_SET_LENGTH_TYPE2(
- MMI_singleline_inputbox.UCS2_count,
- MMI_singleline_inputbox.allocated_length,
- MMI_singleline_inputbox.available_length);
- }
- if (input_type & INPUT_TYPE_ONE_LESS_CHARACTER)
- {
- MMI_singleline_inputbox.flags |= UI_SINGLE_LINE_INPUT_BOX_ONE_LESS_CHARACTER;
- UI_TEST_UCS2_COUNT_SET_LENGTH_TYPE2(
- MMI_singleline_inputbox.UCS2_count,
- MMI_singleline_inputbox.allocated_length,
- MMI_singleline_inputbox.available_length);
- }
- else
- {
- UI_TEST_UCS2_COUNT_SET_LENGTH(
- MMI_singleline_inputbox.UCS2_count,
- MMI_singleline_inputbox.allocated_length,
- MMI_singleline_inputbox.available_length);
- }
- }
- if (plus_character_handling)
- {
- MMI_singleline_inputbox.flags |= UI_SINGLE_LINE_INPUT_BOX_PLUS_CHARACTER_HANDLING;
- }
- switch (input_type & INPUT_TYPE_MASK)
- {
- /* MTK Elvis to add some APIs for Qsearch */
- case INPUT_TYPE_MMI_MULTITAP_BPMF:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_MULTITAP_BPMF);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_MULTITAP_BPMF;
- #if defined(__MMI_ZI__)
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- #else
- wgui_inputbox_information_icon = get_image(WGUI_IME_MULTITAP_BPMF_IMG);
- #endif
- break;
- case INPUT_TYPE_MMI_MULTITAP_PINYIN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_MULTITAP_PINYIN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_MULTITAP_PINYIN;
- #if defined(__MMI_ZI__)
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- #else
- wgui_inputbox_information_icon = get_image(WGUI_IME_MULTITAP_PINYIN_IMG);
- #endif
- break;
- case INPUT_TYPE_MMI_SM_STROKE:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_SM_STROKE);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_SM_STROKE;
- #if defined(__MMI_ZI__)
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- #else
- wgui_inputbox_information_icon = get_image(WGUI_IME_SM_STROKE_IMG);
- #endif
- break;
- case INPUT_TYPE_MMI_TR_STROKE:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_TR_STROKE);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_TR_STROKE;
- #if defined(__MMI_ZI__)
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- #else
- wgui_inputbox_information_icon = get_image(WGUI_IME_TR_STROKE_IMG);
- #endif
- break;
- case INPUT_TYPE_MMI_NUMERIC:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_NUMERIC);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_NUMERIC;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_MMI_LOWERCASE_ABC:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_ABC);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_ABC;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_TYPE_MULTITAP_HINDI:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MULTITAP_HINDI);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_HINDI;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- /* PMT RAKESH START 20061006 */
- #if defined(__MMI_MULTITAP_MARATHI__)
- case INPUT_TYPE_MULTITAP_MARATHI:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MULTITAP_MARATHI);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_MARATHI;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_MARATHI__) */
- /* PMT RAKESH END 20061006 */
- #if defined (__MMI_MULTITAP_THAI__)
- case INPUT_TYPE_MMI_MULTITAP_THAI:
- set_singleline_inputbox_mask(0);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_MULTITAP_THAI);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_LONG_PRESS);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_MULTITAP_THAI;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined (__MMI_MULTITAP_THAI__) */
- #if defined(__MMI_MULTITAP_SPANISH__)
- case INPUT_TYPE_MMI_LOWERCASE_SPANISH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_SPANISH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_SPANISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- #if defined(__MMI_MULTITAP_DANISH__)
- case INPUT_TYPE_MMI_LOWERCASE_DANISH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_DANISH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_DANISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- #if defined(__MMI_MULTITAP_POLISH__)
- case INPUT_TYPE_MMI_LOWERCASE_POLISH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_POLISH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_POLISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- #if defined(__MMI_MULTITAP_FRENCH__)
- case INPUT_TYPE_MMI_LOWERCASE_FRENCH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_FRENCH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_FRENCH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- case INPUT_TYPE_MMI_LOWERCASE_GERMAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_GERMAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_GERMAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_ITALIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_ITALIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_ITALIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_RUSSIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_RUSSIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_RUSSIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_BULGARIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_BULGARIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_BULGARIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- case INPUT_TYPE_MMI_LOWERCASE_TURKISH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_TURKISH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_TURKISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- case INPUT_TYPE_MMI_LOWERCASE_PORTUGUESE:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_PORTUGUESE);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_PORTUGUESE;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_INDONESIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_INDONESIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_INDONESIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- #if defined(__MMI_MULTITAP_CZECH__)
- case INPUT_TYPE_MMI_LOWERCASE_CZECH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_CZECH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_CZECH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- #if defined(__MMI_MULTITAP_MALAY__)
- case INPUT_TYPE_MMI_LOWERCASE_MALAY:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_MALAY);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_MALAY;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- case INPUT_TYPE_MMI_LOWERCASE_VIETNAMESE:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_VIETNAMESE);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_VIETNAMESE;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- #if defined(__MMI_MULTITAP_FINNISH__)
- case INPUT_TYPE_MMI_LOWERCASE_FINNISH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_FINNISH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_FINNISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_HUNGARIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_HUNGARIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_HUNGARIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- #if defined(__MMI_MULTITAP_HEBREW__)
- case INPUT_TYPE_MMI_MULTITAP_HEBREW:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_MULTITAP_HEBREW);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_MULTITAP_HEBREW;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- #if defined(__MMI_MULTITAP_SLOVAK__)
- case INPUT_TYPE_MMI_LOWERCASE_SLOVAK:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_SLOVAK);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_SLOVAK;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- case INPUT_TYPE_MMI_LOWERCASE_DUTCH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_DUTCH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_DUTCH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- case INPUT_TYPE_MMI_MULTITAP_ARABIC:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_TYPE_MMI_MULTITAP_ARABIC);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_TYPE_MMI_MULTITAP_ARABIC;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- //PMT START PERSIAN
- #if defined(__MMI_MULTITAP_PERSIAN__)
- case INPUT_TYPE_MMI_MULTITAP_PERSIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_TYPE_MMI_MULTITAP_PERSIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_TYPE_MMI_MULTITAP_PERSIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif
- //PMT END PERSIAN
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_NORWEGIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_NORWEGIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_NORWEGIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- #if defined(__MMI_MULTITAP_SWEDISH__)
- case INPUT_TYPE_MMI_LOWERCASE_SWEDISH:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_SWEDISH);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_SWEDISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_CROATIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_CROATIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_CROATIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_ROMANIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_ROMANIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_ROMANIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- case INPUT_TYPE_MMI_LOWERCASE_SLOVENIAN:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_SLOVENIAN);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_SLOVENIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- case INPUT_TYPE_MMI_LOWERCASE_GREEK:
- set_singleline_inputbox_mask(0);
- SetKeyHandler(wgui_handle_qsearch_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MMI_LOWERCASE_GREEK);
- inputbox_change_mode = change_qsearch_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MMI_LOWERCASE_GREEK;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- case INPUT_TYPE_NUMERIC_CHANGEABLE:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_123);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_123;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_NUMERIC:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_123);
- MMI_current_input_mode = INPUT_MODE_123;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_DECIMAL_NUMERIC:
- wgui_singleline_inputbox_decimal_flag = 0;
- if (l > 0)
- {
- S32 i;
- UI_buffer_type t = buffer;
- UI_character_type c;
- for (i = 0; i < l; i++)
- {
- UI_STRING_GET_NEXT_CHARACTER(t, c);
- if (c == (UI_character_type) '.')
- {
- wgui_singleline_inputbox_decimal_flag = 1;
- break;
- }
- }
- }
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_123);
- MMI_current_input_mode = INPUT_MODE_123;
- SetKeyHandler(wgui_singleline_inputbox_decimal_numeric_handle_pound_key_down, KEY_POUND, KEY_EVENT_DOWN);
- wgui_singleline_inputbox_decimal_input_mode_flag = 1;
- break;
- case INPUT_TYPE_KEYPAD_NUMERIC:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_123);
- MMI_current_input_mode = INPUT_MODE_123;
- SetKeyHandler(wgui_singleline_inputbox_keypad_numeric_handle_star_key_down, KEY_STAR, KEY_EVENT_DOWN);
- SetKeyHandler(wgui_singleline_inputbox_keypad_numeric_handle_pound_key_down, KEY_POUND, KEY_EVENT_DOWN);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_ABC);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_ABC;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_ABC);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ABC;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #if defined(__MMI_MULTITAP_THAI__)
- case INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI:
- set_singleline_inputbox_mask(0);
- change_qsearch_singleline_inputbox_mode(INPUT_MODE_MULTITAP_THAI);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_LONG_PRESS);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_THAI;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_THAI__) */
- #if defined(__MMI_MULTITAP_SPNAISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SPANISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_SPANISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SPANISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SPANISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_SPANISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SPANISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SPNAISH__) */
- #if defined(__MMI_MULTITAP_DANISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DANISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_DANISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_DANISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DANISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_DANISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_DANISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- #if defined(__MMI_MULTITAP_POLISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_POLISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_POLISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_POLISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_POLISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_POLISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_POLISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- #if defined(__MMI_MULTITAP_FRENCH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_FRENCH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_FRENCH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_FRENCH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_FRENCH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_GERMAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_GERMAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_GERMAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_GERMAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_ITALIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_ITALIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_ITALIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ITALIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_RUSSIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_RUSSIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_RUSSIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_RUSSIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_BULGARIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_BULGARIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_BULGARIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_BULGARIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_TURKISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_TURKISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_TURKISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_TURKISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_PORTUGUESE);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_PORTUGUESE;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_PORTUGUESE);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_PORTUGUESE;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_INDONESIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_INDONESIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_INDONESIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_INDONESIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- #if defined(__MMI_MULTITAP_CZECH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_CZECH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_CZECH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_CZECH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_CZECH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- #if defined(__MMI_MULTITAP_MALAY__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_MALAY);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_MALAY;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_MALAY);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_MALAY;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_VIETNAMESE);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_VIETNAMESE;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_VIETNAMESE);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_VIETNAMESE;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- #if defined(__MMI_MULTITAP_FINNISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FINNISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_FINNISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_FINNISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FINNISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_FINNISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_FINNISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_HUNGARIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_HUNGARIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_HUNGARIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_HUNGARIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_HUNGARIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_HUNGARIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- #if defined(__MMI_MULTITAP_SLOVAK__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVAK:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_SLOVAK);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SLOVAK;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVAK:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_SLOVAK);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SLOVAK;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DUTCH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_DUTCH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_DUTCH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DUTCH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_DUTCH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_DUTCH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_NORWEGIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_NORWEGIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_NORWEGIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_NORWEGIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_NORWEGIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_NORWEGIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- #if defined(__MMI_MULTITAP_SWEDISH__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SWEDISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_SWEDISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SWEDISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SWEDISH:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_SWEDISH);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SWEDISH;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CROATIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_CROATIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_CROATIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CROATIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_CROATIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_CROATIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_ROMANIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_ROMANIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_ROMANIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ROMANIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_SLOVENIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SLOVENIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_SLOVENIAN);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SLOVENIAN;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_UPPERCASE_GREEK);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_GREEK;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_GREEK);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_GREEK;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- case INPUT_TYPE_ALPHANUMERIC_SENTENCECASE:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_ABC);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ABC;
- wgui_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_NUMERIC_PASSWORD:
- set_singleline_inputbox_mask(1);
- change_singleline_inputbox_mode(INPUT_MODE_123);
- MMI_current_input_mode = INPUT_MODE_123;
- break;
- case INPUT_TYPE_ALPHANUMERIC_PASSWORD:
- set_singleline_inputbox_mask(1);
- change_singleline_inputbox_mode(INPUT_MODE_MULTITAP_LOWERCASE_ABC);
- SetKeyHandler(wgui_handle_singleline_inputbox_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ABC;
- break;
- case INPUT_TYPE_PHONE_NUMBER:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_123);
- MMI_current_input_mode = INPUT_MODE_123;
- /* Handling of Phone number input */
- #ifdef __MMI_MULTITAP_KEY_0__
- SetKeyHandler(wgui_singleline_inputbox_phone_number_input_handle_star_key_down, KEY_STAR, KEY_EVENT_DOWN);
- #else /* __MMI_MULTITAP_KEY_0__ */
- gui_create_multitap_input(
- &wgui_inputbox_multitap_star_key,
- 0,
- 0,
- 0,
- 0,
- (UI_string_type) wgui_inputbox_phone_number_star_key_string);
- gui_set_multitap_input_callbacks(
- &wgui_inputbox_multitap_star_key,
- singleline_inputbox_multitap_input,
- singleline_inputbox_multitap_input_complete);
- SetKeyHandler(
- wgui_singleline_inputbox_phone_number_input_handle_multitap_star_key_down,
- KEY_STAR,
- KEY_EVENT_DOWN);
- SetKeyHandler(
- wgui_singleline_inputbox_phone_number_input_handle_multitap_star_key_up,
- KEY_STAR,
- KEY_EVENT_UP);
- #endif /* __MMI_MULTITAP_KEY_0__ */
- SetKeyHandler(wgui_singleline_inputbox_phone_number_input_handle_hash_key_down, KEY_POUND, KEY_EVENT_DOWN);
- register_key_down_handler(wgui_singleline_inputbox_phone_number_numeric_key_handler);
- #if(ENABLE_DIALER_ZERO_KEY_MULTITAP)
- gui_create_multitap_input(
- &wgui_inputbox_multitap_zero_key,
- 0,
- 0,
- 0,
- 0,
- (UI_string_type) wgui_inputbox_phone_number_zero_key_string);
- gui_set_multitap_input_callbacks(
- &wgui_inputbox_multitap_zero_key,
- singleline_inputbox_multitap_input,
- singleline_inputbox_multitap_input_complete);
- #ifdef __MMI_MULTITAP_KEY_0__
- SetKeyHandler(
- wgui_singleline_inputbox_phone_number_input_handle_zero_key_long_press,
- KEY_0,
- KEY_EVENT_LONG_PRESS);
- #else /* __MMI_MULTITAP_KEY_0__ */
- SetKeyHandler(
- wgui_singleline_inputbox_phone_number_input_handle_multitap_zero_key_down,
- KEY_0,
- KEY_EVENT_DOWN);
- SetKeyHandler(wgui_singleline_inputbox_phone_number_input_handle_multitap_zero_key_up, KEY_0, KEY_EVENT_UP);
- #endif /* __MMI_MULTITAP_KEY_0__ */
- #endif /* (ENABLE_DIALER_ZERO_KEY_MULTITAP) */
- wgui_inputbox_active_multitap = WGUI_INPUTBOX_MULTITAP_NONE;
- break;
- #if defined(__MMI_T9__)
- case INPUT_TYPE_TR_BOPOMO:
- change_singleline_inputbox_mode(INPUT_MODE_TR_BOPOMO);
- MMI_current_input_mode = INPUT_MODE_TR_BOPOMO;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SM_PINYIN:
- change_singleline_inputbox_mode(INPUT_MODE_SM_PINYIN);
- MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_TR_STROKE:
- change_singleline_inputbox_mode(INPUT_MODE_TR_STROKE);
- MMI_current_input_mode = INPUT_MODE_TR_STROKE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SM_STROKE:
- change_singleline_inputbox_mode(INPUT_MODE_SM_STROKE);
- MMI_current_input_mode = INPUT_MODE_SM_STROKE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_UPPERCASE_ABC:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ABC);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ABC;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ABC:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ABC);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ABC;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #if defined(__MMI_T9_SPANISH__)
- case INPUT_TYPE_SMART_UPPERCASE_SPANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SPANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SPANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SPANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SPANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SPANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_SPANISH__) */
- #if defined(__MMI_T9_DANISH__)
- case INPUT_TYPE_SMART_UPPERCASE_DANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_DANISH__) */
- #if defined(__MMI_T9_POLISH__)
- case INPUT_TYPE_SMART_UPPERCASE_POLISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_POLISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_POLISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_POLISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_POLISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_POLISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_POLISH__) */
- #if defined(__MMI_T9_FRENCH__)
- case INPUT_TYPE_SMART_UPPERCASE_FRENCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FRENCH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FRENCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_FRENCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FRENCH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FRENCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_FRENCH__) */
- #if defined(__MMI_T9_GERMAN__)
- case INPUT_TYPE_SMART_UPPERCASE_GERMAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GERMAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GERMAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GERMAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GERMAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GERMAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_GERMAN__) */
- #if defined(__MMI_T9_ITALIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_ITALIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ITALIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ITALIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ITALIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ITALIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ITALIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_ITALIAN__) */
- #if defined(__MMI_T9_RUSSIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_RUSSIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_RUSSIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_RUSSIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_RUSSIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_RUSSIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_T9_RUSSIAN__) */
- #if defined(__MMI_T9_BULGARIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_BULGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_BULGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_BULGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_BULGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_BULGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_T9_BULGARIAN__) */
- #if defined(__MMI_T9_VIETNAMESE__)
- case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_VIETNAMESE);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_VIETNAMESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_VIETNAMESE);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_VIETNAMESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_VIETNAMESE__) */
- #if defined(__MMI_T9_INDONESIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_INDONESIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_INDONESIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_INDONESIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_INDONESIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_INDONESIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_INDONESIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_T9_INDONESIAN__) */
- #if defined(__MMI_T9_PORTUGUESE__)
- case INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_PORTUGUESE);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_PORTUGUESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_PORTUGUESE);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_PORTUGUESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_PORTUGUESE__) */
- #if defined(__MMI_T9_CZECH__)
- case INPUT_TYPE_SMART_UPPERCASE_CZECH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CZECH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CZECH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CZECH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CZECH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CZECH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_T9_CZECH__) */
- #if defined(__MMI_T9_TURKISH__)
- case INPUT_TYPE_SMART_UPPERCASE_TURKISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_TURKISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_TURKISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_TURKISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_TURKISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_TURKISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_TURKISH__) */
- #if defined(__MMI_T9_FINNISH__)
- case INPUT_TYPE_SMART_UPPERCASE_FINNISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FINNISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FINNISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_FINNISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FINNISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FINNISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_FINNISH__) */
- #if defined(__MMI_T9_HUNGARIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_HUNGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_HUNGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_HUNGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_HUNGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_HUNGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_HUNGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_T9_HUNGARIAN__) */
- #if defined(__MMI_T9_ARABIC__)
- case INPUT_TYPE_SMART_ARABIC:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_ARABIC);
- MMI_current_input_mode = INPUT_MODE_SMART_ARABIC;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_T9_ARABIC__) */
- #if defined(__MMI_T9_GREEK__)
- case INPUT_TYPE_SMART_UPPERCASE_GREEK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GREEK);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GREEK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GREEK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GREEK);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GREEK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_GREEK__) */
- #if defined(__MMI_T9_HEBREW__)
- case INPUT_TYPE_SMART_HEBREW:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_HEBREW);
- MMI_current_input_mode = INPUT_MODE_SMART_HEBREW;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_T9_HEBREW__) */
- #if defined(__MMI_T9_HINDI__)
- case INPUT_TYPE_SMART_HINDI:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_HINDI);
- MMI_current_input_mode = INPUT_MODE_SMART_HINDI;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_T9_HINDI__) */
- #if defined(__MMI_T9_NORWEGIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_NORWEGIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_NORWEGIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_NORWEGIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_NORWEGIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_NORWEGIAN__) */
- #if defined(__MMI_T9_DUTCH__)
- case INPUT_TYPE_SMART_UPPERCASE_DUTCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DUTCH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DUTCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DUTCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DUTCH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DUTCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_DUTCH__) */
- #if defined(__MMI_T9_SLOVENIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVENIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVENIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVENIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVENIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_SLOVENIAN__) */
- #if defined(__MMI_T9_SWEDISH__)
- case INPUT_TYPE_SMART_UPPERCASE_SWEDISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SWEDISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SWEDISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SWEDISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SWEDISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SWEDISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_SWEDISH__) */
- #if defined(__MMI_T9_MALAY__)
- case INPUT_TYPE_SMART_UPPERCASE_MALAY:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_MALAY);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_MALAY;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_MALAY:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_MALAY);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_MALAY;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_MALAY__) */
- #if defined(__MMI_T9_CROATIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_CROATIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CROATIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CROATIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CROATIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CROATIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CROATIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_CROATIAN__) */
- #if defined(__MMI_T9_SLOVAK__)
- case INPUT_TYPE_SMART_UPPERCASE_SLOVAK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVAK);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVAK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVAK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVAK);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVAK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_SLOVAK__) */
- #if defined(__MMI_T9_ROMANIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_ROMANIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ROMANIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ROMANIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ROMANIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ROMANIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ROMANIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif /* defined(__MMI_T9_ROMANIAN__) */
- #elif defined(__MMI_ZI__)
- case INPUT_TYPE_TR_MULTITAP_BOPOMO:
- change_singleline_inputbox_mode(INPUT_MODE_TR_MULTITAP_BOPOMO);
- MMI_current_input_mode = INPUT_MODE_TR_MULTITAP_BOPOMO;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_BPMF_LOGO);
- break;
- case INPUT_TYPE_SM_MULTITAP_PINYIN:
- change_singleline_inputbox_mode(INPUT_MODE_SM_MULTITAP_PINYIN);
- MMI_current_input_mode = INPUT_MODE_SM_MULTITAP_PINYIN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_PINYIN_LOGO);
- break;
- case INPUT_TYPE_TR_BOPOMO:
- change_singleline_inputbox_mode(INPUT_MODE_TR_BOPOMO);
- MMI_current_input_mode = INPUT_MODE_TR_BOPOMO;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_BPMF_LOGO);
- break;
- case INPUT_TYPE_SM_PINYIN:
- change_singleline_inputbox_mode(INPUT_MODE_SM_PINYIN);
- MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_PINYIN_LOGO);
- break;
- case INPUT_TYPE_TR_STROKE:
- change_singleline_inputbox_mode(INPUT_MODE_TR_STROKE);
- MMI_current_input_mode = INPUT_MODE_TR_STROKE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_TR_STROKE_LOGO);
- break;
- case INPUT_TYPE_SM_STROKE:
- change_singleline_inputbox_mode(INPUT_MODE_SM_STROKE);
- MMI_current_input_mode = INPUT_MODE_SM_STROKE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_SM_STROKE_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_ABC:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ABC);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ABC;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ABC:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ABC);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ABC;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #if defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__)
- case INPUT_TYPE_SMART_UPPERCASE_SPANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SPANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SPANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SPANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SPANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SPANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) */
- #if defined(__MMI_ZI_DANISH__)
- case INPUT_TYPE_SMART_UPPERCASE_DANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_DANISH__) */
- #if defined(__MMI_ZI_POLISH__)
- case INPUT_TYPE_SMART_UPPERCASE_POLISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_POLISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_POLISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_POLISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_POLISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_POLISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_POLISH__) */
- #if defined(__MMI_ZI_NORWEGIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_NORWEGIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_NORWEGIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_NORWEGIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_NORWEGIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_NORWEGIAN__) */
- #if defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__)
- case INPUT_TYPE_SMART_UPPERCASE_FRENCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FRENCH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FRENCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_FRENCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FRENCH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FRENCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) */
- #if defined(__MMI_ZI_GERMAN__)
- case INPUT_TYPE_SMART_UPPERCASE_GERMAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GERMAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GERMAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GERMAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GERMAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GERMAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_GERMAN__) */
- #if defined(__MMI_ZI_ITALIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_ITALIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ITALIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ITALIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ITALIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ITALIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ITALIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_ITALIAN__) */
- #if defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_RUSSIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_RUSSIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_RUSSIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_RUSSIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_RUSSIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) */
- #if defined(__MMI_ZI_BULGARIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_BULGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_BULGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_BULGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_BULGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_BULGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_BULGARIAN__) */
- #if defined(__MMI_ZI_TURKISH__)
- case INPUT_TYPE_SMART_UPPERCASE_TURKISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_TURKISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_TURKISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_TURKISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_TURKISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_TURKISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_TURKISH__) */
- #if defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__)
- case INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_PORTUGUESE);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_PORTUGUESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_PORTUGUESE);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_PORTUGUESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_EU_PORTUGUESE__) || defined(__MMI_ZI_SA_PORTUGUESE__) || defined(__MMI_ZI_BZ_PORTUGUESE__) */
- #if defined(__MMI_ZI_INDONESIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_INDONESIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_INDONESIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_INDONESIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_INDONESIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_INDONESIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_INDONESIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_INDONESIAN__) */
- #if defined(__MMI_ZI_MALAY__)
- case INPUT_TYPE_SMART_UPPERCASE_MALAY:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_MALAY);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_MALAY;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_MALAY:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_MALAY);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_MALAY;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_MALAY__) */
- #if defined(__MMI_ZI_VIETNAMESE__)
- case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_VIETNAMESE);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_VIETNAMESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_VIETNAMESE);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_VIETNAMESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_VIETNAMESE__) */
- #if defined(__MMI_ZI_SLOVAK__)
- case INPUT_TYPE_SMART_UPPERCASE_SLOVAK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVAK);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVAK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVAK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVAK);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVAK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_SLOVAK__) */
- #if defined(__MMI_ZI_DUTCH__)
- case INPUT_TYPE_SMART_UPPERCASE_DUTCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DUTCH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DUTCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DUTCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DUTCH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DUTCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_DUTCH__) */
- #if defined(__MMI_ZI_SWEDISH__)
- case INPUT_TYPE_SMART_UPPERCASE_SWEDISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SWEDISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SWEDISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SWEDISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SWEDISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SWEDISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_SWEDISH__) */
- #if defined(__MMI_ZI_CROATIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_CROATIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CROATIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CROATIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CROATIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CROATIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CROATIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_CROATIAN__) */
- #if defined(__MMI_ZI_ROMANIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_ROMANIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ROMANIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ROMANIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ROMANIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ROMANIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ROMANIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_ROMANIAN__) */
- #if defined(__MMI_ZI_SLOVENIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVENIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVENIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVENIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVENIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_SLOVENIAN__) */
- #if defined(__MMI_ZI_GREEK__)
- case INPUT_TYPE_SMART_UPPERCASE_GREEK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GREEK);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GREEK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GREEK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GREEK);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GREEK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_GREEK__) */
- #if defined(__MMI_ZI_FINNISH__)
- case INPUT_TYPE_SMART_UPPERCASE_FINNISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FINNISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FINNISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_FINNISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FINNISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FINNISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_FINNISH__) */
- #if defined(__MMI_ZI_CZECH__)
- case INPUT_TYPE_SMART_UPPERCASE_CZECH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CZECH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CZECH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CZECH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CZECH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CZECH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_CZECH__) */
- #if defined(__MMI_ZI_HUNGARIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_HUNGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_HUNGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_HUNGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_HUNGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_HUNGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_HUNGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_HUNGARIAN__) */
- //KP Jerry add on 2007-3-8 start
- #elif defined(__MMI_CSTAR__)
- case INPUT_TYPE_SMART_UPPERCASE_ABC:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ABC);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ABC;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ABC:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ABC);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ABC;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #if defined(__MMI_CSTAR_TR_CHINESE__)
- case INPUT_TYPE_TR_BOPOMO:
- change_singleline_inputbox_mode(INPUT_MODE_TR_BOPOMO);
- MMI_current_input_mode = INPUT_MODE_TR_BOPOMO;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_TR_STROKE:
- change_singleline_inputbox_mode(INPUT_MODE_TR_STROKE);
- MMI_current_input_mode = INPUT_MODE_TR_STROKE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_SM_CHINESE__)
- case INPUT_TYPE_SM_PINYIN:
- change_singleline_inputbox_mode(INPUT_MODE_SM_PINYIN);
- MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SM_STROKE:
- change_singleline_inputbox_mode(INPUT_MODE_SM_STROKE);
- MMI_current_input_mode = INPUT_MODE_SM_STROKE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_SPANISH__)
- case INPUT_TYPE_SMART_UPPERCASE_SPANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SPANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SPANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SPANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SPANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SPANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_DANISH__)
- case INPUT_TYPE_SMART_UPPERCASE_DANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DANISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DANISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DANISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_POLISH__)
- case INPUT_TYPE_SMART_UPPERCASE_POLISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_POLISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_POLISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_POLISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_POLISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_POLISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_FRENCH__)
- case INPUT_TYPE_SMART_UPPERCASE_FRENCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FRENCH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FRENCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_FRENCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FRENCH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FRENCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_GERMAN__)
- case INPUT_TYPE_SMART_UPPERCASE_GERMAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GERMAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GERMAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GERMAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GERMAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GERMAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_ITALIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_ITALIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ITALIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ITALIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ITALIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ITALIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ITALIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_RUSSIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_RUSSIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_RUSSIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_RUSSIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_RUSSIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_RUSSIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif
- #if defined(__MMI_CSTAR_BULGARIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_BULGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_BULGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_BULGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_BULGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_BULGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif
- #if defined(__MMI_CSTAR_VIETNAMESE__)
- case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_VIETNAMESE);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_VIETNAMESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_VIETNAMESE);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_VIETNAMESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_INDONESIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_INDONESIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_INDONESIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_INDONESIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_INDONESIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_INDONESIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_INDONESIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif
- #if defined(__MMI_CSTAR_PORTUGUESE__)
- case INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_PORTUGUESE);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_PORTUGUESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_PORTUGUESE);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_PORTUGUESE;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_CZECH__)
- case INPUT_TYPE_SMART_UPPERCASE_CZECH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CZECH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CZECH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CZECH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CZECH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CZECH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif
- #if defined(__MMI_CSTAR_TURKISH__)
- case INPUT_TYPE_SMART_UPPERCASE_TURKISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_TURKISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_TURKISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_TURKISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_TURKISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_TURKISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_FINNISH__)
- case INPUT_TYPE_SMART_UPPERCASE_FINNISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_FINNISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FINNISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_FINNISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_FINNISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FINNISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_HUNGARIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_HUNGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_HUNGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_HUNGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_HUNGARIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_HUNGARIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_HUNGARIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif
- #if defined(__MMI_CSTAR_ARABIC__)
- case INPUT_TYPE_SMART_ARABIC:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_ARABIC);
- MMI_current_input_mode = INPUT_MODE_SMART_ARABIC;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif
- #if defined(__MMI_CSTAR_GREEK__)
- case INPUT_TYPE_SMART_UPPERCASE_GREEK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_GREEK);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GREEK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GREEK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_GREEK);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GREEK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_HEBREW__)
- case INPUT_TYPE_SMART_HEBREW:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_HEBREW);
- MMI_current_input_mode = INPUT_MODE_SMART_HEBREW;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif
- #if defined(__MMI_CSTAR_HINDI__)
- case INPUT_TYPE_SMART_HINDI:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_HINDI);
- MMI_current_input_mode = INPUT_MODE_SMART_HINDI;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- wgui_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif
- #if defined(__MMI_CSTAR_NORWEGIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_NORWEGIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_NORWEGIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_NORWEGIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_NORWEGIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_DUTCH__)
- case INPUT_TYPE_SMART_UPPERCASE_DUTCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_DUTCH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DUTCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DUTCH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_DUTCH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DUTCH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_SLOVENIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVENIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVENIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVENIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVENIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_SWEDISH__)
- case INPUT_TYPE_SMART_UPPERCASE_SWEDISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SWEDISH);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SWEDISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SWEDISH:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SWEDISH);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SWEDISH;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_MALAY__)
- case INPUT_TYPE_SMART_UPPERCASE_MALAY:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_MALAY);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_MALAY;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_MALAY:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_MALAY);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_MALAY;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_CROATIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_CROATIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_CROATIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CROATIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CROATIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_CROATIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CROATIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_SLOVAK__)
- case INPUT_TYPE_SMART_UPPERCASE_SLOVAK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_SLOVAK);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVAK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVAK:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_SLOVAK);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVAK;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- #if defined(__MMI_CSTAR_ROMANIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_ROMANIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_UPPERCASE_ROMANIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ROMANIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ROMANIAN:
- change_singleline_inputbox_mode(INPUT_MODE_SMART_LOWERCASE_ROMANIAN);
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ROMANIAN;
- inputbox_change_mode = change_singleline_inputbox_input_mode;
- break;
- #endif
- //KP Jerry add on 2007-3-8 end
- #endif
- default:
- set_singleline_inputbox_mask(0);
- change_singleline_inputbox_mode(INPUT_MODE_123);
- MMI_current_input_mode = INPUT_MODE_123;
- break;
- }
- if (!override_history_input_type && (saved_inputbox_flags & UI_SINGLE_LINE_INPUT_BOX_MASK_CHARACTERS))
- {
- set_singleline_inputbox_mask(1);
- if ((saved_input_type & INPUT_TYPE_MASK) != INPUT_TYPE_ALPHANUMERIC_PASSWORD)
- {
- ClearKeyHandler(KEY_POUND, KEY_EVENT_DOWN);
- }
- }
- wgui_singleline_inputbox_RSK_label_clear = 0;
- wgui_singleline_inputbox_RSK_label_icon = RSK_icon;
- wgui_singleline_inputbox_RSK_label_string = RSK_label;
- #if defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__)
- if (cat200_search_function)
- {
- mmi_pen_editor_setup_input_box(
- NULL,
- NULL,
- MMI_current_input_type,
- MMI_TRUE,
- PEN_EDITOR_QUICK_SEARCH_SINGLE_LINE_INPU_BOX);
- }
- else
- {
- ext_stroke.x1 = 0;
- ext_stroke.y1 = 0;
- ext_stroke.x2 = UI_device_width - 1;
- ext_stroke.y2 = UI_device_height - 1;
- #if 0
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- #else /* 0 */
- stroke_area.x1 = MMI_content_x;
- stroke_area.x2 = MMI_content_x + MMI_content_width;
- stroke_area.y1 = MMI_title_y;
- stroke_area.y2 = MMI_title_y + MMI_content_height + MMI_title_height;
- #endif /* 0 */
- mmi_pen_editor_setup_input_box(
- &stroke_area,
- &ext_stroke,
- MMI_current_input_type,
- MMI_TRUE,
- PEN_EDITOR_SINGLE_LINE_INPU_BOX);
- }
- #endif /* defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__) */
- wgui_set_singleline_RSK();
- register_singleline_inputbox_input_callback(wgui_handle_singleline_inputbox_input);
- test_change_input_mode = wgui_singleline_inputbox_test_change_input_mode;
- UI_UNUSED_PARAMETER(saved_MMI_current_input_mode);
- }
- /*****************************************************************************
- * FUNCTION