CustThemesRes.h
资源名称:mmi.rar [点击查看]
上传用户:lqx1163
上传日期:2014-08-13
资源大小:9183k
文件大小:13k
源码类别:
MTK
开发平台:
C/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).
- *
- *****************************************************************************/
- /*******************************************************************************
- * Filename:
- * ---------
- * CustThemesRes.h
- *
- * Project:
- * --------
- * MAUI
- *
- * Description:
- * ------------
- *
- *
- * 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!
- *
- *------------------------------------------------------------------------------
- * Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
- *==============================================================================
- *******************************************************************************/
- /**
- * 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 : CustThemesRes.h
- PURPOSE : To define Common Structures used by the UI Elements and Cutomization Tool
- for Customizing Themes
- REMARKS : nil
- AUTHOR : Yogesh
- DATE : 01thSept 2003.
- Copyright (c) 2002 All rights reserved by Pixtel Communications
- *************************************************************/
- #ifndef _PIXCOM_CUSTTHEMESRES_H
- #define _PIXCOM_CUSTTHEMESRES_H
- /* JL #include "MMIDataType.h" */
- #include "gui_data_types.h"
- #define MAX_COMPONENTS 1000
- #define MAX_THEME_COMP_NAME_SIZE 55
- typedef enum
- {
- THEME_COMP_FA,
- THEME_COMP_COLOR,
- THEME_COMP_GRADIENT_COLOR
- } THEME_COMP_TYPE;
- typedef struct _gradient_color
- {
- color *c; /* List of colors in the gradient */
- U8 *p; /* Percentage of each color */
- U8 n; /* Number of colors in the list */
- } gradient_color;
- typedef struct _UI_filled_area
- {
- U32 flags;
- PU8 b;
- gradient_color *gc;
- color c;
- color ac; /* alternate color used for hatch fills */
- color border_color;
- color shadow_color;
- UI_transparent_color_type transparent_color;
- } UI_filled_area;
- typedef struct _MMI_theme
- {
- UI_filled_area *LSK_up_filler;
- UI_filled_area *LSK_down_filler;
- UI_filled_area *LSK_disabled_filler;
- UI_filled_area *RSK_up_filler;
- UI_filled_area *RSK_down_filler;
- UI_filled_area *RSK_disabled_filler;
- UI_filled_area *multitap_filler;
- UI_filled_area *inputbox_filler;
- UI_filled_area *scrollbar_background_filler;
- UI_filled_area *scrollbar_indicator_filler;
- UI_filled_area *title_filler;
- UI_filled_area *list_background_filler;
- UI_filled_area *list_normal_item_filler;
- UI_filled_area *list_selected_item_filler;
- UI_filled_area *list_disabled_item_filler;
- UI_filled_area *matrix_background_filler;
- UI_filled_area *matrix_normal_item_filler;
- UI_filled_area *matrix_selected_item_filler;
- UI_filled_area *matrix_disabled_item_filler;
- UI_filled_area *shortcut_indicator_background_filler;
- UI_filled_area *formatted_inputbox_normal_filler;
- UI_filled_area *formatted_inputbox_selected_filler;
- UI_filled_area *main_menu_background_filler;
- UI_filled_area *list_main_menu_normal_item_filler;
- UI_filled_area *list_main_menu_selected_item_filler;
- UI_filled_area *list_main_menu_disabled_item_filler;
- UI_filled_area *matrix_main_menu_normal_item_filler;
- UI_filled_area *matrix_main_menu_selected_item_filler;
- UI_filled_area *matrix_main_menu_disabled_item_filler;
- UI_filled_area *general_background_filler;
- UI_filled_area *popup_description_background_filler;
- UI_filled_area *inline_list_background_filler;
- UI_filled_area *inline_list_normal_item_filler;
- UI_filled_area *inline_list_selected_item_filler;
- UI_filled_area *inline_list_disabled_item_filler;
- UI_filled_area *inline_edit_focussed_filler;
- UI_filled_area *inline_edit_unfocussed_filler;
- UI_filled_area *inline_edit_noboundary_filler;
- UI_filled_area *PIN_inputbox_background_filler;
- UI_filled_area *PIN_screen_background_filler;
- UI_filled_area *network_screen_background_filler;
- UI_filled_area *aphorism_screen_background_filler;
- UI_filled_area *CM_screen_background_filler;
- UI_filled_area *progress_screen_background_filler;
- UI_filled_area *dialer_inputbox_background_filler;
- UI_filled_area *virtual_keyboard_key_down_filler;
- UI_filled_area *alarm_background_filler;
- #ifdef UI_SMALL_LIST_SCREEN
- UI_filled_area *small_list_menu_normal_filler;
- UI_filled_area *small_list_screen_border_filler;
- #endif /* UI_SMALL_LIST_SCREEN */
- color *UI_black_color;
- color *UI_white_color;
- color *lite_disp_scr_bg_color;
- color *LSK_up_text_color;
- color *LSK_down_text_color;
- color *LSK_disabled_text_color;
- color *RSK_up_text_color;
- color *RSK_down_text_color;
- color *RSK_disabled_text_color;
- color *multitap_selector_color;
- color *multitap_normal_text_color;
- color *multitap_selected_text_color;
- color *inputbox_normal_text_color;
- color *inputbox_selected_text_color;
- color *inputbox_selector_color;
- color *inputbox_cursor_color;
- color *title_text_color;
- color *title_text_border_color;
- color *title_shortcut_text_color;
- color *list_normal_text_color;
- color *list_selected_text_color;
- color *list_disabled_text_color;
- color *matrix_normal_text_color;
- color *matrix_selected_text_color;
- color *matrix_disabled_text_color;
- color *menubar_index_background_color;
- color *menubar_item_background_color;
- color *menubar_index_text_color;
- color *menubar_item_text_color;
- color *shortcut_indicator_text_color;
- color *shortcut_indicator_cursor_color;
- color *drop_down_normal_text_color;
- color *drop_down_disabled_text_color;
- color *drop_down_focussed_text_color;
- color *formatted_inputbox_selector_color;
- color *formatted_inputbox_normal_text_color;
- color *formatted_inputbox_disabled_text_color;
- color *formatted_inputbox_selected_text_color;
- color *formatted_inputbox_cursor_color;
- color *list_main_menu_normal_text_color;
- color *list_main_menu_selected_text_color;
- color *list_main_menu_disabled_text_color;
- color *matrix_main_menu_normal_text_color;
- color *matrix_main_menu_selected_text_color;
- color *matrix_main_menu_disabled_text_color;
- color *circular_main_menu_normal_text_color;
- color *circular_main_menu_selected_text_color;
- color *circular_main_menu_disabled_text_color;
- color *popup_screen_background_color;
- color *popup_screen_border_color;
- color *popup_description_text_color;
- color *CM_screen_text_color;
- color *datetime_bar_background_color;
- color *datetime_bar_duration_background_color;
- color *datetime_bar_date_text_color;
- color *datetime_bar_time_text_color;
- color *datetime_bar_duration_text_color;
- color *datetime_bar_AOC_text_color;
- color *button_bar_color;
- color *information_bar_color;
- color *input_method_text_color;
- color *remaining_length_text_color;
- color *statusbar0_background_color;
- color *inline_edit_focussed_text_color;
- color *inline_edit_unfocussed_text_color;
- color *inline_edit_selected_text_color;
- color *inline_edit_selector_color;
- color *inline_edit_cursor_color;
- color *inline_list_normal_text_color;
- color *inline_list_selected_text_color;
- color *inline_list_disabled_text_color;
- color *PIN_inputbox_normal_text_color;
- color *PIN_inputbox_selected_text_color;
- color *PIN_inputbox_selector_color;
- color *PIN_inputbox_cursor_color;
- color *dialer_inputbox_normal_text_color;
- color *dialer_inputbox_selected_text_color;
- color *dialer_inputbox_selector_color;
- color *dialer_inputbox_cursor_color;
- color *virtual_keyboard_key_down_text_color;
- color *virtual_keyboard_key_up_text_color;
- color *virtual_keyboard_dead_key_down_text_color;
- color *virtual_keyboard_dead_key_up_text_color;
- color *virtual_keyboard_disp_area_text_color;
- color *calculator_color;
- color *alarm_text_color;
- color *idle_scr_date_color;
- color *idle_scr_time_color;
- color *idle_scr_date_border_color;
- color *idle_scr_time_border_color;
- color *idle_scr_network_name_color;
- color *idle_scr_network_name_border_color;
- color *idle_scr_network_status_color;
- color *idle_scr_network_status_border_color;
- color *idle_scr_network_extra_color;
- color *idle_scr_network_extra_border_color;
- UI_font_type button_font;
- UI_font_type multitap_font;
- UI_font_type inputbox_font;
- UI_font_type window_title_font;
- UI_font_type list_menu_font;
- UI_font_type matrix_menu_font;
- UI_font_type menu_bar_index_font;
- UI_font_type menu_bar_item_font;
- UI_font_type shortcut_indicator_font;
- UI_font_type title_text_font;
- UI_font_type drop_down_control_font;
- UI_font_type list_main_menu_font;
- UI_font_type matrix_main_menu_font;
- UI_font_type virtual_keyboard_font;
- S32 scrollbar_size;
- S32 bg_opacity_full;
- S32 bg_opacity_high;
- S32 bg_opacity_medium;
- S32 bg_opacity_low;
- //KP Jerry extended contents of theme start
- UI_filled_area* softkey_filler;
- UI_filled_area* scrollbar_button_up_filler;
- UI_filled_area* scrollbar_button_down_filler;
- //KP Jerry extended contents of theme end
- } MMI_theme;
- typedef struct __ThemesCompInfo
- {
- void *themeComponent;
- U8 type;
- U8 themeCompName[MAX_THEME_COMP_NAME_SIZE];
- } THEMES_COMPONENT_INFO;
- typedef struct
- {
- #ifdef __MMI_DLT_CACHE_SUPPORT__
- U8 image_type;
- #endif
- U16 image_id;
- U32 image_offset;
- #ifdef __MMI_DLT_CACHE_SUPPORT__
- PU8 image_cache_ptr;
- #endif
- } theme_image_detail_struct;
- typedef struct
- {
- MMI_theme *theme;
- theme_image_detail_struct *theme_image_details_list;
- U8 **system_image_list;
- } theme_details_struct;
- #endif /* _PIXCOM_CUSTTHEMESRES_H */