⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wgui_inputs.c

📁 The font library converting tool MCT mainly introduces the process of the font formats to give us a
💻 C
📖 第 1 页 / 共 5 页
字号:
/*****************************************************************************
*  Copyright Statement:
*  --------------------
*  This software is protected by Copyright and the information contained
*  herein is confidential. The software may not be copied and the information
*  contained herein may not be used or disclosed except with the written
*  permission of MediaTek Inc. (C) 2005
*
*  BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
*  THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
*  RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
*  AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
*  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
*  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
*  NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
*  SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
*  SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
*  THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
*  NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
*  SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
*  BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
*  LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
*  AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
*  OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
*  MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE. 
*
*  THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
*  WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
*  LAWS PRINCIPLES.  ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
*  RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
*  THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/

/*****************************************************************************
 *
 * Filename:
 * ---------
 *    wgui_inputs.c
 *
 * Project:
 * --------
 *   Maui_Software
 *
 * Description:
 * ------------
 *   Input related wrapper functions
 *
 *
 * Author:
 * -------
 * -------
 *
 *============================================================================
 *             HISTORY
 * Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *------------------------------------------------------------------------------
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 * removed!
 * removed!
 * removed!
 *
 *------------------------------------------------------------------------------
 * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
 *============================================================================
 ****************************************************************************/

/**
 *	Copyright Notice
 *	(c) 2002 - 2003, Pixtel Communications, Inc., 1489 43rd Ave. W.,
 *	Vancouver, B.C. V6M 4K8 Canada. All Rights Reserved.
 *  (It is illegal to remove this copyright notice from this software or any
 *  portion of it)
 */

/**********************************************************************************
	Filename:		wgui_inputs.c
	Author:			manju
	Date Created:	August-07-2002
	Contains:		PixTel UI wrapper routines for Input related objects
**********************************************************************************/

#include "wgui_inputs.h"
#include "MMI_features.h"
#include "TimerEvents.h"
//#include "wgui_categories.h"
#include "wgui_categories_inputs.h"
#include "CommonScreens.h"
#include "DebugInitDef.h"
#include "Gui_Setting.h"//053005 Calvin added
#if defined(__MMI_TOUCH_SCREEN__)|| defined(__MMI_HANDWRITING_PAD__)
#include "EditorPen.h"
#endif

//add vijay
#ifdef __MMI_TOUCH_DIAL_SCREEN__
#include "gui_inputs.h"
#include "wgui.h"
#endif
//end vijay
#include "gdi_include.h"
//W05.36 Fix Vietnamese Tone Input Issue
#ifdef __MMI_LANG_VIETNAMESE__
#include "gui_lang_viet.h"
#define MMI_VIET_TONE_KEY 1
#endif
#include "gui_ems.h"
extern UI_EMS_input_box MMI_EMS_inputbox;
extern single_line_input_box		MMI_inline_singleline_inputbox;
extern UI_character_type pixtel_UI_EMS_current_character(UI_EMS_input_box *b);
extern UI_character_type pixtel_UI_single_line_current_character(single_line_input_box *b);
extern void wgui_handle_inputbox_input(void);

extern U16 StopMyTimer(U16 nTimerId);
extern U16 StartMyTimerInt(U16 nTimerId,U32 nTimeDuration,oslTimerFuncPtr TimerExpiry, U8 alignment);
#if defined(__MMI_PHB_QUICK_SEARCH__)
extern void mmi_phb_quick_search_change_input_mode(void);
#endif
#ifdef __MMI_TOUCH_DIAL_SCREEN__
//start vijay 20050221
dialing_keypad_struct	dialing_keypad;
//end vijay
#endif

#ifdef __MMI_T9__
#include "t9definition.h"
#include "t9api.h"
#include "t9def.h"
extern void T9KeyStarPressHandlerMultilineInputBox(void);
extern void T9KeyArrowUPHandlerMultilineInputBox(void);
extern void T9KeyArrowDownHandlerMultilineInputBox(void);
extern void T9KeyArrowRightHandlerMultilineInputBox(void);
extern void T9KeyArrowLeftHandlerMultilineInputBox(void);
extern void T9Key0To9HandlerMultilineInputBox(void);
extern void T9Key0PressHandlerMultilineInputBox(void);
extern void T9Key1PressHandlerMultilineInputBox(void);
extern void T9Key2PressHandlerMultilineInputBox(void);
extern void T9Key3PressHandlerMultilineInputBox(void);
extern void T9Key4PressHandlerMultilineInputBox(void);
extern void T9Key5PressHandlerMultilineInputBox(void);
extern void T9Key6PressHandlerMultilineInputBox(void);
extern void T9Key7PressHandlerMultilineInputBox(void);
extern void T9Key8PressHandlerMultilineInputBox(void);
extern void T9Key9PressHandlerMultilineInputBox(void);
//PMT dara added Modified for Default key functionality for Pound Key
extern void T9KeyPoundPressHandlerMultilineInputBox(void);
extern void T9InputBoxDisplayMultilineInputBox(void);
extern void T9ScreenStateChnageMultilineInputBox(void);
extern void T9SynT9WithInputBoxMultilineInputBox(void);
extern void T9ChangeLanguageMultilineInputBox(T9U8 inputMethod);
extern void T9ClearKeyNavigationHandler(void);
extern void T9ClearKeyStarAndPoundHandler(void);

#elif defined __MMI_ZI__

