1: #ifndef _GRAPHICSCONFIG_H
2: #define _GRAPHICSCONFIG_H
3:
4: //////////////////// COMPILE OPTIONS AND DEFAULTS ////////////////////
5:
6: /*********************************************************************
7: * Overview: Blocking and Non-Blocking configuration selection. To
8: * enable non-blocking configuration USE_NONBLOCKING_CONFIG
9: * must be defined. If this is not defined, blocking
10: * configuration is assumed.
11: *
12: ********************************************************************/
13: //#define USE_NONBLOCKING_CONFIG // Comment this line to use blocking configuration
14:
15: /*********************************************************************
16: * Overview: Keyboard control on some objects can be used by enabling
17: * the GOL Focus (USE_FOCUS)support.
18: *
19: *********************************************************************/
20: //#define USE_FOCUS
21:
22: /*********************************************************************
23: * Overview: Input devices used defines the messages that Objects will
24: * process. The following definitions indicate the usage of
25: * the different input device:
26: * - USE_TOUCHSCREEN - enables the touch screen support.
27: * - USE_KEYBOARD - enables the key board support.
28: *
29: *********************************************************************/
30: //#define USE_TOUCHSCREEN // Enable touch screen support.
31: //#define USE_KEYBOARD // Enable key board support.
32:
33: /*********************************************************************
34: * Overview: To save program memory, unused Widgets or Objects can be
35: * removed at compile time.
36: *
37: *********************************************************************/
38: //#define USE_GOL // Enable Graphics Object Layer.
39: //#define USE_BUTTON // Enable Button Object.
40: // USE_WINDOW // Enable Window Object.
41: //#define USE_CHECKBOX // Enable Checkbox Object.
42: //#define USE_RADIOBUTTON // Enable Radio Button Object.
43: //#define USE_EDITBOX // Enable Edit Box Object.
44: //#define USE_LISTBOX // Enable List Box Object.
45: //#define USE_SLIDER // Enable Slider or Scroll Bar Object.
46: //#define USE_PROGRESSBAR // Enable Progress Bar Object.
47: //#define USE_STATICTEXT // Enable Static Text Object.
48: //#define USE_PICTURE // Enable Picture Object.
49: //#define USE_GROUPBOX // Enable Group Box Object.
50: //#define USE_ROUNDDIAL // Enable Dial Object.
51: //#define USE_METER // Enable Meter Object.
52: //#define USE_CUSTOM // Enable Custom Control Object (an example to create customized Object).
53:
54: /*********************************************************************
55: * Overview: To enable support for unicode fonts, USE_MULTIBYTECHAR
56: * must be defined. This changes XCHAR definition. See XCHAR
57: * for details.
58: *
59: *********************************************************************/
60: //#define USE_MULTIBYTECHAR
61:
62: /*********************************************************************
63: * Overview: Font data can be placed in two locations. One is in
64: * FLASH memory and the other is from external memory.
65: * Definining one or both enables the support for fonts located
66: * in internal flash and external memory.
67: * - USE_FONT_FLASH - Font in internal flash memory support.
68: * - USE_FONT_EXTERNAL - Font in external memory support.
69: *
70: *********************************************************************/
71: #define USE_FONT_FLASH // Support for fonts located in internal flash
72: //#define USE_FONT_EXTERNAL // Support for fonts located in external memory
73:
74: /*********************************************************************
75: * Overview: Similar to Font data bitmaps can also be placed in
76: * two locations. One is in FLASH memory and the other is
77: * from external memory.
78: * Definining one or both enables the support for bitmaps located
79: * in internal flash and external memory.
80: * - USE_BITMAP_FLASH - Font in internal flash memory support.
81: * - USE_BITMAP_EXTERNAL - Font in external memory support.
82: *
83: *********************************************************************/
84: #define USE_BITMAP_FLASH // Support for bitmaps located in internal flash
85: //#define USE_BITMAP_EXTERNAL // Support for bitmaps located in external memory
86:
87: /*********************************************************************
88: * Overview:
89: * Graphics on the MMB Board
90: *
91: ********************************************************************/
92: #define LCD_WRAP
93: #define LCD_SCROLL
94: //#defin LCD_OVERLAY
95: #define LCD_BACK BLACK
96: #define LCD_FORE WHITE
97:
98: #endif // _GRAPHICSCONFIG_H