wgui_categories_inputs.c
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:1705k
源码类别:

MTK

开发平台:

C/C++

  1. /*****************************************************************************
  2.  * FUNCTION
  3.  *  concate_messages
  4.  * DESCRIPTION
  5.  *  
  6.  * PARAMETERS
  7.  *  list_of_msg     [?]         
  8.  *  type_of_msg     [IN]        
  9.  * RETURNS
  10.  *  void
  11.  *****************************************************************************/
  12. void concate_messages(U8 *list_of_msg, U8 type_of_msg)
  13. {
  14.     /*----------------------------------------------------------------*/
  15.     /* Local Variables                                                */
  16.     /*----------------------------------------------------------------*/
  17.     S32 len = 0;
  18.     S32 messageLen = 0;
  19.     S32 nCount = 0;
  20.     S32 nTemp;
  21.     U8 separator = ':';
  22.     /*----------------------------------------------------------------*/
  23.     /* Code Body                                                      */
  24.     /*----------------------------------------------------------------*/
  25.     len = pfnUnicodeStrlen((PS8) chat_message);
  26.     messageLen = pfnUnicodeStrlen((PS8) list_of_msg);
  27.     if (len * ENCODING_LENGTH > CHAT_MESSAGE_BUFFER)
  28.     {
  29.         memset(chat_message, 0, CHAT_MESSAGE_BUFFER);
  30.     }
  31.     if (type_of_msg == LOCAL)
  32.     {
  33.         pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_grp_ch);
  34.     }
  35.     else if (type_of_msg == SENDER)
  36.     {
  37.         pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_file_ch);
  38.     }
  39.     else if (type_of_msg == SENDER_TRUNCATED)
  40.     {
  41.         pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_sender_truncate);
  42.     }
  43.     else
  44.     {
  45.         pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_receiver_truncate);
  46.     }
  47.     while ((nCount < ((MAX_CHAT_NICKNAME_SIZE) * ENCODING_LENGTH)) && (nCount < messageLen * ENCODING_LENGTH))
  48.     {
  49.         if (list_of_msg[nCount] == separator)
  50.         {
  51.             if (nCount) /* If separator is the first character then skip it, else if it is not add */
  52.             {
  53.                 nTemp = nCount + ENCODING_LENGTH;
  54.                 pfnUnicodeStrncat((PS8) chat_message, (PS8) list_of_msg, nTemp / ENCODING_LENGTH);
  55.                 pfnUnicodeStrcat((PS8) ((chat_message) + nTemp), (PS8) uni_str_new_line);
  56.                 if (type_of_msg == SENDER_TRUNCATED || type_of_msg == RECEIVER_TRUNCATED)
  57.                 {
  58.                     pfnUnicodeStrcat((PS8) chat_message, (PS8) gChatTruncateSymbol);
  59.                 }
  60.                 pfnUnicodeStrcat((PS8) chat_message, (PS8) (list_of_msg + nTemp));
  61.                 break;
  62.             }
  63.         }
  64.         nCount += ENCODING_LENGTH;
  65.     }
  66.     if ((nCount >= (MAX_CHAT_NICKNAME_SIZE * ENCODING_LENGTH)) || (nCount >= messageLen * ENCODING_LENGTH))
  67.     {
  68.         if (type_of_msg == SENDER_TRUNCATED || type_of_msg == RECEIVER_TRUNCATED)
  69.         {
  70.             pfnUnicodeStrcat((PS8) chat_message, (PS8) gChatTruncateSymbol);
  71.         }
  72.         pfnUnicodeStrcat((PS8) chat_message, (PS8) list_of_msg);
  73.     }
  74.     pfnUnicodeStrcat((PS8) chat_message, (PS8) uni_str_new_line);
  75.     PRINT_INFORMATION(("n CHAT MESSAGE  %s  ", chat_message));
  76. }
  77. /*****************************************************************************
  78.  * FUNCTION
  79.  *  ShowCatMessage
  80.  * DESCRIPTION
  81.  *  
  82.  * PARAMETERS
  83.  *  message         [?]         
  84.  *  type_of_msg     [IN]        
  85.  * RETURNS
  86.  *  void
  87.  *****************************************************************************/
  88. void ShowCatMessage(U8 *message, U8 type_of_msg)
  89. {
  90.     /*----------------------------------------------------------------*/
  91.     /* Local Variables                                                */
  92.     /*----------------------------------------------------------------*/
  93.     S32 index = 0;
  94.     /*----------------------------------------------------------------*/
  95.     /* Code Body                                                      */
  96.     /*----------------------------------------------------------------*/
  97.     concate_messages(message, type_of_msg);
  98.     /* concate_messages(message,type_of_msg,(U8)index); */
  99.     MMI_multiline_inputbox.text = (UI_buffer_type) chat_message;
  100.     MMI_multiline_inputbox.cursor_p = chat_message;
  101.     gui_set_font(&MMI_medium_font);
  102.     show_multiline_inputbox_no_draw();
  103.     for (index = 0; index < (MMI_multiline_inputbox.n_lines); index++)
  104.     {
  105.         gui_multi_line_input_box_next_line(&MMI_multiline_inputbox);
  106.     }
  107.     show_multiline_inputbox();
  108.     gdi_layer_blt_previous(
  109.         MMI_multiline_inputbox.x,
  110.         MMI_multiline_inputbox.y,
  111.         (MMI_multiline_inputbox.x + MMI_multiline_inputbox.width),
  112.         (MMI_multiline_inputbox.y + MMI_multiline_inputbox.height));
  113. }
  114. /*****************************************************************************
  115.  * FUNCTION
  116.  *  initialize_chat_msg
  117.  * DESCRIPTION
  118.  *  
  119.  * PARAMETERS
  120.  *  void
  121.  * RETURNS
  122.  *  void
  123.  *****************************************************************************/
  124. void initialize_chat_msg(void)
  125. {
  126.     /*----------------------------------------------------------------*/
  127.     /* Local Variables                                                */
  128.     /*----------------------------------------------------------------*/
  129.     /*----------------------------------------------------------------*/
  130.     /* Code Body                                                      */
  131.     /*----------------------------------------------------------------*/
  132.     memset(chat_message, 0, CHAT_MESSAGE_BUFFER);
  133. }
  134. /*****************************************************************************
  135.  * FUNCTION
  136.  *  cat_305_scrolling_timer
  137.  * DESCRIPTION
  138.  *  
  139.  * PARAMETERS
  140.  *  void
  141.  * RETURNS
  142.  *  void
  143.  *****************************************************************************/
  144. void cat_305_scrolling_timer(void)
  145. {
  146.     /*----------------------------------------------------------------*/
  147.     /* Local Variables                                                */
  148.     /*----------------------------------------------------------------*/
  149.     /*----------------------------------------------------------------*/
  150.     /* Code Body                                                      */
  151.     /*----------------------------------------------------------------*/
  152.     gui_handle_scrolling_text(&wgui_category305_scrolling_text);
  153. }
  154. /*****************************************************************************
  155.  * FUNCTION
  156.  *  wgui_draw_305_title_background
  157.  * DESCRIPTION
  158.  *  
  159.  * PARAMETERS
  160.  *  x1      [IN]        
  161.  *  y1      [IN]        
  162.  *  x2      [IN]        
  163.  *  y2      [IN]        
  164.  * RETURNS
  165.  *  void
  166.  *****************************************************************************/
  167. void wgui_draw_305_title_background(S32 x1, S32 y1, S32 x2, S32 y2)
  168. {
  169.     /*----------------------------------------------------------------*/
  170.     /* Local Variables                                                */
  171.     /*----------------------------------------------------------------*/
  172.     /*----------------------------------------------------------------*/
  173.     /* Code Body                                                      */
  174.     /*----------------------------------------------------------------*/
  175.     gui_set_font(&MMI_medium_font);
  176.     gui_draw_filled_area(x1, y1, x2, y2, &greenwgui_color_dialog_background);
  177. }
  178. /*****************************************************************************
  179.  * FUNCTION
  180.  *  ExitCategory305Screen
  181.  * DESCRIPTION
  182.  *  
  183.  * PARAMETERS
  184.  *  void
  185.  * RETURNS
  186.  *  void
  187.  *****************************************************************************/
  188. void ExitCategory305Screen(void)
  189. {
  190.     /*----------------------------------------------------------------*/
  191.     /* Local Variables                                                */
  192.     /*----------------------------------------------------------------*/
  193.     /*----------------------------------------------------------------*/
  194.     /* Code Body                                                      */
  195.     /*----------------------------------------------------------------*/
  196.     ClearHighlightHandler();
  197.     reset_softkeys();
  198.     reset_menu_shortcut_handler();
  199.     close_status_icons();
  200.     gui_set_multi_line_input_box_current_theme(&MMI_multiline_inputbox);
  201.     gui_cancel_timer(cat_305_scrolling_timer);
  202.     reset_fixed_list();
  203.     if ( chat_message != NULL )
  204.     {
  205.         mmi_frm_scrmem_free(chat_message);
  206.         chat_message = NULL;
  207.     }
  208. }
  209. /*****************************************************************************
  210.  * FUNCTION
  211.  *  GetCategory305HistorySize
  212.  * DESCRIPTION
  213.  *  
  214.  * PARAMETERS
  215.  *  void
  216.  * RETURNS
  217.  *  
  218.  *****************************************************************************/
  219. S32 GetCategory305HistorySize(void)
  220. {
  221.     /*----------------------------------------------------------------*/
  222.     /* Local Variables                                                */
  223.     /*----------------------------------------------------------------*/
  224.     /*----------------------------------------------------------------*/
  225.     /* Code Body                                                      */
  226.     /*----------------------------------------------------------------*/
  227.     return (sizeof(multiline_inputbox_category_history));
  228. }
  229. /*****************************************************************************
  230.  * FUNCTION
  231.  *  GetCategory305History
  232.  * DESCRIPTION
  233.  *  Gets the history buffer for category5 screen
  234.  * PARAMETERS
  235.  *  history_buffer      [IN]        Is the buffer into which the history data is stored (pre-allocated)
  236.  * RETURNS
  237.  *  Pointer to the history buffer
  238.  *****************************************************************************/
  239. U8 *GetCategory305History(U8 *history_buffer)
  240. {
  241.     /*----------------------------------------------------------------*/
  242.     /* Local Variables                                                */
  243.     /*----------------------------------------------------------------*/
  244.     /*----------------------------------------------------------------*/
  245.     /* Code Body                                                      */
  246.     /*----------------------------------------------------------------*/
  247.     get_multiline_inputbox_category_history(MMI_CATEGORY305_ID, history_buffer, MMI_current_input_type);
  248.     return (history_buffer);
  249. }
  250. /*****************************************************************************
  251.  * FUNCTION
  252.  *  DrawCate305CategoryControlArea
  253.  * DESCRIPTION
  254.  *  This function is used to draw the category controlled area of category305 screen
  255.  * PARAMETERS
  256.  *  coordinate      [IN/OUT]        Coordinates of category controlled area.
  257.  * RETURNS
  258.  *  void
  259.  *****************************************************************************/
  260.  extern U8 *disp_valuestr;
  261. extern S16 status_icon;
  262. void DrawCate305CategoryControlArea(dm_coordinates *coordinate)
  263. {
  264.     /*----------------------------------------------------------------*/
  265.     /* Local Variables                                                */
  266.     /*----------------------------------------------------------------*/
  267.     S32 w = 0, fh = 0;
  268.     color c = gui_color(0, 64, 128);
  269.     /*----------------------------------------------------------------*/
  270.     /* Code Body                                                      */
  271.     /*----------------------------------------------------------------*/
  272.     if (disp_valuestr)
  273.     {
  274.         gui_measure_string((UI_string_type) disp_valuestr, &w, &fh);
  275.         gdi_layer_set_clip(0, (MMI_status_bar_height), (UI_device_width - 1), (MMI_status_bar_height + fh + 3));
  276.         wgui_draw_305_title_background(
  277.             MMI_title_x,
  278.             MMI_status_bar_height,
  279.             (MMI_title_width - MMI_title_x) - 1,
  280.             (MMI_status_bar_height + fh + 3));
  281.         if (w > (MMI_title_width - MMI_title_x))
  282.         {
  283.             gui_create_scrolling_text(
  284.                 &wgui_category305_scrolling_text,
  285.                 MMI_title_x,
  286.                 MMI_status_bar_height,
  287.                 (MMI_title_width - MMI_title_x),
  288.                 fh + 1,
  289.                 (UI_string_type) disp_valuestr,
  290.                 cat_305_scrolling_timer,
  291.                 wgui_draw_305_title_background,
  292.                 gui_color(0, 0, 0),
  293.                 gui_color(255, 255, 255));
  294.             wgui_category305_scrolling_text.flags &= ~UI_SCROLLING_TEXT_BORDERED_TEXT;
  295.             gui_show_scrolling_text(&wgui_category305_scrolling_text);
  296.             coordinate->s16Height = fh + 4;
  297.         }
  298.         else
  299.         {
  300.             gui_set_text_color(c);
  301.             gui_measure_string((UI_string_type) disp_valuestr, &w, &fh);
  302.             if (r2lMMIFlag)
  303.             {
  304.                 gui_move_text_cursor((UI_device_width >> 1) - (w >> 1) + w, (MMI_status_bar_height + 1));
  305.             }
  306.             else
  307.             {
  308.                 gui_move_text_cursor((UI_device_width >> 1) - (w >> 1), (MMI_status_bar_height + 1));
  309.             }
  310.             gui_print_text((UI_string_type) disp_valuestr);
  311.             coordinate->s16Height = fh + 1;
  312.         }
  313.     }
  314.     while (MMI_multiline_inputbox.text_offset_y + MMI_multiline_inputbox.text_height >
  315.            MMI_multiline_inputbox.edit_height)
  316.     {
  317.         gui_multi_line_input_box_next_line(&MMI_multiline_inputbox);
  318.     }
  319.     show_multiline_inputbox();
  320. }
  321. #if (defined __MMI_TOUCH_SCREEN__)
  322. /*****************************************************************************
  323.  * FUNCTION
  324.  *  Cat305CategoryControlAreaPenDownHdlr
  325.  * DESCRIPTION
  326.  *  
  327.  * PARAMETERS
  328.  *  pos     [IN]        
  329.  * RETURNS
  330.  *  
  331.  *****************************************************************************/
  332. MMI_BOOL Cat305CategoryControlAreaPenDownHdlr(mmi_pen_point_struct pos)
  333. {
  334.     /*----------------------------------------------------------------*/
  335.     /* Local Variables                                                */
  336.     /*----------------------------------------------------------------*/
  337.     BOOL ret = MMI_FALSE;
  338.     gui_multi_line_input_box_pen_enum multi_line_input_box_event;
  339.     /*----------------------------------------------------------------*/
  340.     /* Code Body                                                      */
  341.     /*----------------------------------------------------------------*/
  342.     if (MMI_multiline_inputbox.flags & UI_MULTI_LINE_INPUT_BOX_VIEW_MODE)
  343.     {
  344.         ret = gui_multi_line_input_box_translate_pen_event(
  345.                 &MMI_multiline_inputbox,
  346.                 MMI_PEN_EVENT_DOWN,
  347.                 pos.x,
  348.                 pos.y,
  349.                 &multi_line_input_box_event);
  350.     }
  351.     if (ret)
  352.     {
  353.         return MMI_TRUE;
  354.     }
  355.     else
  356.     {
  357.         return MMI_FALSE;
  358.     }
  359. }
  360. /*****************************************************************************
  361.  * FUNCTION
  362.  *  Cat305CategoryControlAreaPenUpHdlr
  363.  * DESCRIPTION
  364.  *  
  365.  * PARAMETERS
  366.  *  pos     [IN]        
  367.  * RETURNS
  368.  *  
  369.  *****************************************************************************/
  370. MMI_BOOL Cat305CategoryControlAreaPenUpHdlr(mmi_pen_point_struct pos)
  371. {
  372.     /*----------------------------------------------------------------*/
  373.     /* Local Variables                                                */
  374.     /*----------------------------------------------------------------*/
  375.     gui_multi_line_input_box_pen_enum multi_line_input_box_event;
  376.     /*----------------------------------------------------------------*/
  377.     /* Code Body                                                      */
  378.     /*----------------------------------------------------------------*/
  379.     gui_multi_line_input_box_translate_pen_event(
  380.         &MMI_multiline_inputbox,
  381.         MMI_PEN_EVENT_UP,
  382.         pos.x,
  383.         pos.y,
  384.         &multi_line_input_box_event);
  385.     return MMI_TRUE;
  386. }
  387. /*****************************************************************************
  388.  * FUNCTION
  389.  *  Cat305CategoryControlAreaPenMoveHdlr
  390.  * DESCRIPTION
  391.  *  
  392.  * PARAMETERS
  393.  *  pos     [IN]        
  394.  * RETURNS
  395.  *  
  396.  *****************************************************************************/
  397. MMI_BOOL Cat305CategoryControlAreaPenMoveHdlr(mmi_pen_point_struct pos)
  398. {
  399.     /*----------------------------------------------------------------*/
  400.     /* Local Variables                                                */
  401.     /*----------------------------------------------------------------*/
  402.     gui_multi_line_input_box_pen_enum multi_line_input_box_event;
  403.     /*----------------------------------------------------------------*/
  404.     /* Code Body                                                      */
  405.     /*----------------------------------------------------------------*/
  406.     gui_multi_line_input_box_translate_pen_event(
  407.         &MMI_multiline_inputbox,
  408.         MMI_PEN_EVENT_MOVE,
  409.         pos.x,
  410.         pos.y,
  411.         &multi_line_input_box_event);
  412.     return MMI_TRUE;
  413. }
  414. /*****************************************************************************
  415.  * FUNCTION
  416.  *  Cat305CategoryControlAreaPenLongTapHdlr
  417.  * DESCRIPTION
  418.  *  
  419.  * PARAMETERS
  420.  *  pos     [IN]        
  421.  * RETURNS
  422.  *  
  423.  *****************************************************************************/
  424. MMI_BOOL Cat305CategoryControlAreaPenLongTapHdlr(mmi_pen_point_struct pos)
  425. {
  426.     /*----------------------------------------------------------------*/
  427.     /* Local Variables                                                */
  428.     /*----------------------------------------------------------------*/
  429.     gui_multi_line_input_box_pen_enum multi_line_input_box_event;
  430.     /*----------------------------------------------------------------*/
  431.     /* Code Body                                                      */
  432.     /*----------------------------------------------------------------*/
  433.     gui_multi_line_input_box_translate_pen_event(
  434.         &MMI_multiline_inputbox,
  435.         MMI_PEN_EVENT_LONG_TAP,
  436.         pos.x,
  437.         pos.y,
  438.         &multi_line_input_box_event);
  439.     return MMI_TRUE;
  440. }
  441. /*****************************************************************************
  442.  * FUNCTION
  443.  *  Cat305CategoryControlAreaPenRepeatHdlr
  444.  * DESCRIPTION
  445.  *  
  446.  * PARAMETERS
  447.  *  pos     [IN]        
  448.  * RETURNS
  449.  *  
  450.  *****************************************************************************/
  451. MMI_BOOL Cat305CategoryControlAreaPenRepeatHdlr(mmi_pen_point_struct pos)
  452. {
  453.     /*----------------------------------------------------------------*/
  454.     /* Local Variables                                                */
  455.     /*----------------------------------------------------------------*/
  456.     gui_multi_line_input_box_pen_enum multi_line_input_box_event;
  457.     /*----------------------------------------------------------------*/
  458.     /* Code Body                                                      */
  459.     /*----------------------------------------------------------------*/
  460.     gui_multi_line_input_box_translate_pen_event(
  461.         &MMI_multiline_inputbox,
  462.         MMI_PEN_EVENT_REPEAT,
  463.         pos.x,
  464.         pos.y,
  465.         &multi_line_input_box_event);
  466.     return MMI_TRUE;
  467. }
  468. /*****************************************************************************
  469.  * FUNCTION
  470.  *  Cat305CategoryControlAreaPenAbortHdlr
  471.  * DESCRIPTION
  472.  *  
  473.  * PARAMETERS
  474.  *  pos     [IN]        
  475.  * RETURNS
  476.  *  
  477.  *****************************************************************************/
  478. MMI_BOOL Cat305CategoryControlAreaPenAbortHdlr(mmi_pen_point_struct pos)
  479. {
  480.     /*----------------------------------------------------------------*/
  481.     /* Local Variables                                                */
  482.     /*----------------------------------------------------------------*/
  483.     gui_multi_line_input_box_pen_enum multi_line_input_box_event;
  484.     /*----------------------------------------------------------------*/
  485.     /* Code Body                                                      */
  486.     /*----------------------------------------------------------------*/
  487.     gui_multi_line_input_box_translate_pen_event(
  488.         &MMI_multiline_inputbox,
  489.         MMI_PEN_EVENT_ABORT,
  490.         pos.x,
  491.         pos.y,
  492.         &multi_line_input_box_event);
  493.     return MMI_TRUE;
  494. }
  495. #endif /* (defined __MMI_TOUCH_SCREEN__) */ 
  496. /*****************************************************************************
  497.  * FUNCTION
  498.  *  ShowCategory305Screen
  499.  * DESCRIPTION
  500.  *  
  501.  * PARAMETERS
  502.  *  title_id                [IN]        
  503.  *  title_icon              [IN]        
  504.  *  left_softkey            [IN]        
  505.  *  left_softkey_icon       [IN]        
  506.  *  right_softkey           [IN]        
  507.  *  right_softkey_icon      [IN]        
  508.  *  number_of_items         [IN]        
  509.  *  chat_strings            [?]         
  510.  *  history_buffer          [?]         
  511.  *  top_msg                 [?]         
  512.  *  top_msg_icon            [IN]        
  513.  * RETURNS
  514.  *  void
  515.  *****************************************************************************/
  516. void ShowCategory305Screen(
  517.         U16 title_id,
  518.         U16 title_icon,
  519.         U16 left_softkey,
  520.         U16 left_softkey_icon,
  521.         U16 right_softkey,
  522.         U16 right_softkey_icon,
  523.         S32 number_of_items,
  524.         chat_message_struct *chat_strings,
  525.         U8 *history_buffer,
  526.         U8 *top_msg,
  527.         U16 top_msg_icon)
  528. {
  529.     /*----------------------------------------------------------------*/
  530.     /* Local Variables                                                */
  531.     /*----------------------------------------------------------------*/
  532.     dm_data_struct dm_data;
  533.     S32 fw = 0;
  534.     S32 l1 = 0, index = 0, temp_h = 0;
  535.     /*----------------------------------------------------------------*/
  536.     /* Code Body                                                      */
  537.     /*----------------------------------------------------------------*/
  538.     if ( chat_message != NULL )
  539.     {
  540.         mmi_frm_scrmem_free(chat_message);
  541.     }
  542.     chat_message = (U8*)mmi_frm_scrmem_alloc(CHAT_MESSAGE_BUFFER);
  543.     gdi_layer_lock_frame_buffer();
  544. /************************************************************************************
  545. MTK Leo change. 
  546. This category screen is just for sms chat, and title is not needed for this screen.
  547. ************************************************************************************/
  548.     UI_UNUSED_PARAMETER(title_id);
  549.     MMI_menu_shortcut_number = -1;
  550.     change_left_softkey(left_softkey, left_softkey_icon);
  551.     change_right_softkey(right_softkey, right_softkey_icon);
  552.     SetupCategoryKeyHandlers();
  553.     gui_set_font(&MMI_medium_font);
  554.     disp_valuestr = top_msg;
  555.     status_icon = 1;
  556.     ShowStatusIconsTitle();
  557.     /* Initialize Chat Message */
  558.     memset(chat_message, 0, CHAT_MESSAGE_BUFFER);
  559.     for (index = 0; index < number_of_items; index++)
  560.     {
  561.         concate_messages((U8*) chat_strings[index].chat_message_string, (U8) chat_strings[index].flag);
  562.     }
  563.     MMI_message_string = (UI_string_type) chat_message;
  564.     l1 = gui_strlen((UI_string_type) MMI_message_string);
  565.     create_multiline_inputbox_set_buffer((UI_string_type) MMI_message_string, l1, l1, 0);
  566.     register_multiline_sms_chat_inputbox_keys();
  567.     MMI_multiline_inputbox.flags |= (UI_MULTI_LINE_INPUT_BOX_DISABLE_CURSOR_DRAW | UI_MULTI_LINE_INPUT_BOX_VIEW_MODE | UI_MULTI_LINE_INPUT_BOX_DISPLAY_LASTLINE);       /* |UI_MULTI_LINE_INPUT_BOX_DISABLE_BACKGROUND); */
  568.     MMI_multiline_inputbox.ext_flags |= GUI_MULTI_LINE_INPUT_BOX_CHAT_ICON_DISPLAY;
  569.     if (top_msg)
  570.     {
  571.         gui_measure_string((UI_string_type) top_msg, &fw, &temp_h);
  572.     }
  573.     resize_multiline_inputbox(
  574.         MMI_multiline_inputbox.width,
  575.         (MMI_content_height + MMI_title_height - MMI_status_bar_height - 4 - temp_h));
  576.     move_multiline_inputbox(0, (MMI_status_bar_height) + temp_h + 4);
  577.     show_multiline_inputbox_no_draw();
  578.     set_multiline_inputbox_category_history(MMI_CATEGORY305_ID, history_buffer, &MMI_current_input_type);
  579.     gdi_layer_unlock_frame_buffer();
  580.     ExitCategoryFunction = ExitCategory305Screen;
  581. #ifdef __MMI_TOUCH_SCREEN__
  582.     wgui_register_category_screen_control_area_pen_handlers(Cat305CategoryControlAreaPenDownHdlr, MMI_PEN_EVENT_DOWN);
  583.     wgui_register_category_screen_control_area_pen_handlers(Cat305CategoryControlAreaPenUpHdlr, MMI_PEN_EVENT_UP);
  584.     wgui_register_category_screen_control_area_pen_handlers(Cat305CategoryControlAreaPenMoveHdlr, MMI_PEN_EVENT_MOVE);
  585.     wgui_register_category_screen_control_area_pen_handlers(
  586.         Cat305CategoryControlAreaPenLongTapHdlr,
  587.         MMI_PEN_EVENT_LONG_TAP);
  588.     wgui_register_category_screen_control_area_pen_handlers(
  589.         Cat305CategoryControlAreaPenRepeatHdlr,
  590.         MMI_PEN_EVENT_REPEAT);
  591.     wgui_register_category_screen_control_area_pen_handlers(Cat305CategoryControlAreaPenAbortHdlr, MMI_PEN_EVENT_ABORT);
  592. #endif /* __MMI_TOUCH_SCREEN__ */ 
  593.     dm_register_category_controlled_callback(DrawCate305CategoryControlArea);
  594.     dm_setup_category_functions(dm_redraw_category_screen, dm_get_category_history, dm_get_category_history_size);
  595.     dm_data.s32ScrId = (S32) GetActiveScreenId();
  596.     dm_data.s32CatId = MMI_CATEGORY305_ID;
  597.     dm_data.s32flags = DM_CLEAR_SCREEN_BACKGROUND;
  598.     dm_setup_data(&dm_data);
  599.     dm_redraw_category_screen();
  600. }
  601. #endif /* __MMI_MESSAGES_CHAT__ */
  602. /********** SMS CHAT SCREEN END  **********/
  603. void (*category28_RSK_function) (void) = NULL;
  604. U8 category28_RSK_label_clear = 0;
  605. UI_string_type category28_RSK_label_string;
  606. PU8 category28_RSK_label_icon;
  607. extern UI_EMS_input_box MMI_EMS_inputbox;
  608. extern U8 EMS_inputbox_has_changed;
  609. extern PU8 wgui_EMS_inputbox_information_icon;
  610. extern EMSTextFormat wgui_EMS_text_format;
  611. extern S32 wgui_EMS_inputbox_information_bar_height;
  612. extern U8 EMS_inputbox_alignment_added_flag;
  613. extern EMSALIGNMENT EMS_inputbox_alignment;
  614. U8 wgui_EMS_inputbox_input_type = 0;
  615. U8 wgui_EMS_inputbox_input_mode_changed = 0;
  616. #if((UI_ENABLE_FRAME_SKIPPING) && (ENABLE_EMS_INPUTBOX_FRAME_SKIPPING))
  617. extern S32 wgui_EMS_inputbox_frame_counter;
  618. #endif 
  619. /* MTK Add By Elvis for T9 */
  620. #ifdef __MMI_T9__
  621. #include "t9definition.h"
  622. #include "t9api.h"
  623. extern T9U16 curInputMethod;
  624. extern void (*t9_inputbox_LSK_function) (void);
  625. extern void T9KeyArrowUPHandlerForEMSInputBox(void);
  626. extern void T9KeyArrowRightHandlerForEMSInputBox(void);
  627. extern void T9KeyArrowDownHandlerForEMSInputBox(void);
  628. extern void T9KeyArrowLeftHandlerForEMSInputBox(void);
  629. extern void T9KeyStarPressHandlerForEMSInputBox(void);
  630. extern void T9InputBoxDisplayForEMSInputBox(void);
  631. extern void T9ScreenStateChnageForEMSInputBox(void);
  632. extern void T9SynT9WithInputBoxForEMSInputBox(void);
  633. extern void T9Key0To9HandlerForEMSInputBox(T9MINOR mmiKey, T9MINOR keyType);
  634. extern void T9ClearKeyNavigationHandler(void);
  635. extern void T9ClearKeyStarAndPoundHandler(void);
  636. extern void T9ChangeLanguageForEMSInputBox(T9U8 inputMethod);
  637. extern void T9Key0PressHandlerForEMSInputBox(void);
  638. extern void T9Key1PressHandlerForEMSInputBox(void);
  639. extern void T9Key2PressHandlerForEMSInputBox(void);
  640. extern void T9Key3PressHandlerForEMSInputBox(void);
  641. extern void T9Key4PressHandlerForEMSInputBox(void);
  642. extern void T9Key5PressHandlerForEMSInputBox(void);
  643. extern void T9Key6PressHandlerForEMSInputBox(void);
  644. extern void T9Key7PressHandlerForEMSInputBox(void);
  645. extern void T9Key8PressHandlerForEMSInputBox(void);
  646. extern void T9Key9PressHandlerForEMSInputBox(void);
  647. extern void T9KeyPoundPressHandlerForEMSInputBox(void);
  648. extern void InuptMethodEnterCategory28(void);
  649. extern void InuptMethodExitCategory28(void);
  650. extern void T9ClearKey0To9Handler(void);
  651. #elif defined __MMI_ZI__
  652. #include "zi8hmi.h"
  653. extern void ZiKey0PressHandler(void);
  654. extern void ZiKey1PressHandler(void);
  655. extern void ZiKey2PressHandler(void);
  656. extern void ZiKey3PressHandler(void);
  657. extern void ZiKey4PressHandler(void);
  658. extern void ZiKey5PressHandler(void);
  659. extern void ZiKey6PressHandler(void);
  660. extern void ZiKey7PressHandler(void);
  661. extern void ZiKey8PressHandler(void);
  662. extern void ZiKey9PressHandler(void);
  663. extern void ZiKeyArrowUPHandler(void);
  664. extern void ZiKeyArrowRightHandler(void);
  665. extern void ZiKeyArrowDownHandler(void);
  666. extern void ZiKeyArrowLeftHandler(void);
  667. extern void ZiKeyStarPressHandler(void);
  668. extern void ZiKeyStarLongPressHandler(void);
  669. extern void ZiKeyHashPressHandler(void);
  670. extern void ZiKeyHashLongPressHandler(void);
  671. extern void ZiKeyLSKPressHandler(void);
  672. extern void ZiKeyLSKLongPressHandler(void);
  673. extern void ZiKeyRSKPressHandler(void);
  674. extern void ZiKeyRSKLongPressHandler(void);
  675. extern void ZiChangeInputMethod(INPUT_MODE inputMode);
  676. extern void ZiClearKeyStarAndPoundHandler(void);
  677. extern void ZiClearKeyNavigationHandler(void);
  678. extern void ZiClearKey0To9Handler(void);
  679. #if defined(__MMI_MESSAGES_EMS__)
  680. extern void ZiInuptMethodEnterCategory28(void);
  681. extern void ZiInuptMethodExitCategory28(void);
  682. #endif /* defined(__MMI_MESSAGES_EMS__) */ 
  683. extern void ZiDisplay(void);
  684. extern void ZiInputBoxScreenStateChange(void);
  685. //KP Jerry add on 2007-3-8 start
  686. #elif defined __MMI_CSTAR__
  687. #include "cstarime.h"
  688. //KP Jerry add on 2007-3-8 end
  689. #elif defined __MMI_KA__
  690. #include "konkahmi.h"
  691. extern void KonkaKey0PressHandler(void);
  692. extern void KonkaKey1PressHandler(void);
  693. extern void KonkaKey2PressHandler(void);
  694. extern void KonkaKey3PressHandler(void);
  695. extern void KonkaKey4PressHandler(void);
  696. extern void KonkaKey5PressHandler(void);
  697. extern void KonkaKey6PressHandler(void);
  698. extern void KonkaKey7PressHandler(void);
  699. extern void KonkaKey8PressHandler(void);
  700. extern void KonkaKey9PressHandler(void);
  701. extern void KonkaKeyArrowUPHandler(void);
  702. extern void KonkaKeyArrowRightHandler(void);
  703. extern void KonkaKeyArrowDownHandler(void);
  704. extern void KonkaKeyArrowLeftHandler(void);
  705. extern void KonkaKeyStarPressHandler(void);
  706. extern void KonkaKeyStarLongPressHandler(void);
  707. extern void KonkaKeyHashPressHandler(void);
  708. extern void KonkaKeyHashLongPressHandler(void);
  709. extern void KonkaKeyLSKPressHandler(void);
  710. extern void KonkaKeyLSKLongPressHandler(void);
  711. extern void KonkaKeyRSKPressHandler(void);
  712. extern void KonkaKeyRSKLongPressHandler(void);
  713. extern void KonkaChangeInputMethod(INPUT_MODE inputMode);
  714. extern void KonkaClearKeyStarAndPoundHandler();
  715. extern void KonkaClearKeyNavigationHandler();
  716. extern void KonkaClearKey0To9Handler();
  717. extern void KonkaInuptMethodEnterCategory28(void);
  718. extern void KonkaInuptMethodExitCategory28(void);
  719. extern void KonkaDisplay(void);
  720. extern void KonkaInputBoxScreenStateChange(void);
  721. #elif defined __MMI_ITAP__
  722. /* under construction !*/
  723. /* under construction !*/
  724. /* under construction !*/
  725. /* under construction !*/
  726. #endif 
  727. /* PMT dara added for Multitap thai */
  728. #ifdef __MMI_MULTITAP_THAI__
  729. /*****************************************************************************
  730.  * FUNCTION
  731.  *  wgui_EMS_inputbox_handle_symbol_picker_star_key_bymultitapthai
  732.  * DESCRIPTION
  733.  *  
  734.  * PARAMETERS
  735.  *  void
  736.  * RETURNS
  737.  *  void
  738.  *****************************************************************************/
  739. void wgui_EMS_inputbox_handle_symbol_picker_star_key_bymultitapthai(void)
  740. {
  741.     /*----------------------------------------------------------------*/
  742.     /* Local Variables                                                */
  743.     /*----------------------------------------------------------------*/
  744.     /*----------------------------------------------------------------*/
  745.     /* Code Body                                                      */
  746.     /*----------------------------------------------------------------*/
  747.     if (Get_inputbox_update_states() == 1)
  748.     {
  749.         gui_EMS_input_box_backspace(&MMI_EMS_inputbox);
  750.         wgui_EMS_text_format = MMI_EMS_inputbox.text_format;
  751.     }
  752.     wgui_EMS_inputbox_handle_symbol_picker_star_key();
  753. }
  754. #endif /* __MMI_MULTITAP_THAI__ */ 
  755. /*****************************************************************************
  756.  * FUNCTION
  757.  *  wgui_EMS_inputbox_change_input_mode_multitap_ABC
  758.  * DESCRIPTION
  759.  *  
  760.  * PARAMETERS
  761.  *  void
  762.  * RETURNS
  763.  *  void
  764.  *****************************************************************************/
  765. void wgui_EMS_inputbox_change_input_mode_multitap_ABC(void)
  766. {
  767.     /*----------------------------------------------------------------*/
  768.     /* Local Variables                                                */
  769.     /*----------------------------------------------------------------*/
  770.     /*----------------------------------------------------------------*/
  771.     /* Code Body                                                      */
  772.     /*----------------------------------------------------------------*/
  773.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE;
  774.     wgui_EMS_inputbox_input_mode_changed = 1;
  775. }
  776. /*****************************************************************************
  777.  * FUNCTION
  778.  *  wgui_EMS_inputbox_change_input_mode_multitap_abc
  779.  * DESCRIPTION
  780.  *  
  781.  * PARAMETERS
  782.  *  void
  783.  * RETURNS
  784.  *  void
  785.  *****************************************************************************/
  786. void wgui_EMS_inputbox_change_input_mode_multitap_abc(void)
  787. {
  788.     /*----------------------------------------------------------------*/
  789.     /* Local Variables                                                */
  790.     /*----------------------------------------------------------------*/
  791.     /*----------------------------------------------------------------*/
  792.     /* Code Body                                                      */
  793.     /*----------------------------------------------------------------*/
  794.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE;
  795.     wgui_EMS_inputbox_input_mode_changed = 1;
  796. }
  797. /*****************************************************************************
  798.  * FUNCTION
  799.  *  wgui_EMS_inputbox_change_input_mode_multitap_numeric
  800.  * DESCRIPTION
  801.  *  
  802.  * PARAMETERS
  803.  *  void
  804.  * RETURNS
  805.  *  void
  806.  *****************************************************************************/
  807. void wgui_EMS_inputbox_change_input_mode_multitap_numeric(void)
  808. {
  809.     /*----------------------------------------------------------------*/
  810.     /* Local Variables                                                */
  811.     /*----------------------------------------------------------------*/
  812.     /*----------------------------------------------------------------*/
  813.     /* Code Body                                                      */
  814.     /*----------------------------------------------------------------*/
  815.     wgui_EMS_inputbox_input_type = INPUT_TYPE_NUMERIC_CHANGEABLE;
  816.     wgui_EMS_inputbox_input_mode_changed = 1;
  817. }
  818. /* PMT dara added for Multitap thai */
  819. #if defined(__MMI_MULTITAP_THAI__)
  820. /*****************************************************************************
  821.  * FUNCTION
  822.  *  wgui_EMS_inputbox_change_input_mode_multitap_thai
  823.  * DESCRIPTION
  824.  *  
  825.  * PARAMETERS
  826.  *  void
  827.  * RETURNS
  828.  *  void
  829.  *****************************************************************************/
  830. void wgui_EMS_inputbox_change_input_mode_multitap_thai(void)
  831. {
  832.     /*----------------------------------------------------------------*/
  833.     /* Local Variables                                                */
  834.     /*----------------------------------------------------------------*/
  835.     /*----------------------------------------------------------------*/
  836.     /* Code Body                                                      */
  837.     /*----------------------------------------------------------------*/
  838.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_MULTITAP_THAI;
  839.     wgui_EMS_inputbox_input_mode_changed = 1;
  840. }
  841. #endif /* defined(__MMI_MULTITAP_THAI__) */ 
  842. #if defined(__MMI_MULTITAP_SPANISH__)
  843. /*****************************************************************************
  844.  * FUNCTION
  845.  *  wgui_EMS_inputbox_change_input_mode_multitap_SPANISH
  846.  * DESCRIPTION
  847.  *  
  848.  * PARAMETERS
  849.  *  void
  850.  * RETURNS
  851.  *  void
  852.  *****************************************************************************/
  853. void wgui_EMS_inputbox_change_input_mode_multitap_SPANISH(void)
  854. {
  855.     /*----------------------------------------------------------------*/
  856.     /* Local Variables                                                */
  857.     /*----------------------------------------------------------------*/
  858.     /*----------------------------------------------------------------*/
  859.     /* Code Body                                                      */
  860.     /*----------------------------------------------------------------*/
  861.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SPANISH;
  862.     wgui_EMS_inputbox_input_mode_changed = 1;
  863. }
  864. /*****************************************************************************
  865.  * FUNCTION
  866.  *  wgui_EMS_inputbox_change_input_mode_multitap_spanish
  867.  * DESCRIPTION
  868.  *  
  869.  * PARAMETERS
  870.  *  void
  871.  * RETURNS
  872.  *  void
  873.  *****************************************************************************/
  874. void wgui_EMS_inputbox_change_input_mode_multitap_spanish(void)
  875. {
  876.     /*----------------------------------------------------------------*/
  877.     /* Local Variables                                                */
  878.     /*----------------------------------------------------------------*/
  879.     /*----------------------------------------------------------------*/
  880.     /* Code Body                                                      */
  881.     /*----------------------------------------------------------------*/
  882.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SPANISH;
  883.     wgui_EMS_inputbox_input_mode_changed = 1;
  884. }
  885. #endif /* defined(__MMI_MULTITAP_SPANISH__) */ 
  886. #if defined(__MMI_MULTITAP_DANISH__)
  887. /*****************************************************************************
  888.  * FUNCTION
  889.  *  wgui_EMS_inputbox_change_input_mode_multitap_DANISH
  890.  * DESCRIPTION
  891.  *  
  892.  * PARAMETERS
  893.  *  void
  894.  * RETURNS
  895.  *  void
  896.  *****************************************************************************/
  897. void wgui_EMS_inputbox_change_input_mode_multitap_DANISH(void)
  898. {
  899.     /*----------------------------------------------------------------*/
  900.     /* Local Variables                                                */
  901.     /*----------------------------------------------------------------*/
  902.     /*----------------------------------------------------------------*/
  903.     /* Code Body                                                      */
  904.     /*----------------------------------------------------------------*/
  905.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DANISH;
  906.     wgui_EMS_inputbox_input_mode_changed = 1;
  907. }
  908. /*****************************************************************************
  909.  * FUNCTION
  910.  *  wgui_EMS_inputbox_change_input_mode_multitap_danish
  911.  * DESCRIPTION
  912.  *  
  913.  * PARAMETERS
  914.  *  void
  915.  * RETURNS
  916.  *  void
  917.  *****************************************************************************/
  918. void wgui_EMS_inputbox_change_input_mode_multitap_danish(void)
  919. {
  920.     /*----------------------------------------------------------------*/
  921.     /* Local Variables                                                */
  922.     /*----------------------------------------------------------------*/
  923.     /*----------------------------------------------------------------*/
  924.     /* Code Body                                                      */
  925.     /*----------------------------------------------------------------*/
  926.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DANISH;
  927.     wgui_EMS_inputbox_input_mode_changed = 1;
  928. }
  929. #endif /* defined(__MMI_MULTITAP_DANISH__) */ 
  930. #if defined(__MMI_MULTITAP_POLISH__)
  931. /*****************************************************************************
  932.  * FUNCTION
  933.  *  wgui_EMS_inputbox_change_input_mode_multitap_POLISH
  934.  * DESCRIPTION
  935.  *  
  936.  * PARAMETERS
  937.  *  void
  938.  * RETURNS
  939.  *  void
  940.  *****************************************************************************/
  941. void wgui_EMS_inputbox_change_input_mode_multitap_POLISH(void)
  942. {
  943.     /*----------------------------------------------------------------*/
  944.     /* Local Variables                                                */
  945.     /*----------------------------------------------------------------*/
  946.     /*----------------------------------------------------------------*/
  947.     /* Code Body                                                      */
  948.     /*----------------------------------------------------------------*/
  949.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_POLISH;
  950.     wgui_EMS_inputbox_input_mode_changed = 1;
  951. }
  952. /*****************************************************************************
  953.  * FUNCTION
  954.  *  wgui_EMS_inputbox_change_input_mode_multitap_polish
  955.  * DESCRIPTION
  956.  *  
  957.  * PARAMETERS
  958.  *  void
  959.  * RETURNS
  960.  *  void
  961.  *****************************************************************************/
  962. void wgui_EMS_inputbox_change_input_mode_multitap_polish(void)
  963. {
  964.     /*----------------------------------------------------------------*/
  965.     /* Local Variables                                                */
  966.     /*----------------------------------------------------------------*/
  967.     /*----------------------------------------------------------------*/
  968.     /* Code Body                                                      */
  969.     /*----------------------------------------------------------------*/
  970.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_POLISH;
  971.     wgui_EMS_inputbox_input_mode_changed = 1;
  972. }
  973. #endif /* defined(__MMI_MULTITAP_POLISH__) */ 
  974. #if defined(__MMI_MULTITAP_FRENCH__)
  975. /*****************************************************************************
  976.  * FUNCTION
  977.  *  wgui_EMS_inputbox_change_input_mode_multitap_FRENCH
  978.  * DESCRIPTION
  979.  *  
  980.  * PARAMETERS
  981.  *  void
  982.  * RETURNS
  983.  *  void
  984.  *****************************************************************************/
  985. void wgui_EMS_inputbox_change_input_mode_multitap_FRENCH(void)
  986. {
  987.     /*----------------------------------------------------------------*/
  988.     /* Local Variables                                                */
  989.     /*----------------------------------------------------------------*/
  990.     /*----------------------------------------------------------------*/
  991.     /* Code Body                                                      */
  992.     /*----------------------------------------------------------------*/
  993.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FRENCH;
  994.     wgui_EMS_inputbox_input_mode_changed = 1;
  995. }
  996. /*****************************************************************************
  997.  * FUNCTION
  998.  *  wgui_EMS_inputbox_change_input_mode_multitap_french
  999.  * DESCRIPTION
  1000.  *  
  1001.  * PARAMETERS
  1002.  *  void
  1003.  * RETURNS
  1004.  *  void
  1005.  *****************************************************************************/
  1006. void wgui_EMS_inputbox_change_input_mode_multitap_french(void)
  1007. {
  1008.     /*----------------------------------------------------------------*/
  1009.     /* Local Variables                                                */
  1010.     /*----------------------------------------------------------------*/
  1011.     /*----------------------------------------------------------------*/
  1012.     /* Code Body                                                      */
  1013.     /*----------------------------------------------------------------*/
  1014.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FRENCH;
  1015.     wgui_EMS_inputbox_input_mode_changed = 1;
  1016. }
  1017. #endif /* defined(__MMI_MULTITAP_FRENCH__) */ 
  1018. #if defined(__MMI_MULTITAP_GERMAN__)
  1019. /*****************************************************************************
  1020.  * FUNCTION
  1021.  *  wgui_EMS_inputbox_change_input_mode_multitap_GERMAN
  1022.  * DESCRIPTION
  1023.  *  
  1024.  * PARAMETERS
  1025.  *  void
  1026.  * RETURNS
  1027.  *  void
  1028.  *****************************************************************************/
  1029. void wgui_EMS_inputbox_change_input_mode_multitap_GERMAN(void)
  1030. {
  1031.     /*----------------------------------------------------------------*/
  1032.     /* Local Variables                                                */
  1033.     /*----------------------------------------------------------------*/
  1034.     /*----------------------------------------------------------------*/
  1035.     /* Code Body                                                      */
  1036.     /*----------------------------------------------------------------*/
  1037.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GERMAN;
  1038.     wgui_EMS_inputbox_input_mode_changed = 1;
  1039. }
  1040. /*****************************************************************************
  1041.  * FUNCTION
  1042.  *  wgui_EMS_inputbox_change_input_mode_multitap_german
  1043.  * DESCRIPTION
  1044.  *  
  1045.  * PARAMETERS
  1046.  *  void
  1047.  * RETURNS
  1048.  *  void
  1049.  *****************************************************************************/
  1050. void wgui_EMS_inputbox_change_input_mode_multitap_german(void)
  1051. {
  1052.     /*----------------------------------------------------------------*/
  1053.     /* Local Variables                                                */
  1054.     /*----------------------------------------------------------------*/
  1055.     /*----------------------------------------------------------------*/
  1056.     /* Code Body                                                      */
  1057.     /*----------------------------------------------------------------*/
  1058.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GERMAN;
  1059.     wgui_EMS_inputbox_input_mode_changed = 1;
  1060. }
  1061. #endif /* defined(__MMI_MULTITAP_GERMAN__) */ 
  1062. #if defined(__MMI_MULTITAP_ITALIAN__)
  1063. /*****************************************************************************
  1064.  * FUNCTION
  1065.  *  wgui_EMS_inputbox_change_input_mode_multitap_ITALIAN
  1066.  * DESCRIPTION
  1067.  *  
  1068.  * PARAMETERS
  1069.  *  void
  1070.  * RETURNS
  1071.  *  void
  1072.  *****************************************************************************/
  1073. void wgui_EMS_inputbox_change_input_mode_multitap_ITALIAN(void)
  1074. {
  1075.     /*----------------------------------------------------------------*/
  1076.     /* Local Variables                                                */
  1077.     /*----------------------------------------------------------------*/
  1078.     /*----------------------------------------------------------------*/
  1079.     /* Code Body                                                      */
  1080.     /*----------------------------------------------------------------*/
  1081.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ITALIAN;
  1082.     wgui_EMS_inputbox_input_mode_changed = 1;
  1083. }
  1084. /*****************************************************************************
  1085.  * FUNCTION
  1086.  *  wgui_EMS_inputbox_change_input_mode_multitap_italian
  1087.  * DESCRIPTION
  1088.  *  
  1089.  * PARAMETERS
  1090.  *  void
  1091.  * RETURNS
  1092.  *  void
  1093.  *****************************************************************************/
  1094. void wgui_EMS_inputbox_change_input_mode_multitap_italian(void)
  1095. {
  1096.     /*----------------------------------------------------------------*/
  1097.     /* Local Variables                                                */
  1098.     /*----------------------------------------------------------------*/
  1099.     /*----------------------------------------------------------------*/
  1100.     /* Code Body                                                      */
  1101.     /*----------------------------------------------------------------*/
  1102.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ITALIAN;
  1103.     wgui_EMS_inputbox_input_mode_changed = 1;
  1104. }
  1105. #endif /* defined(__MMI_MULTITAP_ITALIAN__) */ 
  1106. #if defined(__MMI_MULTITAP_RUSSIAN__)
  1107. /*****************************************************************************
  1108.  * FUNCTION
  1109.  *  wgui_EMS_inputbox_change_input_mode_multitap_RUSSIAN
  1110.  * DESCRIPTION
  1111.  *  
  1112.  * PARAMETERS
  1113.  *  void
  1114.  * RETURNS
  1115.  *  void
  1116.  *****************************************************************************/
  1117. void wgui_EMS_inputbox_change_input_mode_multitap_RUSSIAN(void)
  1118. {
  1119.     /*----------------------------------------------------------------*/
  1120.     /* Local Variables                                                */
  1121.     /*----------------------------------------------------------------*/
  1122.     /*----------------------------------------------------------------*/
  1123.     /* Code Body                                                      */
  1124.     /*----------------------------------------------------------------*/
  1125.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_RUSSIAN;
  1126.     wgui_EMS_inputbox_input_mode_changed = 1;
  1127. }
  1128. /*****************************************************************************
  1129.  * FUNCTION
  1130.  *  wgui_EMS_inputbox_change_input_mode_multitap_russian
  1131.  * DESCRIPTION
  1132.  *  
  1133.  * PARAMETERS
  1134.  *  void
  1135.  * RETURNS
  1136.  *  void
  1137.  *****************************************************************************/
  1138. void wgui_EMS_inputbox_change_input_mode_multitap_russian(void)
  1139. {
  1140.     /*----------------------------------------------------------------*/
  1141.     /* Local Variables                                                */
  1142.     /*----------------------------------------------------------------*/
  1143.     /*----------------------------------------------------------------*/
  1144.     /* Code Body                                                      */
  1145.     /*----------------------------------------------------------------*/
  1146.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_RUSSIAN;
  1147.     wgui_EMS_inputbox_input_mode_changed = 1;
  1148. }
  1149. #endif /* defined(__MMI_MULTITAP_RUSSIAN__) */ 
  1150. #if defined(__MMI_MULTITAP_BULGARIAN__)
  1151. /*****************************************************************************
  1152.  * FUNCTION
  1153.  *  wgui_EMS_inputbox_change_input_mode_multitap_BULGARIAN
  1154.  * DESCRIPTION
  1155.  *  
  1156.  * PARAMETERS
  1157.  *  void
  1158.  * RETURNS
  1159.  *  void
  1160.  *****************************************************************************/
  1161. void wgui_EMS_inputbox_change_input_mode_multitap_BULGARIAN(void)
  1162. {
  1163.     /*----------------------------------------------------------------*/
  1164.     /* Local Variables                                                */
  1165.     /*----------------------------------------------------------------*/
  1166.     /*----------------------------------------------------------------*/
  1167.     /* Code Body                                                      */
  1168.     /*----------------------------------------------------------------*/
  1169.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_BULGARIAN;
  1170.     wgui_EMS_inputbox_input_mode_changed = 1;
  1171. }
  1172. /*****************************************************************************
  1173.  * FUNCTION
  1174.  *  wgui_EMS_inputbox_change_input_mode_multitap_bulgarian
  1175.  * DESCRIPTION
  1176.  *  
  1177.  * PARAMETERS
  1178.  *  void
  1179.  * RETURNS
  1180.  *  void
  1181.  *****************************************************************************/
  1182. void wgui_EMS_inputbox_change_input_mode_multitap_bulgarian(void)
  1183. {
  1184.     /*----------------------------------------------------------------*/
  1185.     /* Local Variables                                                */
  1186.     /*----------------------------------------------------------------*/
  1187.     /*----------------------------------------------------------------*/
  1188.     /* Code Body                                                      */
  1189.     /*----------------------------------------------------------------*/
  1190.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_BULGARIAN;
  1191.     wgui_EMS_inputbox_input_mode_changed = 1;
  1192. }
  1193. #endif /* defined(__MMI_MULTITAP_BULGARIAN__) */ 
  1194. #if defined(__MMI_MULTITAP_TURKISH__)
  1195. /*****************************************************************************
  1196.  * FUNCTION
  1197.  *  wgui_EMS_inputbox_change_input_mode_multitap_TURKISH
  1198.  * DESCRIPTION
  1199.  *  
  1200.  * PARAMETERS
  1201.  *  void
  1202.  * RETURNS
  1203.  *  void
  1204.  *****************************************************************************/
  1205. void wgui_EMS_inputbox_change_input_mode_multitap_TURKISH(void)
  1206. {
  1207.     /*----------------------------------------------------------------*/
  1208.     /* Local Variables                                                */
  1209.     /*----------------------------------------------------------------*/
  1210.     /*----------------------------------------------------------------*/
  1211.     /* Code Body                                                      */
  1212.     /*----------------------------------------------------------------*/
  1213.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_TURKISH;
  1214.     wgui_EMS_inputbox_input_mode_changed = 1;
  1215. }
  1216. /*****************************************************************************
  1217.  * FUNCTION
  1218.  *  wgui_EMS_inputbox_change_input_mode_multitap_turkish
  1219.  * DESCRIPTION
  1220.  *  
  1221.  * PARAMETERS
  1222.  *  void
  1223.  * RETURNS
  1224.  *  void
  1225.  *****************************************************************************/
  1226. void wgui_EMS_inputbox_change_input_mode_multitap_turkish(void)
  1227. {
  1228.     /*----------------------------------------------------------------*/
  1229.     /* Local Variables                                                */
  1230.     /*----------------------------------------------------------------*/
  1231.     /*----------------------------------------------------------------*/
  1232.     /* Code Body                                                      */
  1233.     /*----------------------------------------------------------------*/
  1234.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_TURKISH;
  1235.     wgui_EMS_inputbox_input_mode_changed = 1;
  1236. }
  1237. #endif /* defined(__MMI_MULTITAP_TURKISH__) */ 
  1238. #if defined(__MMI_MULTITAP_PORTUGUESE__)
  1239. /*****************************************************************************
  1240.  * FUNCTION
  1241.  *  wgui_EMS_inputbox_change_input_mode_multitap_PORTUGUESE
  1242.  * DESCRIPTION
  1243.  *  
  1244.  * PARAMETERS
  1245.  *  void
  1246.  * RETURNS
  1247.  *  void
  1248.  *****************************************************************************/
  1249. void wgui_EMS_inputbox_change_input_mode_multitap_PORTUGUESE(void)
  1250. {
  1251.     /*----------------------------------------------------------------*/
  1252.     /* Local Variables                                                */
  1253.     /*----------------------------------------------------------------*/
  1254.     /*----------------------------------------------------------------*/
  1255.     /* Code Body                                                      */
  1256.     /*----------------------------------------------------------------*/
  1257.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_PORTUGUESE;
  1258.     wgui_EMS_inputbox_input_mode_changed = 1;
  1259. }
  1260. /*****************************************************************************
  1261.  * FUNCTION
  1262.  *  wgui_EMS_inputbox_change_input_mode_multitap_portuguese
  1263.  * DESCRIPTION
  1264.  *  
  1265.  * PARAMETERS
  1266.  *  void
  1267.  * RETURNS
  1268.  *  void
  1269.  *****************************************************************************/
  1270. void wgui_EMS_inputbox_change_input_mode_multitap_portuguese(void)
  1271. {
  1272.     /*----------------------------------------------------------------*/
  1273.     /* Local Variables                                                */
  1274.     /*----------------------------------------------------------------*/
  1275.     /*----------------------------------------------------------------*/
  1276.     /* Code Body                                                      */
  1277.     /*----------------------------------------------------------------*/
  1278.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_PORTUGUESE;
  1279.     wgui_EMS_inputbox_input_mode_changed = 1;
  1280. }
  1281. #endif /* defined(__MMI_MULTITAP_PORTUGUESE__) */ 
  1282. #if defined(__MMI_MULTITAP_HINDI__)
  1283. /*****************************************************************************
  1284.  * FUNCTION
  1285.  *  wgui_EMS_inputbox_change_input_mode_multitap_HINDI
  1286.  * DESCRIPTION
  1287.  *  
  1288.  * PARAMETERS
  1289.  *  void
  1290.  * RETURNS
  1291.  *  void
  1292.  *****************************************************************************/
  1293. void wgui_EMS_inputbox_change_input_mode_multitap_HINDI(void)
  1294. {
  1295.     /*----------------------------------------------------------------*/
  1296.     /* Local Variables                                                */
  1297.     /*----------------------------------------------------------------*/
  1298.     /*----------------------------------------------------------------*/
  1299.     /* Code Body                                                      */
  1300.     /*----------------------------------------------------------------*/
  1301.     wgui_EMS_inputbox_input_type = INPUT_TYPE_MULTITAP_HINDI;
  1302.     wgui_EMS_inputbox_input_mode_changed = 1;
  1303. }
  1304. #endif /* defined(__MMI_MULTITAP_HINDI__) */ 
  1305. /* PMT RAKESH START 20061006 */
  1306. #if defined(__MMI_MULTITAP_MARATHI__)
  1307. /*****************************************************************************
  1308.  * FUNCTION
  1309.  *  wgui_EMS_inputbox_change_input_mode_multitap_MARATHI
  1310.  * DESCRIPTION
  1311.  *  
  1312.  * PARAMETERS
  1313.  *  void
  1314.  * RETURNS
  1315.  *  void
  1316.  *****************************************************************************/
  1317. void wgui_EMS_inputbox_change_input_mode_multitap_MARATHI(void)
  1318. {
  1319.     /*----------------------------------------------------------------*/
  1320.     /* Local Variables                                                */
  1321.     /*----------------------------------------------------------------*/
  1322.     /*----------------------------------------------------------------*/
  1323.     /* Code Body                                                      */
  1324.     /*----------------------------------------------------------------*/
  1325.     wgui_EMS_inputbox_input_type = INPUT_TYPE_MULTITAP_MARATHI;
  1326.     wgui_EMS_inputbox_input_mode_changed = 1;
  1327. }
  1328. #endif /* defined(__MMI_MULTITAP_MARATHI__) */ 
  1329. /* PMT RAKESH END 20061006 */
  1330. #if defined(__MMI_MULTITAP_INDONESIAN__)
  1331. /*****************************************************************************
  1332.  * FUNCTION
  1333.  *  wgui_EMS_inputbox_change_input_mode_multitap_INDONESIAN
  1334.  * DESCRIPTION
  1335.  *  
  1336.  * PARAMETERS
  1337.  *  void
  1338.  * RETURNS
  1339.  *  void
  1340.  *****************************************************************************/
  1341. void wgui_EMS_inputbox_change_input_mode_multitap_INDONESIAN(void)
  1342. {
  1343.     /*----------------------------------------------------------------*/
  1344.     /* Local Variables                                                */
  1345.     /*----------------------------------------------------------------*/
  1346.     /*----------------------------------------------------------------*/
  1347.     /* Code Body                                                      */
  1348.     /*----------------------------------------------------------------*/
  1349.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_INDONESIAN;
  1350.     wgui_EMS_inputbox_input_mode_changed = 1;
  1351. }
  1352. /*****************************************************************************
  1353.  * FUNCTION
  1354.  *  wgui_EMS_inputbox_change_input_mode_multitap_indonesian
  1355.  * DESCRIPTION
  1356.  *  
  1357.  * PARAMETERS
  1358.  *  void
  1359.  * RETURNS
  1360.  *  void
  1361.  *****************************************************************************/
  1362. void wgui_EMS_inputbox_change_input_mode_multitap_indonesian(void)
  1363. {
  1364.     /*----------------------------------------------------------------*/
  1365.     /* Local Variables                                                */
  1366.     /*----------------------------------------------------------------*/
  1367.     /*----------------------------------------------------------------*/
  1368.     /* Code Body                                                      */
  1369.     /*----------------------------------------------------------------*/
  1370.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_INDONESIAN;
  1371.     wgui_EMS_inputbox_input_mode_changed = 1;
  1372. }
  1373. #endif /* defined(__MMI_MULTITAP_INDONESIAN__) */ 
  1374. #if defined(__MMI_MULTITAP_CZECH__)
  1375. /*****************************************************************************
  1376.  * FUNCTION
  1377.  *  wgui_EMS_inputbox_change_input_mode_multitap_CZECH
  1378.  * DESCRIPTION
  1379.  *  
  1380.  * PARAMETERS
  1381.  *  void
  1382.  * RETURNS
  1383.  *  void
  1384.  *****************************************************************************/
  1385. void wgui_EMS_inputbox_change_input_mode_multitap_CZECH(void)
  1386. {
  1387.     /*----------------------------------------------------------------*/
  1388.     /* Local Variables                                                */
  1389.     /*----------------------------------------------------------------*/
  1390.     /*----------------------------------------------------------------*/
  1391.     /* Code Body                                                      */
  1392.     /*----------------------------------------------------------------*/
  1393.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CZECH;
  1394.     wgui_EMS_inputbox_input_mode_changed = 1;
  1395. }
  1396. /*****************************************************************************
  1397.  * FUNCTION
  1398.  *  wgui_EMS_inputbox_change_input_mode_multitap_czech
  1399.  * DESCRIPTION
  1400.  *  
  1401.  * PARAMETERS
  1402.  *  void
  1403.  * RETURNS
  1404.  *  void
  1405.  *****************************************************************************/
  1406. void wgui_EMS_inputbox_change_input_mode_multitap_czech(void)
  1407. {
  1408.     /*----------------------------------------------------------------*/
  1409.     /* Local Variables                                                */
  1410.     /*----------------------------------------------------------------*/
  1411.     /*----------------------------------------------------------------*/
  1412.     /* Code Body                                                      */
  1413.     /*----------------------------------------------------------------*/
  1414.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CZECH;
  1415.     wgui_EMS_inputbox_input_mode_changed = 1;
  1416. }
  1417. #endif /* defined(__MMI_MULTITAP_CZECH__) */ 
  1418. #if defined(__MMI_MULTITAP_MALAY__)
  1419. /*****************************************************************************
  1420.  * FUNCTION
  1421.  *  wgui_EMS_inputbox_change_input_mode_multitap_MALAY
  1422.  * DESCRIPTION
  1423.  *  
  1424.  * PARAMETERS
  1425.  *  void
  1426.  * RETURNS
  1427.  *  void
  1428.  *****************************************************************************/
  1429. void wgui_EMS_inputbox_change_input_mode_multitap_MALAY(void)
  1430. {
  1431.     /*----------------------------------------------------------------*/
  1432.     /* Local Variables                                                */
  1433.     /*----------------------------------------------------------------*/
  1434.     /*----------------------------------------------------------------*/
  1435.     /* Code Body                                                      */
  1436.     /*----------------------------------------------------------------*/
  1437.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_MALAY;
  1438.     wgui_EMS_inputbox_input_mode_changed = 1;
  1439. }
  1440. /*****************************************************************************
  1441.  * FUNCTION
  1442.  *  wgui_EMS_inputbox_change_input_mode_multitap_malay
  1443.  * DESCRIPTION
  1444.  *  
  1445.  * PARAMETERS
  1446.  *  void
  1447.  * RETURNS
  1448.  *  void
  1449.  *****************************************************************************/
  1450. void wgui_EMS_inputbox_change_input_mode_multitap_malay(void)
  1451. {
  1452.     /*----------------------------------------------------------------*/
  1453.     /* Local Variables                                                */
  1454.     /*----------------------------------------------------------------*/
  1455.     /*----------------------------------------------------------------*/
  1456.     /* Code Body                                                      */
  1457.     /*----------------------------------------------------------------*/
  1458.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_MALAY;
  1459.     wgui_EMS_inputbox_input_mode_changed = 1;
  1460. }
  1461. #endif /* defined(__MMI_MULTITAP_MALAY__) */ 
  1462. #if defined(__MMI_MULTITAP_VIETNAMESE__)
  1463. /*****************************************************************************
  1464.  * FUNCTION
  1465.  *  wgui_EMS_inputbox_change_input_mode_multitap_VIETNAMESE
  1466.  * DESCRIPTION
  1467.  *  
  1468.  * PARAMETERS
  1469.  *  void
  1470.  * RETURNS
  1471.  *  void
  1472.  *****************************************************************************/
  1473. void wgui_EMS_inputbox_change_input_mode_multitap_VIETNAMESE(void)
  1474. {
  1475.     /*----------------------------------------------------------------*/
  1476.     /* Local Variables                                                */
  1477.     /*----------------------------------------------------------------*/
  1478.     /*----------------------------------------------------------------*/
  1479.     /* Code Body                                                      */
  1480.     /*----------------------------------------------------------------*/
  1481.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_VIETNAMESE;
  1482.     wgui_EMS_inputbox_input_mode_changed = 1;
  1483. }
  1484. /*****************************************************************************
  1485.  * FUNCTION
  1486.  *  wgui_EMS_inputbox_change_input_mode_multitap_vietnamese
  1487.  * DESCRIPTION
  1488.  *  
  1489.  * PARAMETERS
  1490.  *  void
  1491.  * RETURNS
  1492.  *  void
  1493.  *****************************************************************************/
  1494. void wgui_EMS_inputbox_change_input_mode_multitap_vietnamese(void)
  1495. {
  1496.     /*----------------------------------------------------------------*/
  1497.     /* Local Variables                                                */
  1498.     /*----------------------------------------------------------------*/
  1499.     /*----------------------------------------------------------------*/
  1500.     /* Code Body                                                      */
  1501.     /*----------------------------------------------------------------*/
  1502.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_VIETNAMESE;
  1503.     wgui_EMS_inputbox_input_mode_changed = 1;
  1504. }
  1505. #endif /* defined(__MMI_MULTITAP_VIETNAMESE__) */ 
  1506. #if defined(__MMI_MULTITAP_FINNISH__)
  1507. /*****************************************************************************
  1508.  * FUNCTION
  1509.  *  wgui_EMS_inputbox_change_input_mode_multitap_FINNISH
  1510.  * DESCRIPTION
  1511.  *  
  1512.  * PARAMETERS
  1513.  *  void
  1514.  * RETURNS
  1515.  *  void
  1516.  *****************************************************************************/
  1517. void wgui_EMS_inputbox_change_input_mode_multitap_FINNISH(void)
  1518. {
  1519.     /*----------------------------------------------------------------*/
  1520.     /* Local Variables                                                */
  1521.     /*----------------------------------------------------------------*/
  1522.     /*----------------------------------------------------------------*/
  1523.     /* Code Body                                                      */
  1524.     /*----------------------------------------------------------------*/
  1525.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_FINNISH;
  1526.     wgui_EMS_inputbox_input_mode_changed = 1;
  1527. }
  1528. /*****************************************************************************
  1529.  * FUNCTION
  1530.  *  wgui_EMS_inputbox_change_input_mode_multitap_finnish
  1531.  * DESCRIPTION
  1532.  *  
  1533.  * PARAMETERS
  1534.  *  void
  1535.  * RETURNS
  1536.  *  void
  1537.  *****************************************************************************/
  1538. void wgui_EMS_inputbox_change_input_mode_multitap_finnish(void)
  1539. {
  1540.     /*----------------------------------------------------------------*/
  1541.     /* Local Variables                                                */
  1542.     /*----------------------------------------------------------------*/
  1543.     /*----------------------------------------------------------------*/
  1544.     /* Code Body                                                      */
  1545.     /*----------------------------------------------------------------*/
  1546.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_FINNISH;
  1547.     wgui_EMS_inputbox_input_mode_changed = 1;
  1548. }
  1549. #endif /* defined(__MMI_MULTITAP_FINNISH__) */ 
  1550. #if defined(__MMI_MULTITAP_HUNGARIAN__)
  1551. /*****************************************************************************
  1552.  * FUNCTION
  1553.  *  wgui_EMS_inputbox_change_input_mode_multitap_HUNGARIAN
  1554.  * DESCRIPTION
  1555.  *  
  1556.  * PARAMETERS
  1557.  *  void
  1558.  * RETURNS
  1559.  *  void
  1560.  *****************************************************************************/
  1561. void wgui_EMS_inputbox_change_input_mode_multitap_HUNGARIAN(void)
  1562. {
  1563.     /*----------------------------------------------------------------*/
  1564.     /* Local Variables                                                */
  1565.     /*----------------------------------------------------------------*/
  1566.     /*----------------------------------------------------------------*/
  1567.     /* Code Body                                                      */
  1568.     /*----------------------------------------------------------------*/
  1569.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_HUNGARIAN;
  1570.     wgui_EMS_inputbox_input_mode_changed = 1;
  1571. }
  1572. /*****************************************************************************
  1573.  * FUNCTION
  1574.  *  wgui_EMS_inputbox_change_input_mode_multitap_hungarian
  1575.  * DESCRIPTION
  1576.  *  
  1577.  * PARAMETERS
  1578.  *  void
  1579.  * RETURNS
  1580.  *  void
  1581.  *****************************************************************************/
  1582. void wgui_EMS_inputbox_change_input_mode_multitap_hungarian(void)
  1583. {
  1584.     /*----------------------------------------------------------------*/
  1585.     /* Local Variables                                                */
  1586.     /*----------------------------------------------------------------*/
  1587.     /*----------------------------------------------------------------*/
  1588.     /* Code Body                                                      */
  1589.     /*----------------------------------------------------------------*/
  1590.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_HUNGARIAN;
  1591.     wgui_EMS_inputbox_input_mode_changed = 1;
  1592. }
  1593. #endif /* defined(__MMI_MULTITAP_HUNGARIAN__) */ 
  1594. #if defined(__MMI_MULTITAP_SLOVAK__)
  1595. /*****************************************************************************
  1596.  * FUNCTION
  1597.  *  wgui_EMS_inputbox_change_input_mode_multitap_SLOVAK
  1598.  * DESCRIPTION
  1599.  *  
  1600.  * PARAMETERS
  1601.  *  void
  1602.  * RETURNS
  1603.  *  void
  1604.  *****************************************************************************/
  1605. void wgui_EMS_inputbox_change_input_mode_multitap_SLOVAK(void)
  1606. {
  1607.     /*----------------------------------------------------------------*/
  1608.     /* Local Variables                                                */
  1609.     /*----------------------------------------------------------------*/
  1610.     /*----------------------------------------------------------------*/
  1611.     /* Code Body                                                      */
  1612.     /*----------------------------------------------------------------*/
  1613.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVAK;
  1614.     wgui_EMS_inputbox_input_mode_changed = 1;
  1615. }
  1616. /*****************************************************************************
  1617.  * FUNCTION
  1618.  *  wgui_EMS_inputbox_change_input_mode_multitap_slovak
  1619.  * DESCRIPTION
  1620.  *  
  1621.  * PARAMETERS
  1622.  *  void
  1623.  * RETURNS
  1624.  *  void
  1625.  *****************************************************************************/
  1626. void wgui_EMS_inputbox_change_input_mode_multitap_slovak(void)
  1627. {
  1628.     /*----------------------------------------------------------------*/
  1629.     /* Local Variables                                                */
  1630.     /*----------------------------------------------------------------*/
  1631.     /*----------------------------------------------------------------*/
  1632.     /* Code Body                                                      */
  1633.     /*----------------------------------------------------------------*/
  1634.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVAK;
  1635.     wgui_EMS_inputbox_input_mode_changed = 1;
  1636. }
  1637. #endif /* defined(__MMI_MULTITAP_SLOVAK__) */ 
  1638. #if defined(__MMI_MULTITAP_DUTCH__)
  1639. /*****************************************************************************
  1640.  * FUNCTION
  1641.  *  wgui_EMS_inputbox_change_input_mode_multitap_DUTCH
  1642.  * DESCRIPTION
  1643.  *  
  1644.  * PARAMETERS
  1645.  *  void
  1646.  * RETURNS
  1647.  *  void
  1648.  *****************************************************************************/
  1649. void wgui_EMS_inputbox_change_input_mode_multitap_DUTCH(void)
  1650. {
  1651.     /*----------------------------------------------------------------*/
  1652.     /* Local Variables                                                */
  1653.     /*----------------------------------------------------------------*/
  1654.     /*----------------------------------------------------------------*/
  1655.     /* Code Body                                                      */
  1656.     /*----------------------------------------------------------------*/
  1657.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_DUTCH;
  1658.     wgui_EMS_inputbox_input_mode_changed = 1;
  1659. }
  1660. /*****************************************************************************
  1661.  * FUNCTION
  1662.  *  wgui_EMS_inputbox_change_input_mode_multitap_dutch
  1663.  * DESCRIPTION
  1664.  *  
  1665.  * PARAMETERS
  1666.  *  void
  1667.  * RETURNS
  1668.  *  void
  1669.  *****************************************************************************/
  1670. void wgui_EMS_inputbox_change_input_mode_multitap_dutch(void)
  1671. {
  1672.     /*----------------------------------------------------------------*/
  1673.     /* Local Variables                                                */
  1674.     /*----------------------------------------------------------------*/
  1675.     /*----------------------------------------------------------------*/
  1676.     /* Code Body                                                      */
  1677.     /*----------------------------------------------------------------*/
  1678.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_DUTCH;
  1679.     wgui_EMS_inputbox_input_mode_changed = 1;
  1680. }
  1681. #endif /* defined(__MMI_MULTITAP_DUTCH__) */ 
  1682. #if defined(__MMI_MULTITAP_ARABIC__)
  1683. /*****************************************************************************
  1684.  * FUNCTION
  1685.  *  wgui_EMS_inputbox_change_input_mode_multitap_arabic
  1686.  * DESCRIPTION
  1687.  *  
  1688.  * PARAMETERS
  1689.  *  void
  1690.  * RETURNS
  1691.  *  void
  1692.  *****************************************************************************/
  1693. void wgui_EMS_inputbox_change_input_mode_multitap_arabic(void)
  1694. {
  1695.     /*----------------------------------------------------------------*/
  1696.     /* Local Variables                                                */
  1697.     /*----------------------------------------------------------------*/
  1698.     /*----------------------------------------------------------------*/
  1699.     /* Code Body                                                      */
  1700.     /*----------------------------------------------------------------*/
  1701.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_ARABIC;
  1702.     wgui_EMS_inputbox_input_mode_changed = 1;
  1703. }
  1704. #endif /* defined(__MMI_MULTITAP_ARABIC__) */ 
  1705. //PMT START PERSIAN
  1706. #if defined(__MMI_MULTITAP_PERSIAN__)
  1707. /*****************************************************************************
  1708.  * FUNCTION
  1709.  *  wgui_EMS_inputbox_change_input_mode_multitap_arabic
  1710.  * DESCRIPTION
  1711.  *  
  1712.  * PARAMETERS
  1713.  *  void
  1714.  * RETURNS
  1715.  *  void
  1716.  *****************************************************************************/
  1717. void wgui_EMS_inputbox_change_input_mode_multitap_persian(void)
  1718. {
  1719.     /*----------------------------------------------------------------*/
  1720.     /* Local Variables                                                */
  1721.     /*----------------------------------------------------------------*/
  1722.     /*----------------------------------------------------------------*/
  1723.     /* Code Body                                                      */
  1724.     /*----------------------------------------------------------------*/
  1725.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_PERSIAN;
  1726.     wgui_EMS_inputbox_input_mode_changed = 1;
  1727. }
  1728. #endif 
  1729. //PMT END PERSIAN
  1730. #if defined(__MMI_MULTITAP_NORWEGIAN__)
  1731. /*****************************************************************************
  1732.  * FUNCTION
  1733.  *  wgui_EMS_inputbox_change_input_mode_multitap_NORWEGIAN
  1734.  * DESCRIPTION
  1735.  *  
  1736.  * PARAMETERS
  1737.  *  void
  1738.  * RETURNS
  1739.  *  void
  1740.  *****************************************************************************/
  1741. void wgui_EMS_inputbox_change_input_mode_multitap_NORWEGIAN(void)
  1742. {
  1743.     /*----------------------------------------------------------------*/
  1744.     /* Local Variables                                                */
  1745.     /*----------------------------------------------------------------*/
  1746.     /*----------------------------------------------------------------*/
  1747.     /* Code Body                                                      */
  1748.     /*----------------------------------------------------------------*/
  1749.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_NORWEGIAN;
  1750.     wgui_EMS_inputbox_input_mode_changed = 1;
  1751. }
  1752. /*****************************************************************************
  1753.  * FUNCTION
  1754.  *  wgui_EMS_inputbox_change_input_mode_multitap_norwegian
  1755.  * DESCRIPTION
  1756.  *  
  1757.  * PARAMETERS
  1758.  *  void
  1759.  * RETURNS
  1760.  *  void
  1761.  *****************************************************************************/
  1762. void wgui_EMS_inputbox_change_input_mode_multitap_norwegian(void)
  1763. {
  1764.     /*----------------------------------------------------------------*/
  1765.     /* Local Variables                                                */
  1766.     /*----------------------------------------------------------------*/
  1767.     /*----------------------------------------------------------------*/
  1768.     /* Code Body                                                      */
  1769.     /*----------------------------------------------------------------*/
  1770.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_NORWEGIAN;
  1771.     wgui_EMS_inputbox_input_mode_changed = 1;
  1772. }
  1773. #endif /* defined(__MMI_MULTITAP_NORWEGIAN__) */ 
  1774. #if defined(__MMI_MULTITAP_SWEDISH__)
  1775. /*****************************************************************************
  1776.  * FUNCTION
  1777.  *  wgui_EMS_inputbox_change_input_mode_multitap_SWEDISH
  1778.  * DESCRIPTION
  1779.  *  
  1780.  * PARAMETERS
  1781.  *  void
  1782.  * RETURNS
  1783.  *  void
  1784.  *****************************************************************************/
  1785. void wgui_EMS_inputbox_change_input_mode_multitap_SWEDISH(void)
  1786. {
  1787.     /*----------------------------------------------------------------*/
  1788.     /* Local Variables                                                */
  1789.     /*----------------------------------------------------------------*/
  1790.     /*----------------------------------------------------------------*/
  1791.     /* Code Body                                                      */
  1792.     /*----------------------------------------------------------------*/
  1793.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SWEDISH;
  1794.     wgui_EMS_inputbox_input_mode_changed = 1;
  1795. }
  1796. /*****************************************************************************
  1797.  * FUNCTION
  1798.  *  wgui_EMS_inputbox_change_input_mode_multitap_swedish
  1799.  * DESCRIPTION
  1800.  *  
  1801.  * PARAMETERS
  1802.  *  void
  1803.  * RETURNS
  1804.  *  void
  1805.  *****************************************************************************/
  1806. void wgui_EMS_inputbox_change_input_mode_multitap_swedish(void)
  1807. {
  1808.     /*----------------------------------------------------------------*/
  1809.     /* Local Variables                                                */
  1810.     /*----------------------------------------------------------------*/
  1811.     /*----------------------------------------------------------------*/
  1812.     /* Code Body                                                      */
  1813.     /*----------------------------------------------------------------*/
  1814.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SWEDISH;
  1815.     wgui_EMS_inputbox_input_mode_changed = 1;
  1816. }
  1817. #endif /* defined(__MMI_MULTITAP_SWEDISH__) */ 
  1818. #if defined(__MMI_MULTITAP_CROATIAN__)
  1819. /*****************************************************************************
  1820.  * FUNCTION
  1821.  *  wgui_EMS_inputbox_change_input_mode_multitap_CROATIAN
  1822.  * DESCRIPTION
  1823.  *  
  1824.  * PARAMETERS
  1825.  *  void
  1826.  * RETURNS
  1827.  *  void
  1828.  *****************************************************************************/
  1829. void wgui_EMS_inputbox_change_input_mode_multitap_CROATIAN(void)
  1830. {
  1831.     /*----------------------------------------------------------------*/
  1832.     /* Local Variables                                                */
  1833.     /*----------------------------------------------------------------*/
  1834.     /*----------------------------------------------------------------*/
  1835.     /* Code Body                                                      */
  1836.     /*----------------------------------------------------------------*/
  1837.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_CROATIAN;
  1838.     wgui_EMS_inputbox_input_mode_changed = 1;
  1839. }
  1840. /*****************************************************************************
  1841.  * FUNCTION
  1842.  *  wgui_EMS_inputbox_change_input_mode_multitap_croatian
  1843.  * DESCRIPTION
  1844.  *  
  1845.  * PARAMETERS
  1846.  *  void
  1847.  * RETURNS
  1848.  *  void
  1849.  *****************************************************************************/
  1850. void wgui_EMS_inputbox_change_input_mode_multitap_croatian(void)
  1851. {
  1852.     /*----------------------------------------------------------------*/
  1853.     /* Local Variables                                                */
  1854.     /*----------------------------------------------------------------*/
  1855.     /*----------------------------------------------------------------*/
  1856.     /* Code Body                                                      */
  1857.     /*----------------------------------------------------------------*/
  1858.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_CROATIAN;
  1859.     wgui_EMS_inputbox_input_mode_changed = 1;
  1860. }
  1861. #endif /* defined(__MMI_MULTITAP_CROATIAN__) */ 
  1862. #if defined(__MMI_MULTITAP_ROMANIAN__)
  1863. /*****************************************************************************
  1864.  * FUNCTION
  1865.  *  wgui_EMS_inputbox_change_input_mode_multitap_ROMANIAN
  1866.  * DESCRIPTION
  1867.  *  
  1868.  * PARAMETERS
  1869.  *  void
  1870.  * RETURNS
  1871.  *  void
  1872.  *****************************************************************************/
  1873. void wgui_EMS_inputbox_change_input_mode_multitap_ROMANIAN(void)
  1874. {
  1875.     /*----------------------------------------------------------------*/
  1876.     /* Local Variables                                                */
  1877.     /*----------------------------------------------------------------*/
  1878.     /*----------------------------------------------------------------*/
  1879.     /* Code Body                                                      */
  1880.     /*----------------------------------------------------------------*/
  1881.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_ROMANIAN;
  1882.     wgui_EMS_inputbox_input_mode_changed = 1;
  1883. }
  1884. /*****************************************************************************
  1885.  * FUNCTION
  1886.  *  wgui_EMS_inputbox_change_input_mode_multitap_romanian
  1887.  * DESCRIPTION
  1888.  *  
  1889.  * PARAMETERS
  1890.  *  void
  1891.  * RETURNS
  1892.  *  void
  1893.  *****************************************************************************/
  1894. void wgui_EMS_inputbox_change_input_mode_multitap_romanian(void)
  1895. {
  1896.     /*----------------------------------------------------------------*/
  1897.     /* Local Variables                                                */
  1898.     /*----------------------------------------------------------------*/
  1899.     /*----------------------------------------------------------------*/
  1900.     /* Code Body                                                      */
  1901.     /*----------------------------------------------------------------*/
  1902.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_ROMANIAN;
  1903.     wgui_EMS_inputbox_input_mode_changed = 1;
  1904. }
  1905. #endif /* defined(__MMI_MULTITAP_ROMANIAN__) */ 
  1906. #if defined(__MMI_MULTITAP_HEBREW__)
  1907. /*****************************************************************************
  1908.  * FUNCTION
  1909.  *  wgui_EMS_inputbox_change_input_mode_multitap_hebrew
  1910.  * DESCRIPTION
  1911.  *  
  1912.  * PARAMETERS
  1913.  *  void
  1914.  * RETURNS
  1915.  *  void
  1916.  *****************************************************************************/
  1917. void wgui_EMS_inputbox_change_input_mode_multitap_hebrew(void)
  1918. {
  1919.     /*----------------------------------------------------------------*/
  1920.     /* Local Variables                                                */
  1921.     /*----------------------------------------------------------------*/
  1922.     /*----------------------------------------------------------------*/
  1923.     /* Code Body                                                      */
  1924.     /*----------------------------------------------------------------*/
  1925.     wgui_EMS_inputbox_input_type = INPUT_TYPE_MMI_MULTITAP_HEBREW;
  1926.     wgui_EMS_inputbox_input_mode_changed = 1;
  1927. }
  1928. #endif /* defined(__MMI_MULTITAP_HEBREW__) */ 
  1929. #if defined(__MMI_MULTITAP_SLOVENIAN__)
  1930. /*****************************************************************************
  1931.  * FUNCTION
  1932.  *  wgui_EMS_inputbox_change_input_mode_multitap_SLOVENIAN
  1933.  * DESCRIPTION
  1934.  *  
  1935.  * PARAMETERS
  1936.  *  void
  1937.  * RETURNS
  1938.  *  void
  1939.  *****************************************************************************/
  1940. void wgui_EMS_inputbox_change_input_mode_multitap_SLOVENIAN(void)
  1941. {
  1942.     /*----------------------------------------------------------------*/
  1943.     /* Local Variables                                                */
  1944.     /*----------------------------------------------------------------*/
  1945.     /*----------------------------------------------------------------*/
  1946.     /* Code Body                                                      */
  1947.     /*----------------------------------------------------------------*/
  1948.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_SLOVENIAN;
  1949.     wgui_EMS_inputbox_input_mode_changed = 1;
  1950. }
  1951. /*****************************************************************************
  1952.  * FUNCTION
  1953.  *  wgui_EMS_inputbox_change_input_mode_multitap_slovenian
  1954.  * DESCRIPTION
  1955.  *  
  1956.  * PARAMETERS
  1957.  *  void
  1958.  * RETURNS
  1959.  *  void
  1960.  *****************************************************************************/
  1961. void wgui_EMS_inputbox_change_input_mode_multitap_slovenian(void)
  1962. {
  1963.     /*----------------------------------------------------------------*/
  1964.     /* Local Variables                                                */
  1965.     /*----------------------------------------------------------------*/
  1966.     /*----------------------------------------------------------------*/
  1967.     /* Code Body                                                      */
  1968.     /*----------------------------------------------------------------*/
  1969.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_SLOVENIAN;
  1970.     wgui_EMS_inputbox_input_mode_changed = 1;
  1971. }
  1972. #endif /* defined(__MMI_MULTITAP_SLOVENIAN__) */ 
  1973. #if defined(__MMI_MULTITAP_GREEK__)
  1974. /*****************************************************************************
  1975.  * FUNCTION
  1976.  *  wgui_EMS_inputbox_change_input_mode_multitap_GREEK
  1977.  * DESCRIPTION
  1978.  *  
  1979.  * PARAMETERS
  1980.  *  void
  1981.  * RETURNS
  1982.  *  void
  1983.  *****************************************************************************/
  1984. void wgui_EMS_inputbox_change_input_mode_multitap_GREEK(void)
  1985. {
  1986.     /*----------------------------------------------------------------*/
  1987.     /* Local Variables                                                */
  1988.     /*----------------------------------------------------------------*/
  1989.     /*----------------------------------------------------------------*/
  1990.     /* Code Body                                                      */
  1991.     /*----------------------------------------------------------------*/
  1992.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_UPPERCASE_GREEK;
  1993.     wgui_EMS_inputbox_input_mode_changed = 1;
  1994. }
  1995. /*****************************************************************************
  1996.  * FUNCTION
  1997.  *  wgui_EMS_inputbox_change_input_mode_multitap_greek
  1998.  * DESCRIPTION
  1999.  *  
  2000.  * PARAMETERS
  2001.  *  void
  2002.  * RETURNS
  2003.  *  void
  2004.  *****************************************************************************/
  2005. void wgui_EMS_inputbox_change_input_mode_multitap_greek(void)
  2006. {
  2007.     /*----------------------------------------------------------------*/
  2008.     /* Local Variables                                                */
  2009.     /*----------------------------------------------------------------*/
  2010.     /*----------------------------------------------------------------*/
  2011.     /* Code Body                                                      */
  2012.     /*----------------------------------------------------------------*/
  2013.     wgui_EMS_inputbox_input_type = INPUT_TYPE_ALPHANUMERIC_LOWERCASE_GREEK;
  2014.     wgui_EMS_inputbox_input_mode_changed = 1;
  2015. }
  2016. #endif /* defined(__MMI_MULTITAP_GREEK__) */ 
  2017. #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
  2018. /*****************************************************************************
  2019.  * FUNCTION
  2020.  *  wgui_EMS_inputbox_change_input_mode_smart_ABC
  2021.  * DESCRIPTION
  2022.  *  
  2023.  * PARAMETERS
  2024.  *  void
  2025.  * RETURNS
  2026.  *  void
  2027.  *****************************************************************************/
  2028. void wgui_EMS_inputbox_change_input_mode_smart_ABC(void)
  2029. {
  2030.     /*----------------------------------------------------------------*/
  2031.     /* Local Variables                                                */
  2032.     /*----------------------------------------------------------------*/
  2033.     /*----------------------------------------------------------------*/
  2034.     /* Code Body                                                      */
  2035.     /*----------------------------------------------------------------*/
  2036.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_ABC;
  2037.     wgui_EMS_inputbox_input_mode_changed = 1;
  2038. }
  2039. /*****************************************************************************
  2040.  * FUNCTION
  2041.  *  wgui_EMS_inputbox_change_input_mode_smart_abc
  2042.  * DESCRIPTION
  2043.  *  
  2044.  * PARAMETERS
  2045.  *  void
  2046.  * RETURNS
  2047.  *  void
  2048.  *****************************************************************************/
  2049. void wgui_EMS_inputbox_change_input_mode_smart_abc(void)
  2050. {
  2051.     /*----------------------------------------------------------------*/
  2052.     /* Local Variables                                                */
  2053.     /*----------------------------------------------------------------*/
  2054.     /*----------------------------------------------------------------*/
  2055.     /* Code Body                                                      */
  2056.     /*----------------------------------------------------------------*/
  2057.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_ABC;
  2058.     wgui_EMS_inputbox_input_mode_changed = 1;
  2059. }
  2060. /*****************************************************************************
  2061.  * FUNCTION
  2062.  *  wgui_EMS_inputbox_change_input_mode_tr_bpmf
  2063.  * DESCRIPTION
  2064.  *  
  2065.  * PARAMETERS
  2066.  *  void
  2067.  * RETURNS
  2068.  *  void
  2069.  *****************************************************************************/
  2070. void wgui_EMS_inputbox_change_input_mode_tr_bpmf(void)
  2071. {
  2072.     /*----------------------------------------------------------------*/
  2073.     /* Local Variables                                                */
  2074.     /*----------------------------------------------------------------*/
  2075.     /*----------------------------------------------------------------*/
  2076.     /* Code Body                                                      */
  2077.     /*----------------------------------------------------------------*/
  2078.     wgui_EMS_inputbox_input_type = INPUT_TYPE_TR_BOPOMO;
  2079.     wgui_EMS_inputbox_input_mode_changed = 1;
  2080. }
  2081. /*****************************************************************************
  2082.  * FUNCTION
  2083.  *  wgui_EMS_inputbox_change_input_mode_tr_stroke
  2084.  * DESCRIPTION
  2085.  *  
  2086.  * PARAMETERS
  2087.  *  void
  2088.  * RETURNS
  2089.  *  void
  2090.  *****************************************************************************/
  2091. void wgui_EMS_inputbox_change_input_mode_tr_stroke(void)
  2092. {
  2093.     /*----------------------------------------------------------------*/
  2094.     /* Local Variables                                                */
  2095.     /*----------------------------------------------------------------*/
  2096.     /*----------------------------------------------------------------*/
  2097.     /* Code Body                                                      */
  2098.     /*----------------------------------------------------------------*/
  2099.     wgui_EMS_inputbox_input_type = INPUT_TYPE_TR_STROKE;
  2100.     wgui_EMS_inputbox_input_mode_changed = 1;
  2101. }
  2102. /*****************************************************************************
  2103.  * FUNCTION
  2104.  *  wgui_EMS_inputbox_change_input_mode_sm_pinyin
  2105.  * DESCRIPTION
  2106.  *  
  2107.  * PARAMETERS
  2108.  *  void
  2109.  * RETURNS
  2110.  *  void
  2111.  *****************************************************************************/
  2112. void wgui_EMS_inputbox_change_input_mode_sm_pinyin(void)
  2113. {
  2114.     /*----------------------------------------------------------------*/
  2115.     /* Local Variables                                                */
  2116.     /*----------------------------------------------------------------*/
  2117.     /*----------------------------------------------------------------*/
  2118.     /* Code Body                                                      */
  2119.     /*----------------------------------------------------------------*/
  2120.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SM_PINYIN;
  2121.     wgui_EMS_inputbox_input_mode_changed = 1;
  2122. }
  2123. /*****************************************************************************
  2124.  * FUNCTION
  2125.  *  wgui_EMS_inputbox_change_input_mode_sm_stroke
  2126.  * DESCRIPTION
  2127.  *  
  2128.  * PARAMETERS
  2129.  *  void
  2130.  * RETURNS
  2131.  *  void
  2132.  *****************************************************************************/
  2133. void wgui_EMS_inputbox_change_input_mode_sm_stroke(void)
  2134. {
  2135.     /*----------------------------------------------------------------*/
  2136.     /* Local Variables                                                */
  2137.     /*----------------------------------------------------------------*/
  2138.     /*----------------------------------------------------------------*/
  2139.     /* Code Body                                                      */
  2140.     /*----------------------------------------------------------------*/
  2141.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SM_STROKE;
  2142.     wgui_EMS_inputbox_input_mode_changed = 1;
  2143. }
  2144. /*****************************************************************************
  2145.  * FUNCTION
  2146.  *  wgui_EMS_inputbox_change_input_mode_tr_multitap_bpmf
  2147.  * DESCRIPTION
  2148.  *  
  2149.  * PARAMETERS
  2150.  *  void
  2151.  * RETURNS
  2152.  *  void
  2153.  *****************************************************************************/
  2154. void wgui_EMS_inputbox_change_input_mode_tr_multitap_bpmf(void)
  2155. {
  2156.     /*----------------------------------------------------------------*/
  2157.     /* Local Variables                                                */
  2158.     /*----------------------------------------------------------------*/
  2159.     /*----------------------------------------------------------------*/
  2160.     /* Code Body                                                      */
  2161.     /*----------------------------------------------------------------*/
  2162.     wgui_EMS_inputbox_input_type = INPUT_TYPE_TR_MULTITAP_BOPOMO;
  2163.     wgui_EMS_inputbox_input_mode_changed = 1;
  2164. }
  2165. /*****************************************************************************
  2166.  * FUNCTION
  2167.  *  wgui_EMS_inputbox_change_input_mode_sm_multitap_pinyin
  2168.  * DESCRIPTION
  2169.  *  
  2170.  * PARAMETERS
  2171.  *  void
  2172.  * RETURNS
  2173.  *  void
  2174.  *****************************************************************************/
  2175. void wgui_EMS_inputbox_change_input_mode_sm_multitap_pinyin(void)
  2176. {
  2177.     /*----------------------------------------------------------------*/
  2178.     /* Local Variables                                                */
  2179.     /*----------------------------------------------------------------*/
  2180.     /*----------------------------------------------------------------*/
  2181.     /* Code Body                                                      */
  2182.     /*----------------------------------------------------------------*/
  2183.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SM_MULTITAP_PINYIN;
  2184.     wgui_EMS_inputbox_input_mode_changed = 1;
  2185. }
  2186. /*****************************************************************************
  2187.  * FUNCTION
  2188.  *  wgui_EMS_inputbox_change_input_mode_smart_arabic
  2189.  * DESCRIPTION
  2190.  *  
  2191.  * PARAMETERS
  2192.  *  void
  2193.  * RETURNS
  2194.  *  void
  2195.  *****************************************************************************/
  2196. void wgui_EMS_inputbox_change_input_mode_smart_arabic(void)
  2197. {
  2198.     /*----------------------------------------------------------------*/
  2199.     /* Local Variables                                                */
  2200.     /*----------------------------------------------------------------*/
  2201.     /*----------------------------------------------------------------*/
  2202.     /* Code Body                                                      */
  2203.     /*----------------------------------------------------------------*/
  2204.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_ARABIC;
  2205.     wgui_EMS_inputbox_input_mode_changed = 1;
  2206. }
  2207. //PMT START PERSIAN
  2208. /*****************************************************************************
  2209.  * FUNCTION
  2210.  *  wgui_EMS_inputbox_change_input_mode_smart_persian
  2211.  * DESCRIPTION
  2212.  *  
  2213.  * PARAMETERS
  2214.  *  void
  2215.  * RETURNS
  2216.  *  void
  2217.  *****************************************************************************/
  2218. void wgui_EMS_inputbox_change_input_mode_smart_persian(void)
  2219. {
  2220.     /*----------------------------------------------------------------*/
  2221.     /* Local Variables                                                */
  2222.     /*----------------------------------------------------------------*/
  2223.     /*----------------------------------------------------------------*/
  2224.     /* Code Body                                                      */
  2225.     /*----------------------------------------------------------------*/
  2226.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_PERSIAN;
  2227.     wgui_EMS_inputbox_input_mode_changed = 1;
  2228. }
  2229. //PMT END PERSIAN
  2230. /* PMT VIKAS GUPTA START 20051129 */
  2231. /*****************************************************************************
  2232.  * FUNCTION
  2233.  *  wgui_EMS_inputbox_change_input_mode_smart_hindi
  2234.  * DESCRIPTION
  2235.  *  
  2236.  * PARAMETERS
  2237.  *  void
  2238.  * RETURNS
  2239.  *  void
  2240.  *****************************************************************************/
  2241. void wgui_EMS_inputbox_change_input_mode_smart_hindi(void)
  2242. {
  2243.     /*----------------------------------------------------------------*/
  2244.     /* Local Variables                                                */
  2245.     /*----------------------------------------------------------------*/
  2246.     /*----------------------------------------------------------------*/
  2247.     /* Code Body                                                      */
  2248.     /*----------------------------------------------------------------*/
  2249.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_HINDI;
  2250.     wgui_EMS_inputbox_input_mode_changed = 1;
  2251. }
  2252. /*****************************************************************************
  2253.  * FUNCTION
  2254.  *  wgui_EMS_inputbox_change_input_mode_smart_hebrew
  2255.  * DESCRIPTION
  2256.  *  
  2257.  * PARAMETERS
  2258.  *  void
  2259.  * RETURNS
  2260.  *  void
  2261.  *****************************************************************************/
  2262. void wgui_EMS_inputbox_change_input_mode_smart_hebrew(void)
  2263. {
  2264.     /*----------------------------------------------------------------*/
  2265.     /* Local Variables                                                */
  2266.     /*----------------------------------------------------------------*/
  2267.     /*----------------------------------------------------------------*/
  2268.     /* Code Body                                                      */
  2269.     /*----------------------------------------------------------------*/
  2270.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_HEBREW;
  2271.     wgui_EMS_inputbox_input_mode_changed = 1;
  2272. }
  2273. /*****************************************************************************
  2274.  * FUNCTION
  2275.  *  wgui_EMS_inputbox_change_input_mode_smart_thai
  2276.  * DESCRIPTION
  2277.  *  
  2278.  * PARAMETERS
  2279.  *  void
  2280.  * RETURNS
  2281.  *  void
  2282.  *****************************************************************************/
  2283. void wgui_EMS_inputbox_change_input_mode_smart_thai(void)
  2284. {
  2285.     /*----------------------------------------------------------------*/
  2286.     /* Local Variables                                                */
  2287.     /*----------------------------------------------------------------*/
  2288.     /*----------------------------------------------------------------*/
  2289.     /* Code Body                                                      */
  2290.     /*----------------------------------------------------------------*/
  2291.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_THAI;
  2292.     wgui_EMS_inputbox_input_mode_changed = 1;
  2293. }
  2294. #if defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__)
  2295. /*****************************************************************************
  2296.  * FUNCTION
  2297.  *  wgui_EMS_inputbox_change_input_mode_smart_SPANISH
  2298.  * DESCRIPTION
  2299.  *  
  2300.  * PARAMETERS
  2301.  *  void
  2302.  * RETURNS
  2303.  *  void
  2304.  *****************************************************************************/
  2305. void wgui_EMS_inputbox_change_input_mode_smart_SPANISH(void)
  2306. {
  2307.     /*----------------------------------------------------------------*/
  2308.     /* Local Variables                                                */
  2309.     /*----------------------------------------------------------------*/
  2310.     /*----------------------------------------------------------------*/
  2311.     /* Code Body                                                      */
  2312.     /*----------------------------------------------------------------*/
  2313.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_UPPERCASE_SPANISH;
  2314.     wgui_EMS_inputbox_input_mode_changed = 1;
  2315. }
  2316. /*****************************************************************************
  2317.  * FUNCTION
  2318.  *  wgui_EMS_inputbox_change_input_mode_smart_spanish
  2319.  * DESCRIPTION
  2320.  *  
  2321.  * PARAMETERS
  2322.  *  void
  2323.  * RETURNS
  2324.  *  void
  2325.  *****************************************************************************/
  2326. void wgui_EMS_inputbox_change_input_mode_smart_spanish(void)
  2327. {
  2328.     /*----------------------------------------------------------------*/
  2329.     /* Local Variables                                                */
  2330.     /*----------------------------------------------------------------*/
  2331.     /*----------------------------------------------------------------*/
  2332.     /* Code Body                                                      */
  2333.     /*----------------------------------------------------------------*/
  2334.     wgui_EMS_inputbox_input_type = INPUT_TYPE_SMART_LOWERCASE_SPANISH;
  2335.     wgui_EMS_inputbox_input_mode_changed = 1;
  2336. }
  2337. #endif /* defined(__MMI_T9_SPANISH__) || defined(__MMI_ZI_EU_SPANISH__) || defined(__MMI_ZI_SA_SPANISH__) */ 
  2338. #if defined(__MMI_T9_DANISH__) || defined(__MMI_ZI_DANISH__)
  2339. /*****************************************************************************
  2340.  * FUNCTION
  2341.  *  wgui_EMS_inputbox_change_input_mode_smart_DANISH
  2342.  * DESCRIPTION
  2343.  *  
  2344.  * PARAMETERS
  2345.  *  void
  2346.  * RETURNS