📄 res_gui.c
字号:
/*****************************************************************************
* 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).
*
*****************************************************************************/
/**
* Copyright Notice
* ?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 : Res_.c
PURPOSE : Populate Resource for
REMARKS : nil
AUTHOR : Yogesh
DATE : August-11-2003
**************************************************************/
//PMT NEERAJ START 20050616
#include "MMI_features.h"
//PMT NEERAJ END 20050616
#include "StdC.h"
#include "CustomCfg.h"
#ifdef FIRST_PASS
#include "BuildCfg.h"
#endif
#include "wgui_categories.h"
//MTK Terry
#include "wgui_categories_inputs.h"
//MTK end
#include "wgui_categories_defs.h"
#include "gui_config.h"
#include "StatusIconRes.h"
#include "PixtelDataTypes.h"
#include "wgui_fixed_menus.h"
#ifdef DEVELOPER_BUILD_FIRST_PASS
#include "PopulateRes.h"
void PopulateCommonCategoryResources(void)
{
//MTK add, Robin 1025
/*
0x87=>Monday for English
0x88=>Tuesday
0x89=>Wednesday
0x8a=>Thursday
0x8b=>Friday
0x8c=>Saturday
0x8d=>Sunday
0x8e=>Monday for Traditional Chinese and Simplified Chinese
0x8f=>Tuesday
0x90=>Wednesday
0x91=>Thursday
0x92=>Friday
0x93=>Saturday
0x94=>Sunday
*/
//#ifdef __MMI_SUBLCD__
S8 str_english_monday[] = { (S8)0x87, (S8)0x00 };
S8 str_english_tuesday[] ={ (S8)0x88, (S8)0x00 };
S8 str_english_wednesday[] ={ (S8)0x89, (S8)0x00 };
S8 str_english_thursday[] ={ (S8)0x8a, (S8)0x00 };
S8 str_english_friday[] ={ (S8)0x8b, (S8)0x00 };
S8 str_english_saturday[] ={ (S8)0x8c, (S8)0x00 };
S8 str_english_sunday[] ={ (S8)0x8d, (S8)0x00 };
S8 str_chinese_monday[] ={ '(', (S8)0x8e, ')', (S8)0x00 };
S8 str_chinese_tuesday[] ={ '(', (S8)0x8f, ')', (S8)0x00 };
S8 str_chinese_wednesday[] ={ '(', (S8)0x90, ')', (S8)0x00 };
S8 str_chinese_thursday[] ={ '(', (S8)0x91, ')', (S8)0x00 };
S8 str_chinese_friday[] ={ '(', (S8)0x92, ')', (S8)0x00 };
S8 str_chinese_saturday[] ={ '(', (S8)0x93, ')', (S8)0x00 };
S8 str_chinese_sunday[] ={ '(', (S8)0x94, ')', (S8)0x00 };
//#endif
//MTK end
ADD_APPLICATION_STRING2(WGUI_CATEGORY_DD_STRING_ID,"DD","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_MM_STRING_ID,"MM","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_YYYY_STRING_ID,"YYYY","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_THH_STRING_ID,"HH","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_TMM_STRING_ID,"MM","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_CLEAR_STRING_ID,"Clear","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_ABC_STRING_ID,"ABC","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_abc_STRING_ID,"abc","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_123_STRING_ID,"123","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_YYYY_MM_DD_STRING_ID,"YYYY/MM/DD","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_HH_MM_STRING_ID,"HH:MM","Category screens string");
//PMT dara added for Multitap thai
#if defined(__MMI_MULTITAP_THAI__)
ADD_APPLICATION_STRING2(WGUI_CATEGORY_thai_STRING_ID,"Th","Category screens string");
#endif
//PMT START GR_HE_CZ_FI_DA_HU 20051007
#if defined(__MMI_MULTITAP_HEBREW__)
ADD_APPLICATION_STRING2(WGUI_CATEGORY_hebrew_STRING_ID,"He","Category screens string");
#endif
//PMT END GR_HE_CZ_FI_DA_HU 20051007
//MTK Terry for Spanish French German Italian Russian Turkish Portuguese Indonesian Malay Vietnamese
#if defined(__MMI_MULTITAP_SPANISH__)||defined(__MMI_T9_SPANISH__)||defined(__MMI_ZI_EU_SPANISH__)||defined(__MMI_ZI_SA_SPANISH__)
ADD_APPLICATION_STRING2(WGUI_CATEGORY_SPANISH_STRING_ID,"ES","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_spanish_STRING_ID,"es","Category screens string");
#endif
//PMT CZ_PO_TU START 20050812
#if defined(__MMI_MULTITAP_POLISH__)||defined(__MMI_T9_POLISH__)||defined(__MMI_ZI_POLISH__)
ADD_APPLICATION_STRING2(WGUI_CATEGORY_POLISH_STRING_ID,"PO","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_polish_STRING_ID,"po","Category screens string");
#endif
//PMT CZ_PO_TU END 20050812
//PMT VIKASG START 20050729
#if defined(__MMI_MULTITAP_DANISH__)||defined(__MMI_T9_DANISH__)||defined(__MMI_ZI_DANISH__)
ADD_APPLICATION_STRING2(WGUI_CATEGORY_DANISH_STRING_ID,"DA","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_danish_STRING_ID,"da","Category screens string");
#endif
//PMT VIKASG END 20050729
#if defined(__MMI_MULTITAP_FRENCH__)||defined(__MMI_T9_FRENCH__)||defined(__MMI_ZI_CA_FRENCH__)||defined(__MMI_ZI_EU_FRENCH__)
ADD_APPLICATION_STRING2(WGUI_CATEGORY_FRENCH_STRING_ID,"FR","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_french_STRING_ID,"fr","Category screens string");
#endif
#if defined(__MMI_MULTITAP_GERMAN__)||defined(__MMI_T9_GERMAN__)||defined(__MMI_ZI_GERMAN__)||defined(__MMI_GB__)
ADD_APPLICATION_STRING2(WGUI_CATEGORY_GERMAN_STRING_ID,"DE","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_german_STRING_ID,"de","Category screens string");
#endif
#if defined(__MMI_MULTITAP_ITALIAN__)||defined(__MMI_T9_ITALIAN__)||defined(__MMI_ZI_ITALIAN__)
ADD_APPLICATION_STRING2(WGUI_CATEGORY_ITALIAN_STRING_ID,"IT","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_italian_STRING_ID,"it","Category screens string");
#endif
//START PMT VANDANA 20051506
#if defined (__MMI_T9_RUSSIAN__) || defined(__MMI_MULTITAP_RUSSIAN__)||defined(__MMI_ZI_RUSSIAN__)||defined(__MMI_ZI_RECOMMENDED_SIZE_RUSSIAN__)
//PMT END
ADD_APPLICATION_STRING2(WGUI_CATEGORY_RUSSIAN_STRING_ID,"RU","Category screens string");
ADD_APPLICATION_STRING2(WGUI_CATEGORY_russian_STRING_ID,"ru","Category screens string");
#endif
//PMT BULGARIAN START 20051201
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -