📄 gui_config.h
字号:
/**/#endif /**/
/**/#if __MMI_UI_STATUSBAR_STYLE__ == STATUSBAR_STYLE_DALMATIAN /**/
/**/ #if defined(__MMI_MAINLCD_176X220__) /**/
/**/ #define __MMI_UI_DALMATIAN_STATUSBAR__ /**/ /* Detail Info: [2 layers of status bars that can shuffle] */
/**/ #else /**/
/**/ #undef __MMI_UI_STATUSBAR_STYLE__ /**/
/**/ #define __MMI_UI_STATUSBAR_STYLE__ STATUSBAR_STYLE_NONE /**/
/**/ #endif /**/
/**/#elif __MMI_UI_STATUSBAR_STYLE__ == STATUSBAR_STYLE_TECHNO /**/
/**/ #if defined(__MMI_MAINLCD_176X220__) /**/
/**/ #define __MMI_UI_TECHNO_STATUS_ICON__ /**/ /* Detail Info: [vertical signal strength and battery level status icons], force __MMI_UI_TECHNO_IDLESCREEN_BAR__ */
/**/ #ifndef __MMI_UI_TECHNO_IDLESCREEN_BAR__ /**/
/**/ #define __MMI_UI_TECHNO_IDLESCREEN_BAR__ /**/ /* Detail Info: [Techno styled idle screen bar containing clock]*/
/**/ #endif /**/
/**/ #else /**/
/**/ #undef __MMI_UI_STATUSBAR_STYLE__ /**/
/**/ #define __MMI_UI_STATUSBAR_STYLE__ STATUSBAR_STYLE_NONE /**/
/**/ #endif /**/
/**/#endif /**/
/**/ /**/
/**/#if defined(__MMI_UI_DALMATIAN_STATUSBAR__) && defined(__MMI_UI_DALMATIAN_SOFTKEYS__) /**/
/**/ #define __MMI_UI_DALMATIAN_IDLESCREEN__ /**/ /* Detail Info: [idle screen with __MMI_UI_DALMATIAN_STATUSBAR__& __MMI_UI_DALMATIAN_SOFTKEYS__] */
/**/#endif /**/
/***************************** Do Not Modifiy ****************************************************/
/***************************** Dependency Rule of Status Bar on Bottom *****************************/
/**/#if defined(__MMI_UI_TECHNO_IDLESCREEN_BAR__) && !defined(__MMI_ANALOG_CLOCK__)
/**/ #error "Please define __MMI_ANALOG_CLOCK__ in MMI_features.h"
/**/#endif
/***************************** Do Not Modifiy ****************************************************/
/***************************** Dependency Rule of Status Bar on Bottom *****************************/
/**/#if defined(__MMI_UI_DALMATIAN_STATUSBAR__) || defined(__MMI_UI_TECHNO_STATUS_ICON__) || defined(__MMI_UI_TECHNO_IDLESCREEN_BAR__) || defined(__MMI_TOUCH_IDLESCREEN_SHORTCUTS__)
/**/ #ifdef __MMI_UI_STATUS_BAR_AT_BOTTOM__ /**/
/**/ //#error "__MMI_UI_STATUS_BAR_AT_BOTTOM__ should not be defined in MMI_features_GUI.h because of dependency"
/**/ #undef __MMI_UI_STATUS_BAR_AT_BOTTOM__ /**/
/**/ #endif /**/
/**/#endif /**/
/***************************** Do Not Modifiy ****************************************************/
/**********************************************************************************************/
/* End of Dependency and Exclusive Rules */
/**********************************************************************************************/
/* *FORMATTER-ENABLE* */
/* Pixtel - Gurinder - 1/21/04 - Macros Added to Support/Remove Features. */
#define __MMI_PLUTO_GPRS__
//#define __MMI_PLUTO_LISTBOX__
//#define __MMI_PLUTO_DOUBLEPX_ROUND_CORNER__
//Pixtel - Gurinder - 2/6/04 - Added Macro to support MultiLine Input Box as Inline Item.
#define __MMI_INSCREEN_MULTILINE_TEXTBOX__
/* Gurinder 7/14/2004 - Macro for inscreen multiline control title display. */
#ifdef __MMI_INSCREEN_MULTILINE_TEXTBOX__
#define INSCREEN_MUTLILINE_TITLE_ENABLE 1
#define INSCREEN_MULTILINE_SHOW_TITLE 1 /* 0 //Putting it 0 will display info bar. */
#endif /* __MMI_INSCREEN_MULTILINE_TEXTBOX__ */
#define __NEW_MULTI_LINE_INPUTBOX__
/* End */
#ifdef __cplusplus
extern "C"
{
#endif /* __cplusplus */
/* Use this parameter to change the device's color depth */
/* currently supported values are 1,2,16,24,32 */
/* Note: This is different from the GUIs color depth */
#ifdef __BW_MMI__
#ifdef _WIN32
#define DEVICE_COLOR_DEPTH 24
#else
#define DEVICE_COLOR_DEPTH 1
#endif
#else /* __BW_MMI__ */
#define DEVICE_COLOR_DEPTH 24
#endif /* __BW_MMI__ */
/* Srollbar style */
/* It can be defined in MMI_features.h or automatically decided here */
/* Please note that UI_SCROLLBAR_STYLE_3 need additional images */
#if defined(__MMI_UI_SCROLLBAR_DEFAULT_STYLE_3__)
/* Thick scrollbar using predefined image */
#define UI_SCROLLBAR_STYLE_3
#elif defined(__MMI_UI_SCROLLBAR_DEFAULT_STYLE_2__)
/* Rounded bar with arrows */
#define UI_SCROLLBAR_STYLE_2
#elif defined(__MMI_UI_SCROLLBAR_DEFAULT_STYLE_1__)
/* Old-style flat scrollbar style */
#define UI_SCROLLBAR_STYLE_1
#elif !defined(MT6205B) && !defined(MT6205) && !defined(__MMI_MAINLCD_128X128__)
#if defined(__MMI_TOUCH_SCREEN__) || defined(__MMI_MAINLCD_240X320__)
#define UI_SCROLLBAR_STYLE_3
#else
#define UI_SCROLLBAR_STYLE_2
#endif
#else /* ~MT6205B && ~MT6205 */
/* MT6205 can also turn on the new UI styles but it is slightly slower and
* larger on 128x128.
* Developers can decide whether the performance degration is acceptable */
#define UI_SCROLLBAR_STYLE_1
#endif /* ~MT6205B && ~MT6205 */
#if defined(UI_SCROLLBAR_STYLE_3)
/* UI_SCROLLBAR_STYLE_3 use predefined image.
If this value is changed, the scrollbar image should be changed, too. */
#ifdef __MMI_MAINLCD_240X320__
// wangbei modify start 20071010
#ifdef __NEW_UI_STYLE__
#define UI_SCROLLBAR_WIDTH 8
#else
#define UI_SCROLLBAR_WIDTH 16
#endif
// wangbei modify end
#else
#define UI_SCROLLBAR_WIDTH 14
#endif
#elif defined(__MMI_MAINLCD_240X320__)
#define UI_SCROLLBAR_WIDTH 10
#elif defined(__MMI_MAINLCD_176X220__)
#define UI_SCROLLBAR_WIDTH 8
#else
// wangbei modify start 20070625
#ifdef __MT118_A_UI_STYLE__
#define UI_SCROLLBAR_WIDTH 5
#else
#define UI_SCROLLBAR_WIDTH 6
#endif
// wangbei modify end
#endif
/* Popup description style */
/* It can be defined in MMI_features.h or automatically decided here. */
/* Please note that style 2 and 3 always use border color */
#if defined(__MMI_UI_POPUP_DESCRIPTION_DEFAULT_STYLE_3__)
/* Round corner with border and small arrow */
#define UI_POPUP_DESCRIPTION_STYLE_3
#elif defined(__MMI_UI_POPUP_DESCRIPTION_DEFAULT_STYLE_2__)
/* Round corner with border and shadow */
#define UI_POPUP_DESCRIPTION_STYLE_2
#elif defined(__MMI_UI_POPUP_DESCRIPTION_DEFAULT_STYLE_1__)
/* Old-style flat popup */
#define UI_POPUP_DESCRIPTION_STYLE_1
#elif !defined(MT6205B) && !defined(MT6205)
#define UI_POPUP_DESCRIPTION_STYLE_3
#else
/* MT6205 can also turn on the new UI styles.
Developers can decide whether the performance degration is acceptable */
#define UI_POPUP_DESCRIPTION_STYLE_1
#endif
#if defined(__MMI_UI_SOFTKEY_DEFAULT_STYLE_2__)
/* Use IMG_SOFTKEY_BAR as background image */
#define UI_SOFTKEY_STYLE_2
#elif defined(__MMI_UI_SOFTKEY_DEFAULT_STYLE_1__)
/* Use gradient color */
#define UI_SOFTKEY_STYLE_1
#else
/* Use style 1 as default */
#define UI_SOFTKEY_STYLE_1
#endif
/* Use this parameter to specify that the device uses an */
/* Indexed color system. Normally color depths <=8 use an */
/* Indexed color system. */
/* Valid values are 0 and 1 */
#define DEVICE_INDEXED_COLOR_SYSTEM 0
/* Use this parameter to specify that the GUI uses an */
/* Indexed color system. Normally color depths <=8 use an */
/* Indexed color system */
/* Valid values are 0 and 1 */
#define UI_INDEXED_COLOR_SYSTEM 0
/* Use this parameter to change the GUI color depth */
/* currently supported values are 1,2,16,24,32 */
/* Note: This is the color depth used internally by the */
/* GUI. This is automatically converted to the device */
/* depth before displaying */
#define UI_COLOR_DEPTH 24
/* Support for Keyboard: Simulator / Hardware */
/* Note: The simulator uses PC keyboard */
/* Valid values are 0 and 1 */
#define UI_KEYBOARD_SUPPORT 1
/* Support for Pointing device: Simulator / Hardware */
/* Note: The simulator uses PC mouse */
/* Valid values are 0 and 1 */
/* Not available yet */
#define UI_POINTING_DEVICE_SUPPORT 0
/* Support for Double buffering in the UI */
/* Valid values are 0 and 1. 1=Double buffering enabled */
#define UI_DOUBLE_BUFFER_SUPPORT 1
/* Support for two way or four way navigation */
/* These values should not be changed */
#define UI_TWO_WAY_NAVIGATION_KEYS 1
#define UI_FOUR_WAY_NAVIGATION_KEYS 2
/* code added vandana to enable the 4 way navigation key on the softkey background */
/* ISSUE GPRS PPT 6 BOTTOM NAVIAGTION KEYS */
#define ENABLE_BOTTOM_NAVIGATION_KEYS 1
/* ISSUE GPRS PPT 6 END */
/* Support for two way or four way navigation */
/* Valid values are one of the above navigation types */
#define UI_NAVIGATION_KEYS_TYPE UI_FOUR_WAY_NAVIGATION_KEYS
/* Quick startup build: For simulator testing */
/* Valid values are 0 and 1. If 1, quick start is enabled */
#define BUILD_TYPE_X86WIN32_QUICK_START 0
/* Disable redraw: For simulator testing */
/* Valid values are 0 and 1. If 1, Redraw is disabled */
#define BUILD_TYPE_X86WIN32_DISABLE_REDRAW 0
/* Double buffered graphics in Win32 platform */
/* Valid values are 0 and 1. 1=Double buffering enabled */
#define BUILD_TYPE_X86WIN32_DOUBLE_BUFFERED 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -