wgui_categories_inputs.c
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:1705k
源码类别:
MTK
开发平台:
C/C++
- wgui_change_inputbox_mode_multitap_FINNISH = wgui_EMS_inputbox_change_input_mode_multitap_FINNISH;
- wgui_change_inputbox_mode_multitap_finnish = wgui_EMS_inputbox_change_input_mode_multitap_finnish;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- wgui_change_inputbox_mode_multitap_HUNGARIAN = wgui_EMS_inputbox_change_input_mode_multitap_HUNGARIAN;
- wgui_change_inputbox_mode_multitap_hungarian = wgui_EMS_inputbox_change_input_mode_multitap_hungarian;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- #if defined(__MMI_MULTITAP_SWEDISH__)
- wgui_change_inputbox_mode_multitap_SWEDISH = wgui_EMS_inputbox_change_input_mode_multitap_SWEDISH;
- wgui_change_inputbox_mode_multitap_swedish = wgui_EMS_inputbox_change_input_mode_multitap_swedish;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- #if defined(__MMI_MULTITAP_HEBREW__)
- wgui_change_inputbox_mode_multitap_hebrew = wgui_EMS_inputbox_change_input_mode_multitap_hebrew;
- #endif
- #if defined(__MMI_MULTITAP_SLOVAK__)
- wgui_change_inputbox_mode_multitap_SLOVAK = wgui_EMS_inputbox_change_input_mode_multitap_SLOVAK;
- wgui_change_inputbox_mode_multitap_slovak = wgui_EMS_inputbox_change_input_mode_multitap_slovak;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- wgui_change_inputbox_mode_multitap_DUTCH = wgui_EMS_inputbox_change_input_mode_multitap_DUTCH;
- wgui_change_inputbox_mode_multitap_dutch = wgui_EMS_inputbox_change_input_mode_multitap_dutch;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- wgui_change_inputbox_mode_multitap_NORWEGIAN = wgui_EMS_inputbox_change_input_mode_multitap_NORWEGIAN;
- wgui_change_inputbox_mode_multitap_norwegian = wgui_EMS_inputbox_change_input_mode_multitap_norwegian;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- wgui_change_inputbox_mode_multitap_arabic = wgui_EMS_inputbox_change_input_mode_multitap_arabic;
- #endif
- //PMT START PERSIAN
- #if defined(__MMI_MULTITAP_PERSIAN__)
- wgui_change_inputbox_mode_multitap_persian = wgui_EMS_inputbox_change_input_mode_multitap_persian;
- #endif
- //PMT END PERSIAN
- #if defined(__MMI_MULTITAP_CROATIAN__)
- wgui_change_inputbox_mode_multitap_CROATIAN = wgui_EMS_inputbox_change_input_mode_multitap_CROATIAN;
- wgui_change_inputbox_mode_multitap_croatian = wgui_EMS_inputbox_change_input_mode_multitap_croatian;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- wgui_change_inputbox_mode_multitap_ROMANIAN = wgui_EMS_inputbox_change_input_mode_multitap_ROMANIAN;
- wgui_change_inputbox_mode_multitap_romanian = wgui_EMS_inputbox_change_input_mode_multitap_romanian;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- wgui_change_inputbox_mode_multitap_SLOVENIAN = wgui_EMS_inputbox_change_input_mode_multitap_SLOVENIAN;
- wgui_change_inputbox_mode_multitap_slovenian = wgui_EMS_inputbox_change_input_mode_multitap_slovenian;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- wgui_change_inputbox_mode_multitap_GREEK = wgui_EMS_inputbox_change_input_mode_multitap_GREEK;
- wgui_change_inputbox_mode_multitap_greek = wgui_EMS_inputbox_change_input_mode_multitap_greek;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- #if defined(__MMI_T9__) || defined(__MMI_ZI__) || defined(__MMI_KA__) || defined(__MMI_ITAP__)|| defined(__MMI_CSTAR__) //KP Jerry add "__MMI_CSTAR__" on 2007-3-8
- //KP Jerry modify on 2007-4-17 start
- wgui_change_inputbox_mode_smart_ABC = wgui_EMS_inputbox_change_input_mode_smart_ABC;
- wgui_change_inputbox_mode_smart_abc = wgui_EMS_inputbox_change_input_mode_smart_abc;
- #if defined(__MMI_LANG_TR_CHINESE__)
- wgui_change_inputbox_mode_tr_multitap_bpmf = wgui_EMS_inputbox_change_input_mode_tr_multitap_bpmf;
- wgui_change_inputbox_mode_tr_bpmf = wgui_EMS_inputbox_change_input_mode_tr_bpmf;
- wgui_change_inputbox_mode_tr_stroke = wgui_EMS_inputbox_change_input_mode_tr_stroke;
- #endif
- #if defined(__MMI_LANG_SM_CHINESE__)
- wgui_change_inputbox_mode_sm_multitap_pinyin = wgui_EMS_inputbox_change_input_mode_sm_multitap_pinyin;
- wgui_change_inputbox_mode_sm_pinyin = wgui_EMS_inputbox_change_input_mode_sm_pinyin;
- wgui_change_inputbox_mode_sm_stroke = wgui_EMS_inputbox_change_input_mode_sm_stroke;
- #endif
- #if defined(__MMI_LANG_THAI__)
- wgui_change_inputbox_mode_smart_thai = wgui_EMS_inputbox_change_input_mode_smart_thai;
- #endif
- #if defined(__MMI_LANG_ARABIC__)
- wgui_change_inputbox_mode_smart_arabic = wgui_EMS_inputbox_change_input_mode_smart_arabic;
- #endif
- #ifdef __MMI_LANG_PERSIAN__ //KP Jerry add on 2007-4-17
- //old:#if defined(__MMI_ZI_PERSIAN__)
- wgui_change_inputbox_mode_smart_persian = wgui_EMS_inputbox_change_input_mode_smart_persian;
- //Old:#endif /* defined(__MMI_ZI_PERSIAN__) */
- #endif/*__MMI_LANG_PERSIAN__*/ //KP Jerry add on 2007-4-17
- #ifdef __MMI_LANG_HINDI__ //KP Jerry add on 2007-4-17
- wgui_change_inputbox_mode_smart_hindi = wgui_EMS_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_EMS_inputbox_change_input_mode_smart_hebrew;
- #endif/*__MMI_LANG_HEBREW__*/ //KP Jerry add on 2007-4-17
- //KP Jerry modify on 2007-4-17 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_XXX__" on 2007-4-1717
- wgui_change_inputbox_mode_smart_SPANISH = wgui_EMS_inputbox_change_input_mode_smart_SPANISH;
- wgui_change_inputbox_mode_smart_spanish = wgui_EMS_inputbox_change_input_mode_smart_spanish;
- #endif /* defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) */
- #if defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) || defined(__MMI_CSTAR_DANISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_DANISH = wgui_EMS_inputbox_change_input_mode_smart_DANISH;
- wgui_change_inputbox_mode_smart_danish = wgui_EMS_inputbox_change_input_mode_smart_danish;
- #endif /* defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) */
- #if defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) || defined(__MMI_CSTAR_POLISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_POLISH = wgui_EMS_inputbox_change_input_mode_smart_POLISH;
- wgui_change_inputbox_mode_smart_polish = wgui_EMS_inputbox_change_input_mode_smart_polish;
- #endif /* defined(__MMI_T9_POLISH__) || defined(__MMI_ZI_POLISH__) */
- #if defined(__MMI_T9_FRENCH__) || defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) || defined(__MMI_CSTAR_FRENCH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_FRENCH = wgui_EMS_inputbox_change_input_mode_smart_FRENCH;
- wgui_change_inputbox_mode_smart_french = wgui_EMS_inputbox_change_input_mode_smart_french;
- #endif /* defined(__MMI_T9_FRENCH__) || defined(__MMI_ZI_CA_FRENCH__) || defined(__MMI_ZI_EU_FRENCH__) */
- #if defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_GERMAN = wgui_EMS_inputbox_change_input_mode_smart_GERMAN;
- wgui_change_inputbox_mode_smart_german = wgui_EMS_inputbox_change_input_mode_smart_german;
- #endif /* defined(__MMI_T9_GERMAN__) || defined(__MMI_ZI_GERMAN__) */
- #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__)|| defined(__MMI_ZI_ITALIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_ITALIAN = wgui_EMS_inputbox_change_input_mode_smart_ITALIAN;
- wgui_change_inputbox_mode_smart_italian = wgui_EMS_inputbox_change_input_mode_smart_italian;
- #endif /* defined(__MMI_T9_ITALIAN__) || defined(__MMI_ZI_ITALIAN__) */
- #if defined (__MMI_T9_RUSSIAN__) || defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_RUSSIAN = wgui_EMS_inputbox_change_input_mode_smart_RUSSIAN;
- wgui_change_inputbox_mode_smart_russian = wgui_EMS_inputbox_change_input_mode_smart_russian;
- #endif /* defined (__MMI_T9_RUSSIAN__) || defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) */
- #if defined (__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) || defined(__MMI_CSTAR_BULGARIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_BULGARIAN = wgui_EMS_inputbox_change_input_mode_smart_BULGARIAN;
- wgui_change_inputbox_mode_smart_bulgarian = wgui_EMS_inputbox_change_input_mode_smart_bulgarian;
- #endif /* defined (__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) */
- #if defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_TURKISH = wgui_EMS_inputbox_change_input_mode_smart_TURKISH;
- wgui_change_inputbox_mode_smart_turkish = wgui_EMS_inputbox_change_input_mode_smart_turkish;
- #endif /* defined(__MMI_ZI_TURKISH__) || defined(__MMI_T9_TURKISH__) */
- #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_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_PORTUGUESE = wgui_EMS_inputbox_change_input_mode_smart_PORTUGUESE;
- wgui_change_inputbox_mode_smart_portuguese = wgui_EMS_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__) */
- #if defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_INDONESIAN = wgui_EMS_inputbox_change_input_mode_smart_INDONESIAN;
- wgui_change_inputbox_mode_smart_indonesian = wgui_EMS_inputbox_change_input_mode_smart_indonesian;
- #endif /* defined(__MMI_ZI_INDONESIAN__) || defined(__MMI_T9_INDONESIAN__) */
- #if defined(__MMI_ZI_CZECH__) || defined(__MMI_T9_CZECH__) || defined(__MMI_CSTAR_CZECH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_CZECH = wgui_EMS_inputbox_change_input_mode_smart_CZECH;
- wgui_change_inputbox_mode_smart_czech = wgui_EMS_inputbox_change_input_mode_smart_czech;
- #endif /* defined(__MMI_ZI_CZECH__) || defined(__MMI_T9_CZECH__) */
- #if defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_MALAY = wgui_EMS_inputbox_change_input_mode_smart_MALAY;
- wgui_change_inputbox_mode_smart_malay = wgui_EMS_inputbox_change_input_mode_smart_malay;
- #endif /* defined(__MMI_ZI_MALAY__) || defined(__MMI_T9_MALAY__) */
- #if defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_VIETNAMESE = wgui_EMS_inputbox_change_input_mode_smart_VIETNAMESE;
- wgui_change_inputbox_mode_smart_vietnamese = wgui_EMS_inputbox_change_input_mode_smart_vietnamese;
- #endif /* defined(__MMI_ZI_VIETNAMESE__) || defined(__MMI_T9_VIETNAMESE__) */
- #if defined(__MMI_T9_FINNISH__) || defined(__MMI_ZI_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_FINNISH = wgui_EMS_inputbox_change_input_mode_smart_FINNISH;
- wgui_change_inputbox_mode_smart_finnish = wgui_EMS_inputbox_change_input_mode_smart_finnish;
- #endif /* defined(__MMI_T9_FINNISH__) || defined(__MMI_ZI_FINNISH__) */
- #if defined(__MMI_ZI_HUNGARIAN__) || defined(__MMI_T9_HUNGARIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_HUNGARIAN = wgui_EMS_inputbox_change_input_mode_smart_HUNGARIAN;
- wgui_change_inputbox_mode_smart_hungarian = wgui_EMS_inputbox_change_input_mode_smart_hungarian;
- #endif /* defined(__MMI_ZI_HUNGARIAN__) || defined(__MMI_T9_HUNGARIAN__) */
- #if defined(__MMI_T9_SLOVAK__) || defined(__MMI_ZI_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_SLOVAK = wgui_EMS_inputbox_change_input_mode_smart_SLOVAK;
- wgui_change_inputbox_mode_smart_slovak = wgui_EMS_inputbox_change_input_mode_smart_slovak;
- #endif /* defined(__MMI_T9_SLOVAK__) || defined(__MMI_ZI_SLOVAK__) */
- #if defined(__MMI_ZI_DUTCH__) || defined(__MMI_T9_DUTCH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_DUTCH = wgui_EMS_inputbox_change_input_mode_smart_DUTCH;
- wgui_change_inputbox_mode_smart_dutch = wgui_EMS_inputbox_change_input_mode_smart_dutch;
- #endif /* defined(__MMI_ZI_DUTCH__) || defined(__MMI_T9_DUTCH__) */
- #if defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_NORWEGIAN = wgui_EMS_inputbox_change_input_mode_smart_NORWEGIAN;
- wgui_change_inputbox_mode_smart_norwegian = wgui_EMS_inputbox_change_input_mode_smart_norwegian;
- #endif /* defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_ZI_NORWEGIAN__) */
- #if defined(__MMI_T9_SWEDISH__) || defined(__MMI_ZI_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_SWEDISH = wgui_EMS_inputbox_change_input_mode_smart_SWEDISH;
- wgui_change_inputbox_mode_smart_swedish = wgui_EMS_inputbox_change_input_mode_smart_swedish;
- #endif /* defined(__MMI_T9_SWEDISH__) || defined(__MMI_ZI_SWEDISH__) */
- #if defined(__MMI_T9_CROATIAN__) || defined(__MMI_ZI_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_CROATIAN = wgui_EMS_inputbox_change_input_mode_smart_CROATIAN;
- wgui_change_inputbox_mode_smart_croatian = wgui_EMS_inputbox_change_input_mode_smart_croatian;
- #endif /* defined(__MMI_T9_CROATIAN__) || defined(__MMI_ZI_CROATIAN__) */
- #if defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_ROMANIAN = wgui_EMS_inputbox_change_input_mode_smart_ROMANIAN;
- wgui_change_inputbox_mode_smart_romanian = wgui_EMS_inputbox_change_input_mode_smart_romanian;
- #endif /* defined(__MMI_ZI_ROMANIAN__) || defined(__MMI_T9_ROMANIAN__) */
- #if defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_ZI_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_SLOVENIAN = wgui_EMS_inputbox_change_input_mode_smart_SLOVENIAN;
- wgui_change_inputbox_mode_smart_slovenian = wgui_EMS_inputbox_change_input_mode_smart_slovenian;
- #endif /* defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_ZI_SLOVENIAN__) */
- #if defined(__MMI_T9_GREEK__) || defined(__MMI_ZI_GREEK__) || defined(__MMI_CSTAR_GREEK__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_change_inputbox_mode_smart_GREEK = wgui_EMS_inputbox_change_input_mode_smart_GREEK;
- wgui_change_inputbox_mode_smart_greek = wgui_EMS_inputbox_change_input_mode_smart_greek;
- #endif /* defined(__MMI_T9_GREEK__) || defined(__MMI_ZI_GREEK__) */
- #endif /* defined(__MMI_T9__) || defined(__MMI_ZI__) || defined(__MMI_KA__) || defined(__MMI_ITAP__) */ //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- wgui_inputbox_insert_symbol = wgui_EMS_inputbox_insert_symbol;
- /* MTK Terry for wgui_set_default_type */
- if (0 == test_change_input_mode())
- {
- switch (input_type & INPUT_TYPE_MASK)
- {
- case INPUT_TYPE_SM_STROKE:
- case INPUT_TYPE_SM_PINYIN:
- case INPUT_TYPE_SM_MULTITAP_PINYIN:
- case INPUT_TYPE_TR_STROKE:
- case INPUT_TYPE_TR_BOPOMO:
- case INPUT_TYPE_TR_MULTITAP_BOPOMO:
- case INPUT_TYPE_SMART_THAI:
- case INPUT_TYPE_SMART_ARABIC:
- /* PMT START PERSIAN */
- case INPUT_TYPE_SMART_PERSIAN:
- /* PMT END PERSIAN */
- case INPUT_TYPE_SMART_HINDI:
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN:
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN:
- case INPUT_TYPE_MMI_LOWERCASE_RUSSIAN:
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_RUSSIAN:
- case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
- #endif /* defined(__MMI_ZI_RUSSIAN__) || defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN:
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN:
- case INPUT_TYPE_MMI_LOWERCASE_BULGARIAN:
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_ZI_BULGARIAN__)
- case INPUT_TYPE_SMART_UPPERCASE_BULGARIAN:
- case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
- #endif /* defined(__MMI_ZI_BULGARIAN__) */
- #if defined(__MMI_ZI_VIETNAMESE__)
- case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
- case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
- #endif /* defined(__MMI_ZI_VIETNAMESE__) */
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_TYPE_MULTITAP_HINDI:
- #endif
- input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE;
- break;
- default:
- break;
- }
- }
- if (wgui_EMS_inputbox_input_mode_changed)
- {
- input_type = wgui_EMS_inputbox_input_type;
- wgui_EMS_inputbox_input_mode_changed = 0;
- #if defined(__MMI_TOUCH_SCREEN__)
- mmi_pen_editor_set_vk_to_show(MMI_TRUE);
- #endif
- }
- MMI_current_input_type = input_type;
- wgui_EMS_inputbox_information_icon = NULL;
- #if defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__)
- if (HINDI_PRESENT && (input_type == INPUT_TYPE_SMART_ARABIC || input_type == INPUT_TYPE_SMART_PERSIAN))
- {
- input_type = INPUT_TYPE_MULTITAP_HINDI;
- }
- else if (ARABIC_PRESENT && input_type == INPUT_TYPE_MULTITAP_HINDI)
- {
- /* PMT START PERSIAN */
- #if defined(__MMI_ZI_PERSIAN__) && defined(__MMI_ZI_ARABIC__)
- input_type = INPUT_TYPE_SMART_ARABIC;
- #elif defined (__MMI_ZI_ARABIC__)
- input_type = INPUT_TYPE_SMART_ARABIC;
- #elif defined (__MMI_ZI_PERSIAN__)
- input_type = INPUT_TYPE_SMART_PERSIAN;
- #endif
- /* PMT END PERSIAN */
- }
- #endif /* defined __MMI_LANG_HINDI__ && (defined __MMI_LANG_ARABIC__ || defined __MMI_LANG_PERSIAN__) */
- switch (input_type)
- {
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE:
- MMI_current_input_mode = 1;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE:
- MMI_current_input_mode = 0;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_NUMERIC:
- case INPUT_TYPE_NUMERIC_CHANGEABLE:
- MMI_current_input_mode = 2;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- /* PMT dara added for Multitap thai */
- #if defined(__MMI_MULTITAP_THAI__)
- case INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI:
- SetKeyHandler(handle_category28_change_input_mode_bymultitapthai, KEY_POUND, KEY_LONG_PRESS);
- MMI_current_input_mode = INPUT_MODE_MULTITAP_THAI;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_THAI__) */
- #if defined(__MMI_MULTITAP_SPANISH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SPANISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SPANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SPANISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SPANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- #if defined(__MMI_MULTITAP_DANISH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DANISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_DANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DANISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_DANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- #if defined(__MMI_MULTITAP_POLISH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_POLISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_POLISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_POLISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_POLISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- #if defined(__MMI_MULTITAP_FRENCH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_FRENCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_FRENCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_GERMAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_GERMAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ITALIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_ITALIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_RUSSIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_RUSSIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_BULGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_BULGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_TYPE_MULTITAP_HINDI:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_HINDI;
- wgui_EMS_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:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_MARATHI;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_MARATHI__) */
- /* PMT RAKESH END 20061006 */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_PORTUGUESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_PORTUGUESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_TURKISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_TURKISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_INDONESIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_INDONESIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- #if defined(__MMI_MULTITAP_CZECH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_CZECH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_CZECH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- #if defined(__MMI_MULTITAP_MALAY__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_MALAY;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_MALAY;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_VIETNAMESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_VIETNAMESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- #if defined(__MMI_MULTITAP_FINNISH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FINNISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_FINNISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FINNISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_FINNISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_HUNGARIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_HUNGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_HUNGARIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_HUNGARIAN;
- wgui_EMS_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:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_HEBREW;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- #if defined(__MMI_MULTITAP_SLOVAK__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVAK:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SLOVAK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVAK:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SLOVAK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DUTCH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_DUTCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DUTCH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_DUTCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- case INPUT_TYPE_ALPHANUMERIC_ARABIC:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_ARABIC;
- wgui_EMS_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_ALPHANUMERIC_PERSIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_PERSIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif
- //PMT END PERSIAN
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_NORWEGIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_NORWEGIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_NORWEGIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_NORWEGIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- #if defined(__MMI_MULTITAP_SWEDISH__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SWEDISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SWEDISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SWEDISH:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SWEDISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CROATIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_CROATIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CROATIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_CROATIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_ROMANIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_ROMANIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_SLOVENIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_SLOVENIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- case INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_LOWERCASE_GREEK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- case INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK:
- MMI_current_input_mode = INPUT_MODE_MULTITAP_UPPERCASE_GREEK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_INPUT_INFORMATION_ICON1);
- break;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- #if defined(__MMI_T9__) || defined(__MMI_ITAP__)|| defined(__MMI_CSTAR__) //KP Jerry add "__MMI_CSTAR__" on 2007-3-8
- //KP Jerry modify on 2007-4-18 start
- #ifdef __MMI_LANG_TR_CHINESE__ //KP Jerry add on 2007-4-17
- case INPUT_TYPE_TR_MULTITAP_BOPOMO:
- MMI_current_input_mode = INPUT_MODE_TR_MULTITAP_BOPOMO;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_MULTITAP_BPMF_IMG);
- break;
- case INPUT_TYPE_TR_BOPOMO:
- MMI_current_input_mode = INPUT_MODE_TR_BOPOMO;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_BPMF_IMG);
- break;
- case INPUT_TYPE_TR_STROKE:
- MMI_current_input_mode = INPUT_MODE_TR_STROKE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_TR_STROKE_IMG);
- break;
- #endif/*__MMI_LANG_TR_CHINESE__*/ //KP Jerry add on 2007-4-17
- #ifdef __MMI_LANG_SM_CHINESE__ //KP Jerry add on 2007-4-17
- case INPUT_TYPE_SM_MULTITAP_PINYIN:
- MMI_current_input_mode = INPUT_MODE_SM_MULTITAP_PINYIN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_MULTITAP_PINYIN_IMG);
- break;
- case INPUT_TYPE_SM_PINYIN:
- MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_PINYIN_IMG);
- break;
- case INPUT_TYPE_SM_STROKE:
- MMI_current_input_mode = INPUT_MODE_SM_STROKE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SM_STROKE_IMG);
- break;
- #endif/*__MMI_LANG_SM_CHINESE__*/ //KP Jerry add on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_ABC:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ABC;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ABC:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ABC;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- //KP Jerry modify on 2007-4-18 end
- break;
- #if defined(__MMI_T9_THAI__) || defined(__MMI_CSTAR_THAI__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_THAI:
- MMI_current_input_mode = INPUT_MODE_SMART_THAI;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined (__MMI_T9_THAI__) */
- #if defined(__MMI_T9_SPANISH__) || defined(__MMI_CSTAR_SPANISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_SPANISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SPANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_SPANISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SPANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_SPANISH__) */
- #if defined(__MMI_T9_DANISH__) || defined(__MMI_CSTAR_DANISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_DANISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_DANISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_DANISH__) */
- #if defined(__MMI_T9_POLISH__) || defined(__MMI_CSTAR_POLISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_POLISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_POLISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_POLISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_POLISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_POLISH__) */
- #if defined(__MMI_T9_FRENCH__) || defined(__MMI_CSTAR_FRENCH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_FRENCH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FRENCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_FRENCH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FRENCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_FRENCH__) */
- #if defined(__MMI_T9_GERMAN__) || defined(__MMI_CSTAR_GERMAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_GERMAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GERMAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_GERMAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GERMAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_GERMAN__) */
- #if defined(__MMI_T9_ITALIAN__) || defined(__MMI_CSTAR_ITALIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_ITALIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ITALIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_ITALIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ITALIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_ITALIAN__) */
- #if defined(__MMI_T9_VIETNAMESE__) || defined(__MMI_CSTAR_VIETNAMESE__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_VIETNAMESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_VIETNAMESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_VIETNAMESE__) */
- #if defined(__MMI_T9_TURKISH__) || defined(__MMI_CSTAR_TURKISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_TURKISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_TURKISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_TURKISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_TURKISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_TURKISH__) */
- #if defined(__MMI_T9_RUSSIAN__) || defined(__MMI_CSTAR_RUSSIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_RUSSIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_RUSSIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_RUSSIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_RUSSIAN__) */
- #if defined(__MMI_T9_BULGARIAN__) || defined(__MMI_ZI_BULGARIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_BULGARIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_BULGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_BULGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_BULGARIAN__) */
- #if defined(__MMI_T9_INDONESIAN__) || defined(__MMI_CSTAR_INDONESIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_INDONESIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_INDONESIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_INDONESIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_INDONESIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_INDONESIAN__) */
- #if defined(__MMI_T9_CZECH__) || defined(__MMI_CSTAR_CZECH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_CZECH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CZECH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_CZECH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CZECH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_CZECH__) */
- #if defined(__MMI_T9_PORTUGUESE__) || defined(__MMI_CSTAR_PORTUGUESE__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_PORTUGUESE:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_PORTUGUESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_PORTUGUESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_PORTUGUESE__) */
- #if defined(__MMI_T9_FINNISH__) || defined(__MMI_CSTAR_FINNISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_FINNISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FINNISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_FINNISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FINNISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_FINNISH__) */
- #if defined(__MMI_T9_HUNGARIAN__) || defined(__MMI_CSTAR_HUNGARIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_LOWERCASE_HUNGARIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_HUNGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_HUNGARIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_HUNGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_HUNGARIAN__) */
- #if defined(__MMI_T9_ARABIC__) || defined(__MMI_CSTAR_ARABIC__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_ARABIC:
- MMI_current_input_mode = INPUT_MODE_SMART_ARABIC;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_ARABIC__) */
- #if defined(__MMI_T9_HINDI__) || defined(__MMI_CSTAR_HINDI__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_HINDI:
- MMI_current_input_mode = INPUT_MODE_SMART_HINDI;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_HINDI__) */
- #if defined(__MMI_T9_NORWEGIAN__) || defined(__MMI_CSTAR_NORWEGIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_NORWEGIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_NORWEGIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_NORWEGIAN__) */
- #if defined(__MMI_T9_DUTCH__) || defined(__MMI_CSTAR_DUTCH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_DUTCH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DUTCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_DUTCH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DUTCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_DUTCH__) */
- #if defined(__MMI_T9_SLOVENIAN__) || defined(__MMI_CSTAR_SLOVENIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVENIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVENIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_SLOVENIAN__) */
- #if defined(__MMI_T9_SWEDISH__) || defined(__MMI_CSTAR_SWEDISH__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_SWEDISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SWEDISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SWEDISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SWEDISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_SWEDISH__) */
- #if defined(__MMI_T9_GREEK__) || defined(__MMI_CSTAR_GREEK__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_GREEK:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GREEK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_GREEK:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GREEK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_GREEK__) */
- #if defined(__MMI_T9_HEBREW__) || defined(__MMI_CSTAR_HEBREW__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_HEBREW:
- MMI_current_input_mode = INPUT_MODE_SMART_HEBREW;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_HEBREW__) */
- #if defined(__MMI_T9_MALAY__) || defined(__MMI_CSTAR_MALAY__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_MALAY:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_MALAY;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_MALAY:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_MALAY;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_MALAY__) */
- #if defined(__MMI_T9_CROATIAN__) || defined(__MMI_CSTAR_CROATIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_CROATIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CROATIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_CROATIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CROATIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_CROATIAN__) */
- #if defined(__MMI_T9_SLOVAK__) || defined(__MMI_CSTAR_SLOVAK__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_SLOVAK:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVAK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_SLOVAK:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVAK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_SLOVAK__) */
- #if defined(__MMI_T9_ROMANIAN__) || defined(__MMI_CSTAR_ROMANIAN__) //KP Jerry add "__MMI_CSTAR_XXX__" on 2007-4-17
- case INPUT_TYPE_SMART_UPPERCASE_ROMANIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ROMANIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ROMANIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ROMANIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_ENGLISH_IMG);
- break;
- #endif /* defined(__MMI_T9_ROMANIAN__) */
- #elif defined(__MMI_ZI__)
- case INPUT_TYPE_TR_MULTITAP_BOPOMO:
- MMI_current_input_mode = INPUT_MODE_TR_MULTITAP_BOPOMO;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_BPMF_LOGO);
- break;
- case INPUT_TYPE_SM_MULTITAP_PINYIN:
- MMI_current_input_mode = INPUT_MODE_SM_MULTITAP_PINYIN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_PINYIN_LOGO);
- break;
- case INPUT_TYPE_TR_BOPOMO:
- MMI_current_input_mode = INPUT_MODE_TR_BOPOMO;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_BPMF_LOGO);
- break;
- case INPUT_TYPE_SM_PINYIN:
- MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_PINYIN_LOGO);
- break;
- case INPUT_TYPE_TR_STROKE:
- MMI_current_input_mode = INPUT_MODE_TR_STROKE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_TR_STROKE_LOGO);
- break;
- case INPUT_TYPE_SM_STROKE:
- MMI_current_input_mode = INPUT_MODE_SM_STROKE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_SM_STROKE_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_ABC:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ABC;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_ABC:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ABC;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_THAI:
- MMI_current_input_mode = INPUT_MODE_SMART_THAI;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_ARABIC:
- MMI_current_input_mode = INPUT_MODE_SMART_ARABIC;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_PERSIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_PERSIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_HINDI:
- MMI_current_input_mode = INPUT_MODE_SMART_HINDI;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_HEBREW:
- MMI_current_input_mode = INPUT_MODE_SMART_HEBREW;
- wgui_EMS_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_LOWERCASE_SPANISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SPANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_SPANISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SPANISH;
- wgui_EMS_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_LOWERCASE_DANISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_DANISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DANISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_DANISH__) */
- #if defined(__MMI_ZI_POLISH__) || defined(__MMI_ZI_POLISH__)
- case INPUT_TYPE_SMART_LOWERCASE_POLISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_POLISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_POLISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_POLISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_POLISH__) || defined(__MMI_ZI_POLISH__) */
- #if defined(__MMI_ZI_NORWEGIAN__)
- case INPUT_TYPE_SMART_LOWERCASE_NORWEGIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_NORWEGIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_NORWEGIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_NORWEGIAN;
- wgui_EMS_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_LOWERCASE_FRENCH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FRENCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_FRENCH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FRENCH;
- wgui_EMS_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_LOWERCASE_GERMAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GERMAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_GERMAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GERMAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_GERMAN__) */
- #if defined(__MMI_ZI_ITALIAN__)
- case INPUT_TYPE_SMART_LOWERCASE_ITALIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ITALIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_ITALIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ITALIAN;
- wgui_EMS_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:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_RUSSIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_RUSSIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_RUSSIAN;
- wgui_EMS_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:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_BULGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_BULGARIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_BULGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_BULGARIAN__) */
- #if defined(__MMI_ZI_TURKISH__)
- case INPUT_TYPE_SMART_LOWERCASE_TURKISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_TURKISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_TURKISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_TURKISH;
- wgui_EMS_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:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_PORTUGUESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_LOWERCASE_PORTUGUESE:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_PORTUGUESE;
- wgui_EMS_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_LOWERCASE_INDONESIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_INDONESIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_INDONESIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_INDONESIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_INDONESIAN__) */
- #if defined(__MMI_ZI_MALAY__)
- case INPUT_TYPE_SMART_LOWERCASE_MALAY:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_MALAY;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_MALAY:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_MALAY;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_MALAY__) */
- #if defined(__MMI_ZI_VIETNAMESE__)
- case INPUT_TYPE_SMART_LOWERCASE_VIETNAMESE:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_VIETNAMESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_VIETNAMESE:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_VIETNAMESE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_VIETNAMESE__) */
- #if defined(__MMI_ZI_SLOVAK__)
- case INPUT_TYPE_SMART_LOWERCASE_SLOVAK:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVAK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_SLOVAK:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVAK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_SLOVAK__) */
- #if defined(__MMI_ZI_DUTCH__)
- case INPUT_TYPE_SMART_LOWERCASE_DUTCH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_DUTCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_DUTCH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_DUTCH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_DUTCH__) */
- #if defined(__MMI_ZI_SWEDISH__)
- case INPUT_TYPE_SMART_LOWERCASE_SWEDISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SWEDISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_SWEDISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SWEDISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_SWEDISH__) */
- #if defined(__MMI_ZI_CROATIAN__)
- case INPUT_TYPE_SMART_LOWERCASE_CROATIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CROATIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_CROATIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CROATIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_CROATIAN__) */
- #if defined(__MMI_ZI_ROMANIAN__)
- case INPUT_TYPE_SMART_LOWERCASE_ROMANIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_ROMANIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_ROMANIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_ROMANIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_ROMANIAN__) */
- #if defined(__MMI_ZI_SLOVENIAN__)
- case INPUT_TYPE_SMART_LOWERCASE_SLOVENIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_SLOVENIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_SLOVENIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_SLOVENIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_SLOVENIAN__) */
- #if defined(__MMI_ZI_GREEK__)
- case INPUT_TYPE_SMART_LOWERCASE_GREEK:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_GREEK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_GREEK:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_GREEK;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_GREEK__) */
- #if defined(__MMI_ZI_FINNISH__)
- case INPUT_TYPE_SMART_LOWERCASE_FINNISH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_FINNISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_FINNISH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_FINNISH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_FINNISH__) */
- #if defined(__MMI_ZI_CZECH__)
- case INPUT_TYPE_SMART_LOWERCASE_CZECH:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_CZECH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_CZECH:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_CZECH;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_CZECH__) */
- #if defined(__MMI_ZI_HUNGARIAN__)
- case INPUT_TYPE_SMART_LOWERCASE_HUNGARIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_LOWERCASE_HUNGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- case INPUT_TYPE_SMART_UPPERCASE_HUNGARIAN:
- MMI_current_input_mode = INPUT_MODE_SMART_UPPERCASE_HUNGARIAN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_ZI_EZITEXT_LOGO);
- break;
- #endif /* defined(__MMI_ZI_HUNGARIAN__) */
- #elif defined(__MMI_KA__)
- case INPUT_TYPE_SM_PINYIN:
- MMI_current_input_mode = INPUT_MODE_SM_PINYIN;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SMART_PINYIN_IMG);
- break;
- case INPUT_TYPE_SM_STROKE:
- MMI_current_input_mode = INPUT_MODE_SM_STROKE;
- wgui_EMS_inputbox_information_icon = get_image(WGUI_IME_SM_STROKE_IMG);
- break;
- #endif
- default:
- MMI_current_input_mode = 0;
- break;
- }
- category28_RSK_label_icon = get_image(right_softkey_icon);
- category28_RSK_label_string = get_string(right_softkey);
- change_EMS_inputbox_input_mode();
- #if defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__)
- 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 - MMI_EMS_inputbox.vbar.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_EMS_INPUT_BOX);
- #endif /* defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__) */
- #if(EMS_USE_INTERNAL_MENU)
- SetKeyHandler(EntryEMSMainMenu, KEY_SEND, KEY_EVENT_UP);
- #endif
- // test_change_input_mode=test_EMS_inputbox_change_mode;
- // SetKeyHandler(temp_ems_insert_character,KEY_STAR,KEY_EVENT_DOWN);
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- gui_unlock_double_buffer();
- ExitCategoryFunction = ExitCategory28Screen;
- dm_setup_category_functions(dm_redraw_category_screen, dm_get_category_history, dm_get_category_history_size);
- dm_register_category_controlled_callback(category28callback);
- dm_data.s32ScrId = (S32) GetActiveScreenId();
- dm_data.s32CatId = MMI_CATEGORY28_ID;
- dm_data.s32flags = DM_CLEAR_SCREEN_BACKGROUND;
- dm_data.s32flags |= DM_SHOW_VKPAD;
- dm_setup_data(&dm_data);
- dm_register_vkpad_callback(cat28_virtual_keypad_callback);
- dm_redraw_category_screen();
- }
- /*****************************************************************************
- * FUNCTION
- * CloseCategory28Screen
- * DESCRIPTION
- * Releases data used by the MO EMS/SMS screen
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void CloseCategory28Screen(void)
- {
- #if(UI_DISABLE_EMS_INPUT_BOX)
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S32 length;
- S32 i, j;
- U8 *buffer;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- length = MMI_multiline_inputbox.text_length;
- buffer = (U8*) gui_malloc((length << 1) + 2);
- i = j = 0;
- ResetCurrentPosition(temp_EMS_data);
- while (i < length)
- {
- buffer[j++] = 0;
- buffer[j++] = (U8) temp_EMS_buffer[i++];
- }
- buffer[j++] = 0;
- buffer[j++] = ' ';
- AddString(temp_EMS_data, buffer, (U16) length, NULL);
- gui_free(buffer);
- gui_free(temp_EMS_buffer);
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- }
- /*****************************************************************************
- * FUNCTION
- * ExitCategory28Screen
- * DESCRIPTION
- * Exits the MO EMS/SMS screen
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void ExitCategory28Screen(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- EMS_inputbox_has_changed = 0;
- /* set_MMI_current_input_type(); */
- category28_RSK_label_clear = 0;
- category28_RSK_function = NULL;
- wgui_inputbox_information_flag = 0;
- #ifdef __MMI_MESSAGES_EMS__
- close_EMS_objects();
- #endif
- #if(!UI_DISABLE_EMS_INPUT_BOX)
- {
- reset_EMS_inputbox();
- }
- #endif /* (!UI_DISABLE_EMS_INPUT_BOX) */
- #ifdef __MMI_WALLPAPER_ON_BOTTOM__
- /* dm_set_scr_bg_image(editor_scr_bg_ID, editor_scr_bg_filename, editor_scr_bg_x, editor_scr_bg_y, editor_scr_bg_opacity);//092005 grayscale Calvin */
- dm_set_scr_bg_image_no_draw(
- editor_scr_bg_ID,
- editor_scr_bg_filename,
- editor_scr_bg_x,
- editor_scr_bg_y,
- editor_scr_bg_opacity);
- #endif /* __MMI_WALLPAPER_ON_BOTTOM__ */
- ExitCategoryFunction = MMI_dummy_function;
- RedrawCategoryFunction = MMI_dummy_function;
- GetCategoryHistory = dummy_get_history;
- GetCategoryHistorySize = dummy_get_history_size;
- #ifdef __MMI_T9__
- InuptMethodExitCategory28();
- #elif defined (__MMI_ZI__) && defined(__MMI_MESSAGES_EMS__)
- ZiInuptMethodExitCategory28();
- #elif defined __MMI_KA__
- KonkaInuptMethodExitCategory28();
- //KP Jerry add on 2007-3-8 start
- #elif defined __MMI_CSTAR__
- CstarInputMethodExitCategory28();
- //KP Jerry add on 2007-3-8 end
- #elif defined __MMI_ITAP__
- /* under construction !*/
- #endif
- #if defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_HANDWRITING_PAD__)
- mmi_pen_editor_close_input_box();
- #endif
- if (test_change_input_mode != NULL)
- {
- if (test_change_input_mode())
- {
- MMI_english_input_mode_flag = 0;
- }
- else
- {
- MMI_english_input_mode_flag = 1;
- }
- }
- else
- {
- MMI_english_input_mode_flag = 0;
- }
- test_change_input_mode = NULL;
- /* W05.36 Fix Vietnamese Tone Input Issue */
- set_current_input_box_type(EDITOR_NONE_INPUT_BOX);
- }
- /*****************************************************************************
- * FUNCTION
- * GetCategory28HistorySize
- * DESCRIPTION
- * Gets the history buffer size for the MO EMS/SMS screen
- * PARAMETERS
- * void
- * RETURNS
- * size in U8s of the history buffer
- *****************************************************************************/
- S32 GetCategory28HistorySize(void)
- {
- #if(UI_DISABLE_EMS_INPUT_BOX)
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- return (0);
- #else /* (UI_DISABLE_EMS_INPUT_BOX) */
- return (sizeof(EMS_inputbox_category_history));
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- }
- /*****************************************************************************
- * FUNCTION
- * GetCategory28History
- * DESCRIPTION
- * Gets the history buffer for the MO EMS/SMS screen
- * PARAMETERS
- * history_buffer [IN] Is the buffer into which the history data is stored (pre-allocated)
- * RETURNS
- * pointer to the history buffer
- *****************************************************************************/
- U8 *GetCategory28History(U8 *history_buffer)
- {
- #if(UI_DISABLE_EMS_INPUT_BOX)
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- return (history_buffer);
- #else /* (UI_DISABLE_EMS_INPUT_BOX) */
- get_EMS_inputbox_category_history(MMI_CATEGORY28_ID, history_buffer, MMI_current_input_type);
- return (history_buffer);
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- }
- /*****************************************************************************
- * FUNCTION
- * RedrawCategory39Screen
- * DESCRIPTION
- * Redraws the MT EMS/SMS screen
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void RedrawCategory39Screen(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- gdi_layer_lock_frame_buffer();
- clear_screen();
- show_title_status_icon();
- draw_title();
- show_softkey_background();
- show_left_softkey();
- show_right_softkey();
- #if(UI_DISABLE_EMS_INPUT_BOX)
- show_multiline_inputbox();
- #else
- show_EMS_inputbox();
- #endif
- gdi_layer_unlock_frame_buffer();
- gdi_layer_blt_previous(0, 0, UI_device_width - 1, UI_device_height - 1);
- }
- /*****************************************************************************
- * FUNCTION
- * ShowCategory39Screen
- * DESCRIPTION
- * Displays the MT EMS/SMS screen
- * PARAMETERS
- * title [IN] Title for the screen
- * title_icon [IN] Icon displayed with the title
- * left_softkey [IN] Left softkey label
- * left_softkey_icon [IN] Left softkey icon
- * right_softkey [IN] Right softkey label
- * right_softkey_icon [IN] Right softkey icon
- * data [IN] EMSData (Pre-allocated and initialized)
- * header [IN] Header to be displayed (Must include 'n' for line seperation)
- * history_buffer [IN] History buffer
- * RETURNS
- * void
- *****************************************************************************/
- void ShowCategory39Screen(
- U16 title,
- U16 title_icon,
- U16 left_softkey,
- U16 left_softkey_icon,
- U16 right_softkey,
- U16 right_softkey_icon,
- EMSData *data,
- U8 *header,
- U8 *history_buffer)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- dm_data_struct dm_data;
- S16 input_type = 0;
- #if(UI_DISABLE_EMS_INPUT_BOX)
- S32 length;
- S32 i, j, h, fh;
- UI_UNUSED_PARAMETER(history_buffer);
- #else /* (UI_DISABLE_EMS_INPUT_BOX) */
- U8 h;
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- EMS_inputbox_has_changed = 0;
- #ifdef __MMI_MESSAGES_EMS__
- initialize_EMS_objects();
- #endif
- MMI_menu_shortcut_number = -1;
- change_left_softkey(left_softkey, left_softkey_icon);
- change_right_softkey(right_softkey, right_softkey_icon);
- SetupCategoryKeyHandlers();
- MMI_title_string = (UI_string_type) get_string(title);
- MMI_title_icon = (PU8) get_image(title_icon);
- #if(UI_DISABLE_EMS_INPUT_BOX)
- length = (data->textBufferSize >> 1);
- if (length == 0)
- {
- UI_string_type s = (UI_string_type) "EMS Data not initialized";
- S32 l = gui_strlen((UI_string_type) s);
- temp_EMS_buffer = (UI_string_type) gui_malloc(l * sizeof(UI_character_type));
- gui_strcpy((UI_string_type) temp_EMS_buffer, (UI_string_type) s);
- length = l + 1;
- i = l;
- }
- else
- {
- temp_EMS_buffer = (UI_string_type) gui_malloc(length * sizeof(UI_character_type));
- i = j = 0;
- while (j < data->textLength)
- {
- if ((data->textBuffer[j] == ' ') && (data->textBuffer[j + 1] == ' '))
- {
- temp_EMS_buffer[i] = ' ';
- break;
- }
- else
- {
- temp_EMS_buffer[i] = data->textBuffer[j + 1];
- }
- i++;
- j += 2;
- }
- }
- temp_EMS_data = data;
- create_multiline_inputbox_set_buffer(temp_EMS_buffer, length, i, 0);
- register_multiline_inputbox_keys();
- register_hide_multitap(category5_hide_multitap);
- move_multiline_inputbox(0, (MMI_title_y + MMI_title_height));
- h = MMI_content_height - MMI_multitap_height - 8;
- gui_set_font(MMI_multiline_inputbox.text_font);
- fh = gui_get_character_height();
- h = ((h / fh) * fh) + 8;
- resize_multiline_inputbox(MMI_multiline_inputbox.width, h);
- set_multiline_inputbox_mask(0);
- #else /* (UI_DISABLE_EMS_INPUT_BOX) */
- #if((UI_ENABLE_FRAME_SKIPPING) && (ENABLE_EMS_INPUTBOX_FRAME_SKIPPING))
- wgui_EMS_inputbox_frame_counter = 0;
- #endif
- gui_create_EMS_input_box(
- &MMI_EMS_inputbox,
- 0,
- (MMI_title_y + MMI_title_height),
- MMI_content_width,
- MMI_content_height);
- gui_set_EMS_input_box_data(&MMI_EMS_inputbox, data);
- h = set_EMS_inputbox_category_history(MMI_CATEGORY39_ID, history_buffer, (S16*) & input_type);
- MMI_EMS_inputbox.flags |= UI_EMS_INPUT_BOX_VIEW_MODE;
- MMI_EMS_inputbox.flags |= UI_EMS_INPUT_BOX_DISPLAY_HEADER;
- if (!h)
- {
- ResetCurrentPosition(MMI_EMS_inputbox.data);
- }
- MMI_EMS_inputbox.flags |= UI_EMS_INPUT_BOX_DISABLE_CURSOR_DRAW;
- register_EMS_inputbox_viewer_keys();
- create_EMS_viewer_header(header);
- MMI_EMS_inputbox.display_header = EMS_viewer_show_header;
- MMI_EMS_inputbox.measure_header = EMS_viewer_measure_header;
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- ExitCategoryFunction = ExitCategory39Screen;
- dm_setup_category_functions(dm_redraw_category_screen, GetCategory39History, GetCategory39HistorySize);
- dm_data.s32ScrId = (S32) GetActiveScreenId();
- dm_data.s32CatId = MMI_CATEGORY39_ID;
- dm_data.s32flags = DM_CLEAR_SCREEN_BACKGROUND;
- dm_setup_data(&dm_data);
- dm_redraw_category_screen();
- }
- /*****************************************************************************
- * FUNCTION
- * CloseCategory39Screen
- * DESCRIPTION
- * Releases data used by the MT EMS/SMS screen
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void CloseCategory39Screen(void)
- {
- #if(UI_DISABLE_EMS_INPUT_BOX)
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- S32 length;
- S32 i, j;
- U8 *buffer;
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- length = MMI_multiline_inputbox.text_length;
- buffer = (U8*) gui_malloc((length << 1) + 2);
- i = j = 0;
- ResetCurrentPosition(temp_EMS_data);
- while (i < length)
- {
- buffer[j++] = 0;
- buffer[j++] = (U8) temp_EMS_buffer[i++];
- }
- buffer[j++] = 0;
- buffer[j++] = ' ';
- AddString(temp_EMS_data, buffer, (U16) length, NULL);
- gui_free(buffer);
- gui_free(temp_EMS_buffer);
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- }
- /*****************************************************************************
- * FUNCTION
- * ExitCategory39Screen
- * DESCRIPTION
- * Exits the MT EMS/SMS screen
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void ExitCategory39Screen(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- #if(!UI_DISABLE_EMS_INPUT_BOX)
- reset_EMS_inputbox();
- #endif
- #ifdef __MMI_MESSAGES_EMS__
- close_EMS_objects();
- #endif
- ExitCategoryFunction = MMI_dummy_function;
- RedrawCategoryFunction = MMI_dummy_function;
- GetCategoryHistory = dummy_get_history;
- GetCategoryHistorySize = dummy_get_history_size;
- }
- /*****************************************************************************
- * FUNCTION
- * GetCategory39HistorySize
- * DESCRIPTION
- * Gets the history buffer size for the MT EMS/SMS screen
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- S32 GetCategory39HistorySize(void)
- {
- #if(UI_DISABLE_EMS_INPUT_BOX)
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- return (0);
- #else /* (UI_DISABLE_EMS_INPUT_BOX) */
- return (sizeof(EMS_inputbox_category_history));
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- }
- /*****************************************************************************
- * FUNCTION
- * GetCategory39History
- * DESCRIPTION
- * Gets the history buffer for the MT EMS/SMS screen
- * PARAMETERS
- * history_buffer [?]
- * history(?) [IN/OUT] The buffer into which the history data is stored (pre-allocated)
- * RETURNS
- * void
- *****************************************************************************/
- U8 *GetCategory39History(U8 *history_buffer)
- {
- #if(UI_DISABLE_EMS_INPUT_BOX)
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- return (history_buffer);
- #else /* (UI_DISABLE_EMS_INPUT_BOX) */
- get_EMS_inputbox_category_history(MMI_CATEGORY39_ID, history_buffer, MMI_current_input_type);
- return (history_buffer);
- #endif /* (UI_DISABLE_EMS_INPUT_BOX) */
- }
- /*****************************************************************************
- * FUNCTION
- * change_EMS_inputbox_mode
- * DESCRIPTION
- *
- * PARAMETERS
- * mode [IN]
- * RETURNS
- * void
- *****************************************************************************/
- //KP Jerry add on 2007-4-29 start
- #ifdef __MMI_LANG_THAI__
- extern void EMS_inputbox_alphanumeric_keyboard_input_handler(S32 keyc);
- extern void EMS_inputbox_multitap_input(UI_character_type c);
- extern void EMS_inputbox_multitap_input_complete(void);
- #endif
- //KP Jerry add on 2007-4-29 end
- void change_EMS_inputbox_mode(U8 mode)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- /* PMT dara added for Multitap thai */
- #if defined(__MMI_MULTITAP_THAI__)
- SetKeyHandler(handle_category28_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- #endif
- #if !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__)
- #else /* !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__) */
- ClearKeyHandler(KEY_POUND, KEY_EVENT_DOWN);
- #endif /* !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__) */
- switch (mode)
- {
- case INPUT_MODE_MULTITAP_UPPERCASE_ABC:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_ABC);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_ABC:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_ABC);
- register_EMS_multitap_function();
- break;
- /* PMT dara added for multitap thai */
- #if defined(__MMI_MULTITAP_THAI__)
- case INPUT_MODE_MULTITAP_THAI:
- change_multitap_mode(INPUT_MODE_MULTITAP_THAI);
- #if defined(__MMI_FULL_SCREEN_EDITOR__)
- register_multitap_no_draw_key_handlers();
- #else
- register_multitap_key_handlers();
- #endif
- register_MMI_key_input_extend_handler();
- /* change_inputbox_type_multitapthai(EMS_INPUTBOX); //msz065_20050420 */
- register_keyboard_input_handler(EMS_inputbox_alphanumeric_keyboard_input_handler);
- set_multitap_functions(EMS_inputbox_multitap_input, EMS_inputbox_multitap_input_complete);
- wgui_set_EMS_inputbox_RSK();
- register_EMS_inputbox_keys();
- SetKeyHandler(handle_category28_change_input_mode_bymultitapthai, KEY_POUND, KEY_LONG_PRESS);
- SetKeyHandler(wgui_EMS_inputbox_handle_symbol_picker_star_key_bymultitapthai, KEY_STAR, KEY_LONG_PRESS);
- break;
- #endif /* defined(__MMI_MULTITAP_THAI__) */
- #if defined(__MMI_MULTITAP_SPANISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_SPANISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_SPANISH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_SPANISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_SPANISH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_SPANISH__) */
- #if defined(__MMI_MULTITAP_DANISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_DANISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_DANISH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_DANISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_DANISH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_DANISH__) */
- #if defined(__MMI_MULTITAP_POLISH__) /* polish-vikas */
- case INPUT_MODE_MULTITAP_UPPERCASE_POLISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_POLISH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_POLISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_POLISH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_POLISH__) */
- #if defined(__MMI_MULTITAP_FRENCH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_FRENCH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_FRENCH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_FRENCH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_FRENCH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_FRENCH__) */
- #if defined(__MMI_MULTITAP_GERMAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_GERMAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_GERMAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_GERMAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_GERMAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_GERMAN__) */
- #if defined(__MMI_MULTITAP_ITALIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_ITALIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_ITALIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_ITALIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_ITALIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_ITALIAN__) */
- #if defined(__MMI_MULTITAP_RUSSIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_RUSSIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_RUSSIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_RUSSIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_RUSSIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */
- #if defined(__MMI_MULTITAP_BULGARIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_BULGARIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_BULGARIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_BULGARIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_BULGARIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */
- #if defined(__MMI_MULTITAP_TURKISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_TURKISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_TURKISH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_TURKISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_TURKISH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_TURKISH__) */
- #if defined(__MMI_MULTITAP_PORTUGUESE__)
- case INPUT_MODE_MULTITAP_UPPERCASE_PORTUGUESE:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_PORTUGUESE);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_PORTUGUESE:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_PORTUGUESE);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */
- #if defined(__MMI_MULTITAP_HINDI__)
- case INPUT_MODE_MULTITAP_HINDI:
- change_multitap_mode(INPUT_MODE_MULTITAP_HINDI);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_HINDI__) */
- /* PMT RAKESH START 20061006 */
- #if defined(__MMI_MULTITAP_MARATHI__)
- case INPUT_MODE_MULTITAP_MARATHI:
- change_multitap_mode(INPUT_MODE_MULTITAP_MARATHI);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_MARATHI__) */
- /* PMT RAKESH END 20061006 */
- #if defined(__MMI_MULTITAP_INDONESIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_INDONESIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_INDONESIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_INDONESIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_INDONESIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */
- #if defined(__MMI_MULTITAP_CZECH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_CZECH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_CZECH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_CZECH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_CZECH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_CZECH__) */
- #if defined(__MMI_MULTITAP_MALAY__)
- case INPUT_MODE_MULTITAP_UPPERCASE_MALAY:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_MALAY);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_MALAY:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_MALAY);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_MALAY__) */
- #if defined(__MMI_MULTITAP_VIETNAMESE__)
- case INPUT_MODE_MULTITAP_UPPERCASE_VIETNAMESE:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_VIETNAMESE);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_VIETNAMESE:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_VIETNAMESE);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */
- #if defined(__MMI_MULTITAP_FINNISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_FINNISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_FINNISH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_FINNISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_FINNISH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_FINNISH__) */
- #if defined(__MMI_MULTITAP_HUNGARIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_HUNGARIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_HUNGARIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_HUNGARIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_HUNGARIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */
- #if defined(__MMI_MULTITAP_SLOVAK__)
- case INPUT_MODE_MULTITAP_UPPERCASE_SLOVAK:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_SLOVAK);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_SLOVAK:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_SLOVAK);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVAK__) */
- #if defined(__MMI_MULTITAP_DUTCH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_DUTCH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_DUTCH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_DUTCH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_DUTCH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_DUTCH__) */
- #if defined(__MMI_MULTITAP_ARABIC__)
- case INPUT_MODE_MULTITAP_ARABIC:
- change_multitap_mode(INPUT_MODE_MULTITAP_ARABIC);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_ARABIC__) */
- //PMT START PERSIAN
- #if defined(__MMI_MULTITAP_PERSIAN__)
- case INPUT_MODE_MULTITAP_PERSIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_PERSIAN);
- register_EMS_multitap_function();
- break;
- #endif
- //PMT END PERSIAN
- /* Norwegian start */
- #if defined(__MMI_MULTITAP_NORWEGIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_NORWEGIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_NORWEGIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_NORWEGIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_NORWEGIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */
- #if defined(__MMI_MULTITAP_SWEDISH__)
- case INPUT_MODE_MULTITAP_UPPERCASE_SWEDISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_SWEDISH);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_SWEDISH:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_SWEDISH);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_SWEDISH__) */
- #if defined(__MMI_MULTITAP_CROATIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_CROATIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_CROATIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_CROATIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_CROATIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_CROATIAN__) */
- #if defined(__MMI_MULTITAP_HEBREW__)
- case INPUT_MODE_MULTITAP_HEBREW:
- change_multitap_mode(INPUT_MODE_MULTITAP_HEBREW);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_HEBREW__) */
- #if defined(__MMI_MULTITAP_ROMANIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_ROMANIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_ROMANIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_ROMANIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_ROMANIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */
- #if defined(__MMI_MULTITAP_SLOVENIAN__)
- case INPUT_MODE_MULTITAP_UPPERCASE_SLOVENIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_SLOVENIAN);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_SLOVENIAN:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_SLOVENIAN);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */
- #if defined(__MMI_MULTITAP_GREEK__)
- case INPUT_MODE_MULTITAP_UPPERCASE_GREEK:
- change_multitap_mode(INPUT_MODE_MULTITAP_UPPERCASE_GREEK);
- register_EMS_multitap_function();
- break;
- case INPUT_MODE_MULTITAP_LOWERCASE_GREEK:
- change_multitap_mode(INPUT_MODE_MULTITAP_LOWERCASE_GREEK);
- register_EMS_multitap_function();
- break;
- #endif /* defined(__MMI_MULTITAP_GREEK__) */
- case INPUT_MODE_123:
- change_multitap_mode(INPUT_MODE_123);
- clear_multitap_key_handlers();
- register_MMI_key_input_handler();
- register_key_down_handler(EMS_inputbox_handle_key_down);
- register_keyboard_input_handler(EMS_inputbox_numeric_keyboard_input_handler);
- wgui_set_EMS_inputbox_RSK();
- register_EMS_inputbox_keys();
- if ((MMI_current_input_type & INPUT_TYPE_MASK) == INPUT_TYPE_NUMERIC_CHANGEABLE)
- {
- SetKeyHandler(wgui_EMS_inputbox_handle_symbol_picker_star_key, KEY_STAR, KEY_EVENT_DOWN);
- }
- break;
- #ifdef __MMI_T9__
- case INPUT_MODE_TR_BOPOMO:
- case INPUT_MODE_SM_PINYIN:
- case INPUT_MODE_TR_STROKE:
- case INPUT_MODE_SM_STROKE:
- case INPUT_MODE_SMART_UPPERCASE_ABC:
- case INPUT_MODE_SMART_LOWERCASE_ABC:
- case INPUT_MODE_TR_MULTITAP_BOPOMO:
- case INPUT_MODE_SM_MULTITAP_PINYIN:
- case INPUT_MODE_SMART_THAI:
- case INPUT_MODE_SMART_UPPERCASE_SPANISH:
- case INPUT_MODE_SMART_LOWERCASE_SPANISH:
- case INPUT_MODE_SMART_HEBREW:
- #if defined(__MMI_T9_DANISH__)
- case INPUT_MODE_SMART_UPPERCASE_DANISH:
- case INPUT_MODE_SMART_LOWERCASE_DANISH:
- #endif /* defined(__MMI_T9_DANISH__) */
- case INPUT_MODE_SMART_UPPERCASE_POLISH:
- case INPUT_MODE_SMART_LOWERCASE_POLISH:
- case INPUT_MODE_SMART_UPPERCASE_FRENCH:
- case INPUT_MODE_SMART_LOWERCASE_FRENCH:
- case INPUT_MODE_SMART_UPPERCASE_GERMAN:
- case INPUT_MODE_SMART_LOWERCASE_GERMAN:
- case INPUT_MODE_SMART_UPPERCASE_ITALIAN:
- case INPUT_MODE_SMART_LOWERCASE_ITALIAN:
- #if defined(__MMI_T9_VIETNAMESE__)
- case INPUT_MODE_SMART_UPPERCASE_VIETNAMESE:
- case INPUT_MODE_SMART_LOWERCASE_VIETNAMESE:
- #endif /* defined(__MMI_T9_VIETNAMESE__) */
- #if defined(__MMI_T9_INDONESIAN__)
- case INPUT_MODE_SMART_UPPERCASE_INDONESIAN:
- case INPUT_MODE_SMART_LOWERCASE_INDONESIAN:
- #endif /* defined(__MMI_T9_INDONESIAN__) */
- case INPUT_MODE_SMART_UPPERCASE_TURKISH:
- case INPUT_MODE_SMART_LOWERCASE_TURKISH:
- case INPUT_MODE_SMART_UPPERCASE_CZECH:
- case INPUT_MODE_SMART_LOWERCASE_CZECH:
- case INPUT_MODE_SMART_UPPERCASE_RUSSIAN:
- case INPUT_MODE_SMART_LOWERCASE_RUSSIAN:
- case INPUT_MODE_SMART_UPPERCASE_BULGARIAN:
- case INPUT_MODE_SMART_LOWERCASE_BULGARIAN:
- #if defined(__MMI_T9_PORTUGUESE__)
- case INPUT_MODE_SMART_UPPERCASE_PORTUGUESE:
- case INPUT_MODE_SMART_LOWERCASE_PORTUGUESE:
- #endif /* defined(__MMI_T9_PORTUGUESE__) */
- #if defined(__MMI_T9_FINNISH__)
- case INPUT_MODE_SMART_UPPERCASE_FINNISH:
- case INPUT_MODE_SMART_LOWERCASE_FINNISH:
- #endif /* defined(__MMI_T9_FINNISH__) */
- #if defined(__MMI_T9_HUNGARIAN__)
- case INPUT_MODE_SMART_UPPERCASE_HUNGARIAN:
- case INPUT_MODE_SMART_LOWERCASE_HUNGARIAN:
- #endif /* defined(__MMI_T9_HUNGARIAN__) */
- #if defined(__MMI_T9_ARABIC__)
- case INPUT_MODE_SMART_ARABIC:
- #endif
- #if defined(__MMI_T9_HINDI__)
- case INPUT_MODE_SMART_HINDI:
- #endif
- #if defined(__MMI_T9_NORWEGIAN__)
- case INPUT_MODE_SMART_UPPERCASE_NORWEGIAN:
- case INPUT_MODE_SMART_LOWERCASE_NORWEGIAN:
- #endif /* defined(__MMI_T9_NORWEGIAN__) */
- #if defined(__MMI_T9_DUTCH__)
- case INPUT_MODE_SMART_UPPERCASE_DUTCH:
- case INPUT_MODE_SMART_LOWERCASE_DUTCH:
- #endif /* defined(__MMI_T9_DUTCH__) */
- #if defined(__MMI_T9_SLOVENIAN__)
- case INPUT_MODE_SMART_UPPERCASE_SLOVENIAN:
- case INPUT_MODE_SMART_LOWERCASE_SLOVENIAN:
- #endif /* defined(__MMI_T9_SLOVENIAN__) */
- #if defined(__MMI_T9_SWEDISH__)
- case INPUT_MODE_SMART_UPPERCASE_SWEDISH:
- case INPUT_MODE_SMART_LOWERCASE_SWEDISH:
- #endif /* defined(__MMI_T9_SWEDISH__) */
- #if defined(__MMI_T9_GREEK__)
- case INPUT_MODE_SMART_UPPERCASE_GREEK:
- case INPUT_MODE_SMART_LOWERCASE_GREEK:
- #endif /* defined(__MMI_T9_GREEK__) */
- #if defined(__MMI_T9_MALAY__)
- case INPUT_MODE_SMART_UPPERCASE_MALAY:
- case INPUT_MODE_SMART_LOWERCASE_MALAY:
- #endif /* defined(__MMI_T9_MALAY__) */
- #if defined(__MMI_T9_CROATIAN__)
- case INPUT_MODE_SMART_UPPERCASE_CROATIAN:
- case INPUT_MODE_SMART_LOWERCASE_CROATIAN:
- #endif /* defined(__MMI_T9_CROATIAN__) */
- #if defined(__MMI_T9_SLOVAK__)
- case INPUT_MODE_SMART_UPPERCASE_SLOVAK:
- case INPUT_MODE_SMART_LOWERCASE_SLOVAK:
- #endif /* defined(__MMI_T9_SLOVAK__) */
- #if defined(__MMI_T9_ROMANIAN__)
- case INPUT_MODE_SMART_UPPERCASE_ROMANIAN:
- case INPUT_MODE_SMART_LOWERCASE_ROMANIAN:
- #endif /* defined(__MMI_T9_ROMANIAN__) */
- T9ChangeLanguageForEMSInputBox(mode);
- T9ClearKeyStarAndPoundHandler();
- T9ClearKeyNavigationHandler();
- T9ClearKey0To9Handler();
- //clear_right_softkey();
- //register_MMI_key_input_handler();
- /* W06.09 Touch Screen With Keypad V1 */
- #if !defined(__MMI_TOUCH_SCREEN__)
- #if !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__)
- /* dara add for t9 thai */
- if (mode == INPUT_MODE_SMART_THAI)
- {
- SetKeyHandler(handle_category28_change_input_mode, KEY_POUND, KEY_LONG_PRESS);
- SetKeyHandler(T9KeyPoundPressHandlerForEMSInputBox, KEY_POUND, KEY_EVENT_DOWN);
- }
- else
- {
- SetKeyHandler(handle_category28_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- }
- #else /* !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__) */
- SetKeyHandler(T9KeyPoundPressHandlerForEMSInputBox, KEY_POUND, KEY_EVENT_DOWN);
- /* W05.41 Long Press Key * to select symbols when __MMI_MULTITAP_FOR_STAR_AND_POUND__ */
- SetKeyHandler(wgui_EMS_inputbox_handle_symbol_picker_star_key, KEY_STAR, KEY_LONG_PRESS);
- #endif /* !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__) */
- #endif /* !defined(__MMI_TOUCH_SCREEN__) */
- SetKeyHandler(T9KeyStarPressHandlerForEMSInputBox, KEY_STAR, KEY_EVENT_DOWN);
- /* set key arrow handler */
- SetKeyHandler(T9KeyArrowUPHandlerForEMSInputBox, KEY_UP_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(T9KeyArrowRightHandlerForEMSInputBox, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(T9KeyArrowDownHandlerForEMSInputBox, KEY_DOWN_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(T9KeyArrowLeftHandlerForEMSInputBox, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- /* register_key_down_handler(T9Key0To9HandlerForEMSInputBox); */
- SetKeyHandler(T9Key0PressHandlerForEMSInputBox, KEY_0, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key1PressHandlerForEMSInputBox, KEY_1, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key2PressHandlerForEMSInputBox, KEY_2, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key3PressHandlerForEMSInputBox, KEY_3, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key4PressHandlerForEMSInputBox, KEY_4, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key5PressHandlerForEMSInputBox, KEY_5, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key6PressHandlerForEMSInputBox, KEY_6, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key7PressHandlerForEMSInputBox, KEY_7, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key8PressHandlerForEMSInputBox, KEY_8, KEY_EVENT_DOWN);
- SetKeyHandler(T9Key9PressHandlerForEMSInputBox, KEY_9, KEY_EVENT_DOWN);
- wgui_set_EMS_inputbox_RSK();
- set_right_softkey_function(UI_dummy_function, KEY_EVENT_DOWN);
- set_right_softkey_function(UI_dummy_function, KEY_EVENT_LONG_PRESS);
- #if !defined(__MMI_TOUCH_SCREEN__)
- T9SynT9WithInputBoxForEMSInputBox();
- T9ScreenStateChnageForEMSInputBox();
- T9InputBoxDisplayForEMSInputBox();
- #else /* !defined(__MMI_TOUCH_SCREEN__) */
- register_EMS_inputbox_keys();
- wgui_set_EMS_inputbox_RSK();
- #endif /* !defined(__MMI_TOUCH_SCREEN__) */
- #elif defined __MMI_ZI__
- case INPUT_MODE_TR_BOPOMO:
- case INPUT_MODE_SM_PINYIN:
- case INPUT_MODE_TR_STROKE:
- case INPUT_MODE_SM_STROKE:
- case INPUT_MODE_SMART_UPPERCASE_ABC:
- case INPUT_MODE_SMART_LOWERCASE_ABC:
- case INPUT_MODE_TR_MULTITAP_BOPOMO:
- case INPUT_MODE_SM_MULTITAP_PINYIN:
- case INPUT_MODE_SMART_THAI:
- /* MTK Elvis for R2L characters */
- case INPUT_MODE_SMART_ARABIC:
- //PMT START PERSIAN
- case INPUT_MODE_SMART_PERSIAN:
- //PMT END PERSIAN
- case INPUT_MODE_SMART_HINDI:
- case INPUT_MODE_SMART_HEBREW:
- case INPUT_MODE_SMART_UPPERCASE_SPANISH:
- case INPUT_MODE_SMART_LOWERCASE_SPANISH:
- #if defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) /* Danish-Vikas */
- case INPUT_MODE_SMART_UPPERCASE_DANISH:
- case INPUT_MODE_SMART_LOWERCASE_DANISH:
- #endif /* defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__) */
- case INPUT_MODE_SMART_UPPERCASE_POLISH:
- case INPUT_MODE_SMART_LOWERCASE_POLISH:
- case INPUT_MODE_SMART_UPPERCASE_NORWEGIAN:
- case INPUT_MODE_SMART_LOWERCASE_NORWEGIAN:
- case INPUT_MODE_SMART_UPPERCASE_FRENCH:
- case INPUT_MODE_SMART_LOWERCASE_FRENCH:
- case INPUT_MODE_SMART_UPPERCASE_GERMAN:
- case INPUT_MODE_SMART_LOWERCASE_GERMAN:
- case INPUT_MODE_SMART_UPPERCASE_ITALIAN:
- case INPUT_MODE_SMART_LOWERCASE_ITALIAN:
- case INPUT_MODE_SMART_UPPERCASE_RUSSIAN:
- case INPUT_MODE_SMART_LOWERCASE_RUSSIAN:
- case INPUT_MODE_SMART_UPPERCASE_BULGARIAN:
- case INPUT_MODE_SMART_LOWERCASE_BULGARIAN:
- case INPUT_MODE_SMART_UPPERCASE_TURKISH:
- case INPUT_MODE_SMART_LOWERCASE_TURKISH:
- case INPUT_MODE_SMART_UPPERCASE_PORTUGUESE:
- case INPUT_MODE_SMART_LOWERCASE_PORTUGUESE:
- case INPUT_MODE_SMART_UPPERCASE_INDONESIAN:
- case INPUT_MODE_SMART_LOWERCASE_INDONESIAN:
- case INPUT_MODE_SMART_UPPERCASE_CZECH:
- case INPUT_MODE_SMART_LOWERCASE_CZECH:
- case INPUT_MODE_SMART_UPPERCASE_MALAY:
- case INPUT_MODE_SMART_LOWERCASE_MALAY:
- case INPUT_MODE_SMART_UPPERCASE_VIETNAMESE:
- case INPUT_MODE_SMART_LOWERCASE_VIETNAMESE:
- #if defined(__MMI_ZI_FINNISH__)
- case INPUT_MODE_SMART_UPPERCASE_FINNISH:
- case INPUT_MODE_SMART_LOWERCASE_FINNISH:
- #endif /* defined(__MMI_ZI_FINNISH__) */
- #if defined(__MMI_ZI_HUNGARIAN__)
- case INPUT_MODE_SMART_UPPERCASE_HUNGARIAN:
- case INPUT_MODE_SMART_LOWERCASE_HUNGARIAN:
- #endif /* defined(__MMI_ZI_HUNGARIAN__) */
- #if defined(__MMI_ZI_SLOVAK__)
- case INPUT_MODE_SMART_UPPERCASE_SLOVAK:
- case INPUT_MODE_SMART_LOWERCASE_SLOVAK:
- #endif /* defined(__MMI_ZI_SLOVAK__) */
- #if defined(__MMI_ZI_DUTCH__)
- case INPUT_MODE_SMART_UPPERCASE_DUTCH:
- case INPUT_MODE_SMART_LOWERCASE_DUTCH:
- #endif /* defined(__MMI_ZI_DUTCH__) */
- #if defined(__MMI_ZI_SWEDISH__)
- case INPUT_MODE_SMART_UPPERCASE_SWEDISH:
- case INPUT_MODE_SMART_LOWERCASE_SWEDISH:
- #endif /* defined(__MMI_ZI_SWEDISH__) */
- #if defined(__MMI_ZI_CROATIAN__)
- case INPUT_MODE_SMART_UPPERCASE_CROATIAN:
- case INPUT_MODE_SMART_LOWERCASE_CROATIAN:
- #endif /* defined(__MMI_ZI_CROATIAN__) */
- #if defined(__MMI_ZI_ROMANIAN__)
- case INPUT_MODE_SMART_UPPERCASE_ROMANIAN:
- case INPUT_MODE_SMART_LOWERCASE_ROMANIAN:
- #endif /* defined(__MMI_ZI_ROMANIAN__) */
- #if defined(__MMI_ZI_SLOVENIAN__)
- case INPUT_MODE_SMART_UPPERCASE_SLOVENIAN:
- case INPUT_MODE_SMART_LOWERCASE_SLOVENIAN:
- #endif /* defined(__MMI_ZI_SLOVENIAN__) */
- #if defined(__MMI_ZI_GREEK__)
- case INPUT_MODE_SMART_UPPERCASE_GREEK:
- case INPUT_MODE_SMART_LOWERCASE_GREEK:
- #endif /* defined(__MMI_ZI_GREEK__) */
- ZiChangeInputMethod((INPUT_MODE) mode);
- ZiClearKeyStarAndPoundHandler();
- ZiClearKeyNavigationHandler();
- ZiClearKey0To9Handler();
- /* set key arrow handler */
- SetKeyHandler(ZiKeyArrowUPHandler, KEY_UP_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKeyArrowRightHandler, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKeyArrowDownHandler, KEY_DOWN_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKeyArrowLeftHandler, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey0PressHandler, KEY_0, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey1PressHandler, KEY_1, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey2PressHandler, KEY_2, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey3PressHandler, KEY_3, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey4PressHandler, KEY_4, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey5PressHandler, KEY_5, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey6PressHandler, KEY_6, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey7PressHandler, KEY_7, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey8PressHandler, KEY_8, KEY_EVENT_DOWN);
- SetKeyHandler(ZiKey9PressHandler, KEY_9, KEY_EVENT_DOWN);
- /* MTK Terry For RSK Display */
- handle_category28_input();
- /* register the star and hash key handkers */
- SetKeyHandler(EntrySymbolPickerScreen, KEY_STAR, KEY_EVENT_DOWN);
- /* W06.09 Touch Screen With Keypad V1 */
- #if !defined(__MMI_TOUCH_SCREEN__)
- SetKeyHandler(handle_category28_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- ZiDisplay();
- #else /* !defined(__MMI_TOUCH_SCREEN__) */
- register_EMS_inputbox_keys();
- wgui_set_EMS_inputbox_RSK();
- #endif /* !defined(__MMI_TOUCH_SCREEN__) */
- //KP Jerry add on 2007-3-8 start
- #elif defined __MMI_CSTAR__
- #if defined(__MMI_CSTAR_TR_CHINESE__)
- case INPUT_MODE_TR_BOPOMO:
- case INPUT_MODE_TR_STROKE:
- #endif
- #if defined(__MMI_CSTAR_SM_CHINESE__)
- case INPUT_MODE_SM_PINYIN:
- case INPUT_MODE_SM_STROKE:
- #endif
- case INPUT_MODE_SMART_UPPERCASE_ABC:
- case INPUT_MODE_SMART_LOWERCASE_ABC:
- #if defined(__MMI_CSTAR_THAI__)
- case INPUT_MODE_SMART_THAI:
- #endif
- #if defined(__MMI_CSTAR_SPANISH__)
- case INPUT_MODE_SMART_UPPERCASE_SPANISH:
- case INPUT_MODE_SMART_LOWERCASE_SPANISH:
- #endif
- #if defined(__MMI_CSTAR_HEBREW__)
- case INPUT_MODE_SMART_HEBREW:
- #endif
- #if defined(__MMI_CSTAR_DANISH__)
- case INPUT_MODE_SMART_UPPERCASE_DANISH:
- case INPUT_MODE_SMART_LOWERCASE_DANISH:
- #endif
- #if defined(__MMI_CSTAR_POLISH__)
- case INPUT_MODE_SMART_UPPERCASE_POLISH:
- case INPUT_MODE_SMART_LOWERCASE_POLISH:
- #endif
- #if defined(__MMI_CSTAR_FRENCH__)
- case INPUT_MODE_SMART_UPPERCASE_FRENCH:
- case INPUT_MODE_SMART_LOWERCASE_FRENCH:
- #endif
- #if defined(__MMI_CSTAR_GERMAN__)
- case INPUT_MODE_SMART_UPPERCASE_GERMAN:
- case INPUT_MODE_SMART_LOWERCASE_GERMAN:
- #endif
- #if defined(__MMI_CSTAR_ITALIAN__)
- case INPUT_MODE_SMART_UPPERCASE_ITALIAN:
- case INPUT_MODE_SMART_LOWERCASE_ITALIAN:
- #endif
- #if defined(__MMI_CSTAR_VIETNAMESE__)
- case INPUT_MODE_SMART_UPPERCASE_VIETNAMESE:
- case INPUT_MODE_SMART_LOWERCASE_VIETNAMESE:
- #endif
- #if defined(__MMI_CSTAR_INDONESIAN__)
- case INPUT_MODE_SMART_UPPERCASE_INDONESIAN:
- case INPUT_MODE_SMART_LOWERCASE_INDONESIAN:
- #endif
- #if defined(__MMI_CSTAR_TURKISH__)
- case INPUT_MODE_SMART_UPPERCASE_TURKISH:
- case INPUT_MODE_SMART_LOWERCASE_TURKISH:
- #endif
- #if defined(__MMI_CSTAR_CZECH__)
- case INPUT_MODE_SMART_UPPERCASE_CZECH:
- case INPUT_MODE_SMART_LOWERCASE_CZECH:
- #endif
- #if defined(__MMI_CSTAR_RUSSIAN__)
- case INPUT_MODE_SMART_UPPERCASE_RUSSIAN:
- case INPUT_MODE_SMART_LOWERCASE_RUSSIAN:
- #endif
- #if defined(__MMI_CSTAR_BULGARIAN__)
- case INPUT_MODE_SMART_UPPERCASE_BULGARIAN:
- case INPUT_MODE_SMART_LOWERCASE_BULGARIAN:
- #endif
- #if defined(__MMI_CSTAR_PORTUGUESE__)
- case INPUT_MODE_SMART_UPPERCASE_PORTUGUESE:
- case INPUT_MODE_SMART_LOWERCASE_PORTUGUESE:
- #endif
- #if defined(__MMI_CSTAR_FINNISH__)
- case INPUT_MODE_SMART_UPPERCASE_FINNISH:
- case INPUT_MODE_SMART_LOWERCASE_FINNISH:
- #endif
- #if defined(__MMI_CSTAR_HUNGARIAN__)
- case INPUT_MODE_SMART_UPPERCASE_HUNGARIAN:
- case INPUT_MODE_SMART_LOWERCASE_HUNGARIAN:
- #endif
- #if defined(__MMI_CSTAR_ARABIC__)
- case INPUT_MODE_SMART_ARABIC:
- #endif
- #if defined(__MMI_CSTAR_HINDI__)
- case INPUT_MODE_SMART_HINDI:
- #endif
- #if defined(__MMI_CSTAR_NORWEGIAN__)
- case INPUT_MODE_SMART_UPPERCASE_NORWEGIAN:
- case INPUT_MODE_SMART_LOWERCASE_NORWEGIAN:
- #endif
- #if defined(__MMI_CSTAR_DUTCH__)
- case INPUT_MODE_SMART_UPPERCASE_DUTCH:
- case INPUT_MODE_SMART_LOWERCASE_DUTCH:
- #endif
- #if defined(__MMI_CSTAR_SLOVENIAN__)
- case INPUT_MODE_SMART_UPPERCASE_SLOVENIAN:
- case INPUT_MODE_SMART_LOWERCASE_SLOVENIAN:
- #endif
- #if defined(__MMI_CSTAR_SWEDISH__)
- case INPUT_MODE_SMART_UPPERCASE_SWEDISH:
- case INPUT_MODE_SMART_LOWERCASE_SWEDISH:
- #endif
- #if defined(__MMI_CSTAR_GREEK__)
- case INPUT_MODE_SMART_UPPERCASE_GREEK:
- case INPUT_MODE_SMART_LOWERCASE_GREEK:
- #endif
- #if defined(__MMI_CSTAR_MALAY__)
- case INPUT_MODE_SMART_UPPERCASE_MALAY:
- case INPUT_MODE_SMART_LOWERCASE_MALAY:
- #endif
- #if defined(__MMI_CSTAR_CROATIAN__)
- case INPUT_MODE_SMART_UPPERCASE_CROATIAN:
- case INPUT_MODE_SMART_LOWERCASE_CROATIAN:
- #endif
- #if defined(__MMI_CSTAR_SLOVAK__)
- case INPUT_MODE_SMART_UPPERCASE_SLOVAK:
- case INPUT_MODE_SMART_LOWERCASE_SLOVAK:
- #endif
- #if defined(__MMI_CSTAR_ROMANIAN__)
- case INPUT_MODE_SMART_UPPERCASE_ROMANIAN:
- case INPUT_MODE_SMART_LOWERCASE_ROMANIAN:
- #endif
- CstarChangeInputMethod(mode);
- CstarClearKeyStarAndPoundHandler();
- CstarClearKeyNavigationHandler();
- CstarClearKey0To9Handler();
- SetKeyHandler(CstarKeyArrowUpHandler, KEY_UP_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKeyArrowRightHandler, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKeyArrowDownHandler, KEY_DOWN_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKeyArrowLeftHandler, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey0PressHandler, KEY_0, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey1PressHandler, KEY_1, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey2PressHandler, KEY_2, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey3PressHandler, KEY_3, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey4PressHandler, KEY_4, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey5PressHandler, KEY_5, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey6PressHandler, KEY_6, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey7PressHandler, KEY_7, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey8PressHandler, KEY_8, KEY_EVENT_DOWN);
- SetKeyHandler(CstarKey9PressHandler, KEY_9, KEY_EVENT_DOWN);
- set_left_softkey_function(CstarKeyLSKPressHandler, KEY_EVENT_DOWN);
- #if defined(__MMI_WITH_C_KEY__)
- SetKeyHandler(CstarKeyRSKPressHandler, KEY_CLEAR, KEY_EVENT_DOWN);
- SetKeyHandler(UI_dummy_function, KEY_CLEAR, KEY_EVENT_UP);
- SetKeyHandler(CstarKeyRSKLongPressHandler, KEY_CLEAR, KEY_EVENT_LONG_PRESS);
- set_right_softkey_function(GoBackHistory, KEY_EVENT_DOWN);
- #else
- set_right_softkey_function(CstarKeyRSKPressHandler, KEY_EVENT_DOWN);
- set_right_softkey_function(CstarKeyRSKLongPressHandler, KEY_EVENT_LONG_PRESS);
- #endif
- #if defined(__MMI_TOUCH_SCREEN__)
- register_EMS_inputbox_keys();
- wgui_set_EMS_inputbox_RSK();
- SetKeyHandler(EntrySymbolPickerScreen, KEY_STAR, KEY_EVENT_DOWN);
- SetKeyHandler(mmi_pen_editor_switch_input_method, KEY_POUND, KEY_EVENT_DOWN);
- #else
- SetKeyHandler(CstarKeyStarPressHandler, KEY_STAR, KEY_EVENT_DOWN);
- SetKeyHandler(handle_category28_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- #endif
- CstarDisplay();
- //KP Jerry add on 2007-3-8 end
- #elif defined __MMI_KA__
- case INPUT_MODE_SM_PINYIN:
- case INPUT_MODE_SM_STROKE:
- KonkaChangeInputMethod(mode);
- KonkaClearKeyStarAndPoundHandler();
- KonkaClearKeyNavigationHandler();
- KonkaClearKey0To9Handler();
- clear_right_softkey();
- clear_left_softkey();
- /* set key arrow handler */
- SetKeyHandler(KonkaKeyArrowUPHandler, KEY_UP_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKeyArrowRightHandler, KEY_RIGHT_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKeyArrowDownHandler, KEY_DOWN_ARROW, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKeyArrowLeftHandler, KEY_LEFT_ARROW, KEY_EVENT_DOWN);
- /* register_key_down_handler(T9Key0To9HandlerForEMSInputBox); */
- SetKeyHandler(KonkaKey0PressHandler, KEY_0, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey1PressHandler, KEY_1, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey2PressHandler, KEY_2, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey3PressHandler, KEY_3, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey4PressHandler, KEY_4, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey5PressHandler, KEY_5, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey6PressHandler, KEY_6, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey7PressHandler, KEY_7, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey8PressHandler, KEY_8, KEY_EVENT_DOWN);
- SetKeyHandler(KonkaKey9PressHandler, KEY_9, KEY_EVENT_DOWN);
- /* register the star and hash key handkers */
- SetKeyHandler(EntrySymbolPickerScreen, KEY_STAR, KEY_EVENT_DOWN);
- SetKeyHandler(handle_category28_change_input_mode, KEY_POUND, KEY_EVENT_DOWN);
- /* register the L and R softkey handlers */
- set_right_softkey_function(KonkaKeyRSKPressHandler, KEY_EVENT_DOWN);
- set_right_softkey_function(KonkaKeyRSKLongPressHandler, KEY_EVENT_LONG_PRESS);
- set_left_softkey_function(KonkaKeyLSKPressHandler, KEY_EVENT_UP);
- set_left_softkey_function(KonkaKeyLSKLongPressHandler, KEY_EVENT_LONG_PRESS);
- KonkaDisplay();
- #elif defined __MMI_ITAP__
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- /* under construction !*/
- #endif
- break;
- }
- #if !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__)
- #else /* !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__) */
- if (wgui_EMS_inputbox_handle_symbol_picker_star_key == currKeyFuncPtrs[KEY_STAR][KEY_EVENT_DOWN])
- {
- ClearKeyHandler(KEY_STAR, KEY_EVENT_DOWN);
- /* W05.41 Long Press Key * to select symbols when __MMI_MULTITAP_FOR_STAR_AND_POUND__ */
- SetKeyHandler(wgui_EMS_inputbox_handle_symbol_picker_star_key, KEY_STAR, KEY_LONG_PRESS);
- }
- SetKeyHandler(handle_category28_change_input_mode, KEY_POUND, KEY_REPEAT);
- #endif /* !defined(__MMI_MULTITAP_FOR_STAR_AND_POUND__) */
- }
- /*****************************************************************************
- * FUNCTION
- * change_EMS_inputbox_input_mode
- * DESCRIPTION
- *
- * PARAMETERS
- * void
- * RETURNS
- * void
- *****************************************************************************/
- void change_EMS_inputbox_input_mode(void)
- {
- /*----------------------------------------------------------------*/
- /* Local Variables */
- /*----------------------------------------------------------------*/
- /*----------------------------------------------------------------*/
- /* Code Body */
- /*----------------------------------------------------------------*/
- change_EMS_inputbox_mode(MMI_current_input_mode);
- }