?lang_form? ?lang_select? ?lang_submit? ?lang_endform?
{HEADER END}
{BLAME START}

library

?curdirlinks? -

Blame information for rev 32

Line No. Rev Author Line
1 32 kaklik /*****************************************************************************
2 * Microchip Graphics Library
3 *****************************************************************************
4 * FileName: GraphicsConfig.h
5 * Dependencies: None
6 * Processor: PIC24F, PIC24H, dsPIC, PIC32
7 * Compiler: MPLAB C30/C32
8 * Linker: MPLAB LINK30, MPLAB LINK32
9 * Company: Microchip Technology Incorporated
10 *
11 * Software License Agreement
12 *
13 * Copyright © 2010 Microchip Technology Inc. All rights reserved.
14 * Microchip licenses to you the right to use, modify, copy and distribute
15 * Software only when embedded on a Microchip microcontroller or digital
16 * signal controller, which is integrated into your product or third party
17 * product (pursuant to the sublicense terms in the accompanying license
18 * agreement).
19 *
20 * You should refer to the license agreement accompanying this Software
21 * for additional information regarding your rights and obligations.
22 *
23 * SOFTWARE AND DOCUMENTATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY
24 * KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY
25 * OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR
26 * PURPOSE. IN NO EVENT SHALL MICROCHIP OR ITS LICENSORS BE LIABLE OR
27 * OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION,
28 * BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT
29 * DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL,
30 * INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA,
31 * COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY
32 * CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF),
33 * OR OTHER SIMILAR COSTS.
34 *
35 * Author Date Comment
36 *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37 *
38 *****************************************************************************/
39 #ifndef _GRAPHICSCONFIG_H
40 #define _GRAPHICSCONFIG_H
41  
42 //////////////////// COMPILE OPTIONS AND DEFAULTS ////////////////////
43  
44 /*********************************************************************
45 * Overview: Blocking and Non-Blocking configuration selection. To
46 * enable non-blocking configuration USE_NONBLOCKING_CONFIG
47 * must be defined. If this is not defined, blocking
48 * configuration is assumed.
49 *
50 ********************************************************************/
51 #define USE_NONBLOCKING_CONFIG // Comment this line to use blocking configuration
52  
53 /*********************************************************************
54 * Overview: Using Palettes, different colors can be used with the same
55 * bit depth.
56 *
57 ********************************************************************/
58 // #define USE_PALETTE // Comment this line if Palette is not required.
59  
60 #ifdef USE_PALETTE
61 //#define USE_PALETTE_EXTERNAL // Uncomment this line if Palette must be stored in External Memory.
62 #endif
63  
64 /*********************************************************************
65 * Overview: Keyboard control on some objects can be used by enabling
66 * the GOL Focus (USE_FOCUS)support.
67 *
68 *********************************************************************/
69  
70 #define USE_FOCUS
71  
72 /*********************************************************************
73 * Overview: Input devices used defines the messages that Objects will
74 * process. The following definitions indicate the usage of
75 * the different input device:
76 * - USE_TOUCHSCREEN - enables the touch screen support.
77 * - USE_KEYBOARD - enables the key board support.
78 *
79 *********************************************************************/
80  
81 #define USE_TOUCHSCREEN // Enable touch screen support.
82 #define USE_KEYBOARD // Enable key board support.
83  
84 /*********************************************************************
85 * Overview: To save program memory, unused Widgets or Objects can be
86 * removed at compile time.
87 *
88 *********************************************************************/
89 #define USE_GOL // Enable Graphics Object Layer.
90  
91 //#define USE_BUTTON // Enable Button Object.
92  
93 //#define USE_WINDOW // Enable Window Object.
94 //#define USE_CHECKBOX // Enable Checkbox Object.
95 //#define USE_RADIOBUTTON // Enable Radio Button Object.
96 //#define USE_EDITBOX // Enable Edit Box Object.
97 //#define USE_LISTBOX // Enable List Box Object.
98 //#define USE_SLIDER // Enable Slider or Scroll Bar Object.
99  
100 //#define USE_PROGRESSBAR // Enable Progress Bar Object.
101 //#define USE_STATICTEXT // Enable Static Text Object.
102 //#define USE_PICTURE // Enable Picture Object.
103 //#define USE_GROUPBOX // Enable Group Box Object.
104 //#define USE_ROUNDDIAL // Enable Dial Object.
105 //#define USE_METER // Enable Meter Object.
106 //#define USE_TEXTENTRY // Enable TextEntry Object.
107 //#define USE_CUSTOM // Enable Custom Control Object (an example to create customized Object).
108  
109 /*********************************************************************
110 * Overview: To enable support for unicode fonts, USE_MULTIBYTECHAR
111 * must be defined. This changes XCHAR definition. See XCHAR
112 * for details.
113 *
114 *********************************************************************/
115  
116 //#define USE_MULTIBYTECHAR
117  
118 /*********************************************************************
119 * Overview: Font data can be placed in two locations. One is in
120 * FLASH memory and the other is from external memory.
121 * Definining one or both enables the support for fonts located
122 * in internal flash and external memory.
123 * - USE_FONT_FLASH - Font in internal flash memory support.
124 * - USE_FONT_EXTERNAL - Font in external memory support.
125 *
126 *********************************************************************/
127 #define USE_FONT_FLASH // Support for fonts located in internal flash
128  
129 //#define USE_FONT_EXTERNAL // Support for fonts located in external memory
130  
131 /*********************************************************************
132 * Overview: Similar to Font data bitmaps can also be placed in
133 * two locations. One is in FLASH memory and the other is
134 * from external memory.
135 * Definining one or both enables the support for bitmaps located
136 * in internal flash and external memory.
137 * - USE_BITMAP_FLASH - Font in internal flash memory support.
138 * - USE_BITMAP_EXTERNAL - Font in external memory support.
139 *
140 *********************************************************************/
141 #define USE_BITMAP_FLASH // Support for bitmaps located in internal flash
142  
143 //#define USE_BITMAP_EXTERNAL // Support for bitmaps located in external memory
144  
145 /*********************************************************************
146 * Overview: Define the malloc() and free() for versatility on OS
147 * based systems.
148 *
149 *********************************************************************/
150 #define GFX_malloc(size) malloc(size)
151 #define GFX_free(pObj) free(pObj)
152  
153 // GDD_GraphicsConfig.h should be included as the last line in this file (GraphicsConfig.h).
154 // The file checks if a certain definition used by GDD has been defined yet or not,
155 // if not, it will define it. This allows end users to manually enable/disable other definitions.
156 #include "GDD_GraphicsConfig.h"
157  
158 #endif // _GRAPHICSCONFIG_H
{BLAME END}
{FOOTER START}

Powered by WebSVN v2.8.3