#include "t9def.h"
#include "zi8hmi.h"
//START VIJAY PMT 20050930
extern void ZiResizeSelectionArea(void);
//END VIJAY PMT 20050930
extern void ZiKey0PressHandler(void);
extern void ZiKey1PressHandler(void);
extern void ZiKey2PressHandler(void);
extern void ZiKey3PressHandler(void);
extern void ZiKey4PressHandler(void);
extern void ZiKey5PressHandler(void);
extern void ZiKey6PressHandler(void);
extern void ZiKey7PressHandler(void);
extern void ZiKey8PressHandler(void);
extern void ZiKey9PressHandler(void);

extern void ZiKeyArrowUPHandler(void);
extern void ZiKeyArrowRightHandler(void);
extern void ZiKeyArrowDownHandler(void);
extern void ZiKeyArrowLeftHandler(void);

extern void ZiKeyStarPressHandler(void);
extern void ZiKeyStarLongPressHandler(void);
extern void ZiKeyHashPressHandler(void);
extern void ZiKeyHashLongPressHandler(void);

extern void ZiKeyLSKPressHandler(void);
extern void ZiKeyLSKLongPressHandler(void);
extern void ZiKeyRSKPressHandler(void);
extern void ZiKeyRSKLongPressHandler(void);
extern void ZiChangeInputMethod(INPUT_MODE inputMode);
extern void ZiClearKeyStarAndPoundHandler(void);
extern void ZiClearKeyNavigationHandler(void);
extern void ZiClearArrowKeyLeftHandler(void);
extern void ZiClearArrowKeyRightHandler(void);
extern void ZiClearKey0To9Handler(void);

extern void ZiInuptMethodEnterCategory28(void);
extern void ZiDisplay(void);
#elif defined(__MMI_KA__)
#include "t9def.h"
#include "konkahmi.h"
extern void KonkaKey0PressHandler(void);
extern void KonkaKey1PressHandler(void);
extern void KonkaKey2PressHandler(void);
extern void KonkaKey3PressHandler(void);
extern void KonkaKey4PressHandler(void);
extern void KonkaKey5PressHandler(void);
extern void KonkaKey6PressHandler(void);
extern void KonkaKey7PressHandler(void);
extern void KonkaKey8PressHandler(void);
extern void KonkaKey9PressHandler(void);

extern void KonkaKeyArrowUPHandler(void);
extern void KonkaKeyArrowRightHandler(void);
extern void KonkaKeyArrowDownHandler(void);
extern void KonkaKeyArrowLeftHandler(void);

extern void KonkaKeyStarPressHandler(void);
extern void KonkaKeyStarLongPressHandler(void);
extern void KonkaKeyHashPressHandler(void);
extern void KonkaKeyHashLongPressHandler(void);

extern void KonkaKeyLSKPressHandler(void);
extern void KonkaKeyLSKLongPressHandler(void);
extern void KonkaKeyRSKPressHandler(void);
extern void KonkaKeyRSKLongPressHandler(void);
extern void KonkaChangeInputMethod(INPUT_MODE inputMode);
extern void KonkaClearKeyStarAndPoundHandler(void);
extern void KonkaClearKeyNavigationHandler(void);
extern void KonkaClearArrowKeyLeftHandler(void);
extern void KonkaClearArrowKeyRightHandler(void);
extern void KonkaClearKey0To9Handler(void);

extern void KonkaInuptMethodEnterCategory28(void);
extern void KonkaDisplay(void);
#elif defined __MMI_ITAP__
#include "iTapHmiDef.h"
#include "iTapHmiStruct.h"
#include "iTapHmiGprot.h"
#elif defined(__MMI_GB__) //protype
#include "gb_wrapper.h"

#endif


#ifdef __MMI_HINDI_ALG__
#include "hf_rules.h"
#endif

/* store Main LCD height */
extern S32 MAIN_LCD_device_height;

#include "wgui_categories.h"

//PMT dara added for Multitap thai 
#ifdef __MMI_MULTITAP_THAI__
extern void wgui_handle_inputbox_change_input_mode_bymultitapthai(void);
void wgui_inputbox_handle_symbol_picker_star_key_down_bymultitapthai(void);
#endif
//MTK Add Steven 2005.06.21
extern void wgui_redraw_singleline_input_information_bar(void);
//MTK End
extern byte EMS_inputbox_check_multitap_thai_input(UI_character_type inputchar,byte *updatef);

byte Multiline_inputbox_check_multitap_thai_input(UI_character_type inputchar,byte *updatef);
byte Singleline_inputbox_check_multitap_thai_input(UI_character_type inputchar,byte *updatef);

extern void wgui_handle_inputbox_change_input_mode(void);
extern void wgui_set_RSK(void);
extern void wgui_set_singleline_RSK(void);
extern void wgui_handle_singleline_inputbox_change_input_mode(void);
extern void wgui_handle_inputbox_change_input_mode(void);
extern void wgui_handle_qsearch_singleline_inputbox_change_input_mode(void);
extern int pixtel_UI_set_multitap_input_text(multitap_input *b,UI_string_type text);
//W05.37 Fix Vietnamese Tone Issue Side effect
extern byte	MMI_allow_only_english_input_modes;
extern byte (*test_change_input_mode)(void);
#ifdef __MMI_MULTITAP_HINDI__
UI_character_type *get_hindi_multitap_string(s32 i);
#endif

extern void inline_fixed_list_goto_previous_item(void);

extern void wgui_inputbox_handle_symbol_picker_star_key_down(void);
extern void wgui_redraw_input_information_bar(void);
extern UI_character_type pixtel_UI_multi_line_current_character(multi_line_input_box *b);
extern s8 hilited_item_changed;
#ifdef __MMI_MULTITAP_HINDI__
UI_string_type get_hindi_single_line_multitap_string(S32);  //added by farhad 20122004

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -