📄 gui_config.h
字号:
/* 1: Simulates HW graphics on the simulator */
/* 0: Uses simulator graphics */
/* Set this to 0 to build on the hardware */
#define WINGUI_SIMULATE_HW 0
/* Supported Build Types */
/* Value must be a word */
#define BUILD_TYPE_X86WIN32 0x00A1
#define BUILD_TYPE_HW_PLUTO 0x00A2
/* Current MMI build type: */
/* Value must be one of the above build types */
#ifdef MMI_ON_WIN32
#define MMI_BUILD_TYPE BUILD_TYPE_X86WIN32
#else
#define MMI_BUILD_TYPE BUILD_TYPE_HW_PLUTO
#endif
/* GUI objects, feature support */
/* Image fill support (bitmap textures) in filled areas */
/* Valid values are 0 and 1 */
#define UI_BITMAP_FILL_SUPPORT 0
/* Gradient color fill support in filled areas */
/* Valid values are 0 and 1 */
#define UI_GRADIENT_COLOR_FILL_SUPPORT 0
/* Horizontal scrolling and Horizontal scrollbar support */
/* in multi-line input box. Valid values are 0 and 1 */
#define UI_MULTILINE_INPUTBOX_HSCROLL 1
/* Main menu category types */
#define UI_MAIN_MENU_CATEGORY_TYPE1 1
#define UI_MAIN_MENU_CATEGORY_TYPE2 2
#ifdef __MMI_MATRIX_MAIN_MENU_FULL_BACKGROUND__
#define UI_MAIN_MENU_CATEGORY_TYPE3 3 /* 030705 Calvin added for matrix menu without titlebar */
#endif
/* Main menu category type: specifies what type of main */
/* menu will be displayed by the GUI */
/* Valid values are one of the above main menu types */
#ifdef __MMI_MATRIX_MAIN_MENU_FULL_BACKGROUND__
#define UI_MAIN_MENU_CATEGORY_TYPE UI_MAIN_MENU_CATEGORY_TYPE3 /* 030705 Calvin added for matrix menu without titlebar */
#else
#define UI_MAIN_MENU_CATEGORY_TYPE UI_MAIN_MENU_CATEGORY_TYPE2
#endif
/* Types of Main menu animation supported */
/* Normal animation: Frame 0 to Frame (n-1) for n frames. */
/* For icons that are not highlighted, Frame 0 will be */
/* displayed. */
#define UI_MAIN_MENU_ANIMATION_TYPE1 1
/* Highlight specific animation. */
/* For highlighted iocns, frame 1 to frame (n-1) are used */
/* For icons that are not highlighted, Frame 0 will be */
/* displayed. */
#define UI_MAIN_MENU_ANIMATION_TYPE2 2
/* Type of main menu animation used by the GUI */
#define UI_MAIN_MENU_ANIMATION_TYPE UI_MAIN_MENU_ANIMATION_TYPE2
/* Date and Time input type selectors. */
/* None of the following are implemented currently */
/* Day input category types: Do not modify these values */
/* Input box type */
#define UI_DAY_INPUT_CATEGORY_TYPE1 1
/* Calendar matrix type */
#define UI_DAY_INPUT_CATEGORY_TYPE2 2
/* Spin control type */
#define UI_DAY_INPUT_CATEGORY_TYPE3 3
/* Type of Day input to use in the GUI */
/* Valid values are one of the above types */
#define UI_DAY_INPUT_CATEGORY_TYPE UI_DAY_INPUT_CATEGORY_TYPE1
/* Month input category types: Do not modify these values */
/* Input box type */
#define UI_MONTH_INPUT_CATEGORY_TYPE1 1
/* Drop down list type */
#define UI_MONTH_INPUT_CATEGORY_TYPE2 2
/* Spin control type */
#define UI_MONTH_INPUT_CATEGORY_TYPE3 3
/* Type of Month input to use in the GUI */
/* Valid values are one of the above types */
#define UI_MONTH_INPUT_CATEGORY_TYPE UI_MONTH_INPUT_CATEGORY_TYPE1
/* Year input category types: Do not modify these values */
/* Input box type */
#define UI_YEAR_INPUT_CATEGORY_TYPE1 1
/* Drop down list type */
#define UI_YEAR_INPUT_CATEGORY_TYPE2 2
/* Spin control type */
#define UI_YEAR_INPUT_CATEGORY_TYPE3 3
/* Type of Year input to use in the GUI */
/* Valid values are one of the above types */
#define UI_YEAR_INPUT_CATEGORY_TYPE UI_YEAR_INPUT_CATEGORY_TYPE1
/* Use these flags to turn off Pluto EMS library support */
#define UI_DISABLE_EMS_INPUT_BOX 0
#define UI_DISABLE_EMS_CATEGORY_SCREENS 0
/* Used by UI_TEXT_MENUITEM_SCROLL_TYPE, don't modify */
#define UI_TEXT_MENUITEM_SCROLL_TYPE_NONE 0
#define UI_TEXT_MENUITEM_SCROLL_TYPE_MARQUEE 1
#define UI_TEXT_MENUITEM_SCROLL_TYPE_TWO_DIRECTION 2
/* Type of scrolling to use in text menuitems */
/* Valid values are one of the above symbols */
#define UI_TEXT_MENUITEM_SCROLL_TYPE UI_TEXT_MENUITEM_SCROLL_TYPE_MARQUEE
/* Time for scrolling text in menu items */
/* Value must be an integer (milliseconds) */
/* Typical values: 100 to 500 */
#define UI_TEXT_MENUITEM_SCROLL_TIME 350
/* Number of pixels by which the text scrolls */
/* in menu items. */
/* Value must be an integer (units are in pixels) */
/* Typical values: 1 to 5 */
#define UI_TEXT_MENUITEM_SCROLL_SIZE 3
/* For Marquee type text scrolling in menu items, this */
/* specifies the blank gap that should appear at the end */
/* of the string. */
/* Value must be an integer (units are in pixels) */
/* Typical values: 16 to 64 (This depends on font size) */
#define UI_TEXT_MENUITEM_SCROLL_GAP 32
/* This specifies the delay after which a highlighted item */
/* will scroll. This is a multiple of */
/* UI_TEXT_MENUITEM_SCROLL_TIME */
/* Value must be an integer. Typically 1, 2 -- etc. */
/* Depends on the value of UI_TEXT_MENUITEM_SCROLL_TIME */
#define UI_TEXT_MENUITEM_SCROLL_PAUSE 4
/* Enable or disable pop up descriptions */
/* 0: Disables, 1: Enables */
#define UI_ENABLE_POP_UP_DESCRIPTIONS 1
/* Used by UI_POP_UP_DESCRIPTION_SCROLL_TYPE, don't modify */
#define UI_POP_UP_DESCRIPTION_SCROLL_TYPE_NONE 0
#define UI_POP_UP_DESCRIPTION_SCROLL_TYPE_MARQUEE 1
#define UI_POP_UP_DESCRIPTION_SCROLL_TYPE_TWO_DIRECTION 2
/* Type of scrolling to use in Pop up descriptions */
/* Valid values are one of the above symbols */
#define UI_POP_UP_DESCRIPTION_SCROLL_TYPE UI_POP_UP_DESCRIPTION_SCROLL_TYPE_MARQUEE
/* Enable or disable word-by-word text scrolling */
/* 0: Disables, 1: Enables */
#define UI_USE_WORD_SCROLLING_TEXT 0
/* 072904 Calvin moved for centralized control */
/* FRAME_SKIPPING switches */
/* 0: Disables, 1: Enables */
#if defined(MT6205B)
#define UI_ENABLE_FRAME_SKIPPING 1
#else
#define UI_ENABLE_FRAME_SKIPPING 0
#endif
#define ENABLE_DIALER_INPUTBOX_FRAME_SKIPPING 1
#define ENABLE_LIST_MENU_FRAME_SKIPPING 1
#define ENABLE_SINGLELINE_INPUTBOX_FRAME_SKIPPING 1
#define ENABLE_MULTILINE_INPUTBOX_FRAME_SKIPPING 1
#define ENABLE_DIRECT_MAIN_MENU_FRAME_SKIPPING 1
#define ENABLE_INLINE_SINGLELINE_INPUTBOX_FRAME_SKIPPING 1
#if(!UI_DISABLE_EMS_INPUT_BOX)
#define ENABLE_EMS_INPUTBOX_FRAME_SKIPPING 1
#endif
#define UI_FRAME_SKIP_TIMEOUT 150
#define UI_FRAME_START_TIMEOUT 100
#define DIRECT_MAIN_MENU_FRAME_SKIP_RATE UI_FRAME_SKIP_TIMEOUT
/* Calvin end */
/* MTK JL030813, added for gif optimization */
#if !defined(__BW_MMI__) && !defined(WIN32) /* defined(MMI_ON_HARDWARE_P) //Target version shall use this library */
#define USE_PLUTO_GIF_LIBRARY 1
#else /* PC and BW version use */
#define USE_PLUTO_GIF_LIBRARY 0
#endif
/* MTK end */
/* Support for blinking cursors */
/* 1: Enables blinking cursor, 0: disable */
#define UI_BLINKING_CURSOR_SUPPORT 1
#define UI_CURSOR_WAIT_TIME 1000
#define UI_CURSOR_BLINK_TIME 500
/* POPUP screen attribute */
// #define UI_POPUP_NOTIFYDURATION_TIME 1000
//Gurinder - 23/4/2004 - Information Bar Height Macro Defined.
//Leo remove #define INFORMATION_BAR_HEIGHT 12
/* This macro is used for enabling the reuse of main menu shadow buffer. Make sure that
u check at all places if this is enabled for the buffer sizes being used. */
#define __USE_MAIN_MENU_MATRIX_BUFFER 1
/* Multi-layer configuration */
/* sub menu */
#define UI_SUBMENU_OPACITY_BASED_LAYER 255
#define UI_SUBMENU_OPACITY_LAYER1 40
/* Multilayer mask */
#define UI_MUL_BKG_MAINMENU 0x0001
#define UI_MUL_BKG_SUBMENU 0x0002
#define UI_MUL_ALL_ON 0xFFFF
#define UI_MUL_ALL_OFF 0x0000
#ifdef __MMI_LCD_PARTIAL_ON__
/*
* Height of the displayed region of LCD partial on
* * This should be larger than font height and follow LCD partial display alignment
* * 1. Dialer font has typical height 27
* * 2. Most known LCM has partial display alignment < 4.
*/
#define UI_LCD_PARTIAL_ON_HEIGHT 32
#endif /* __MMI_LCD_PARTIAL_ON__ */
/* 070306 Alpha layer Start */
#ifndef __MMI_MAIN_BASE_LAYER_FORMAT__
#define __MMI_MAIN_BASE_LAYER_FORMAT__ GDI_COLOR_FORMAT_16
#endif
#ifndef __MMI_SUB_BASE_LAYER_FORMAT__
#define __MMI_SUB_BASE_LAYER_FORMAT__ GDI_COLOR_FORMAT_16
#endif
#ifndef __MMI_DEVICE_BMP_FORMAT__
#define __MMI_DEVICE_BMP_FORMAT__ 16
#endif
#ifndef __MMI_IMAGE_HEADER_SIZE__
#define __MMI_IMAGE_HEADER_SIZE__ 6
#endif
/* 070306 Alpha layer End */
/* Editor config section */
#define EMS_DISPLAY_SPECIAL_CHARACTERS 0
#define GUI_INPUT_BOX_MAX_LENGTH 2048 /* characters. This value will control editor / font engine / IME / MMS contains */
#ifdef __cplusplus
}
#endif
#endif /* __GUI_CONFIG_H__ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -