STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
Eclipse_WS2
STM32F769IDiscovery
Middlewares
ST
STemWin
inc
GUI_ConfDefaults.h
Go to the documentation of this file.
1
/*********************************************************************
2
* SEGGER Microcontroller GmbH & Co. KG *
3
* Solutions for real time microcontroller applications *
4
**********************************************************************
5
* *
6
* (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG *
7
* *
8
* Internet: www.segger.com Support: support@segger.com *
9
* *
10
**********************************************************************
11
12
** emWin V5.28 - Graphical user interface for embedded applications **
13
All Intellectual Property rights in the Software belongs to SEGGER.
14
emWin is protected by international copyright laws. Knowledge of the
15
source code may not be used to write a similar product. This file may
16
only be used in accordance with the following terms:
17
18
The software has been licensed to STMicroelectronics International
19
N.V. a Dutch company with a Swiss branch and its headquarters in Plan-
20
les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the
21
purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_
22
troller products commercialized by Licensee only, sublicensed and dis_
23
tributed under the terms and conditions of the End User License Agree_
24
ment supplied by STMicroelectronics International N.V.
25
Full source code is available at: www.segger.com
26
27
We appreciate your understanding and fairness.
28
----------------------------------------------------------------------
29
File : GUI_ConfDefaults.h
30
Purpose : Defaults for GUI config switches.
31
---------------------------END-OF-HEADER------------------------------
32
33
Attention : Do not modify this file ! If you do, you will not
34
be able do update to a later GUI version !
35
36
*/
37
38
#ifndef GUI_CONFDEFAULTS_H
39
#define GUI_CONFDEFAULTS_H
40
41
#include "
GUIConf.h
"
42
43
#ifndef LCD_MAX_LOG_COLORS
44
#define LCD_MAX_LOG_COLORS 256
45
#else
46
#if (LCD_MAX_LOG_COLORS > 256)
47
#error The value of LCD_MAX_LOG_COLORS must be <= 256!
48
#endif
49
#endif
50
51
#define LCD_PIXELINDEX U32
52
53
#ifndef LCD_YMAG
54
#define LCD_YMAG 1
55
#endif
56
#ifndef LCD_XMAG
57
#define LCD_XMAG 1
58
#endif
59
60
/**********************************************************************
61
*
62
* Defaults for config switches
63
*
64
***********************************************************************
65
*/
66
67
/* Define "universal pointer". Normally, this is not needed (define will expand to nothing)
68
However, on some systems (AVR - IAR compiler) it can be necessary ( -> __generic),
69
since a default pointer can access RAM only, not the built-in Flash
70
*/
71
#ifndef GUI_UNI_PTR
72
#define GUI_UNI_PTR
/* Remains only for compatibility purpose, no longer used in emWin */
73
#endif
74
75
/* Define const storage. Normally, this is not needed (define will expand to const)
76
However, on some systems (AVR - IAR compiler) it can be necessary ( -> __flash const),
77
since otherwise constants are copied into RAM
78
*/
79
#ifndef GUI_CONST_STORAGE
80
#define GUI_CONST_STORAGE const
81
#endif
82
83
#ifndef GUI_USE_MEMDEV_1BPP_FOR_SCREEN
84
#define GUI_USE_MEMDEV_1BPP_FOR_SCREEN 1
85
#endif
86
87
#ifndef GUI_BIDI_MAX_CHARS_PER_LINE
88
#define GUI_BIDI_MAX_CHARS_PER_LINE 80
89
#endif
90
91
#ifndef GUI_SUPPORT_TOUCH
92
#define GUI_SUPPORT_TOUCH 0
93
#endif
94
95
#ifndef GUI_SUPPORT_MOUSE
96
#define GUI_SUPPORT_MOUSE 0
97
#endif
98
99
#ifndef GUI_SUPPORT_MEMDEV
100
#define GUI_SUPPORT_MEMDEV 0
101
#endif
102
103
#ifndef GUI_OS
104
#define GUI_OS 0
105
#endif
106
107
#ifndef GUI_NUM_LAYERS
108
#define GUI_NUM_LAYERS 1
109
#endif
110
111
#ifndef GUI_SUPPORT_CURSOR
112
#define GUI_SUPPORT_CURSOR (GUI_SUPPORT_MOUSE | GUI_SUPPORT_TOUCH)
113
#endif
114
115
#ifndef GUI_CURSOR_LAYER
116
#define GUI_CURSOR_LAYER 0
117
#endif
118
119
#ifndef GUI_MEMCPY
120
#define GUI_MEMCPY(pDest, pSrc, NumBytes) memcpy(pDest, pSrc, NumBytes)
121
#endif
122
123
#ifndef GUI_SUPPORT_ROTATION
124
#define GUI_SUPPORT_ROTATION 1
125
#endif
126
127
/* In order to avoid warnings for undefined parameters */
128
#ifndef GUI_USE_PARA
129
#if defined (__BORLANDC__) || defined(NC30) || defined(NC308)
130
#define GUI_USE_PARA(para)
131
#else
132
#define GUI_USE_PARA(para) (void)para
133
#endif
134
#endif
135
136
/* Default for types */
137
#ifndef GUI_TIMER_TIME
138
#define GUI_TIMER_TIME int
/* default is to use 16 bits for 16 bit CPUs,
139
32 bits on 32 bit CPUs for timing */
140
#endif
141
142
/* Types used for memory allocation */
143
#define GUI_ALLOC_DATATYPE I32
144
#define GUI_ALLOC_DATATYPE_U U32
145
146
#ifndef GUI_MAX_XBF_BYTES
147
#define GUI_MAX_XBF_BYTES 200
148
#endif
149
150
#ifndef GUI_MEMSET
151
#define GUI_MEMSET GUI__memset
152
#endif
153
154
/* Optional custom drawing of memory devices */
155
#ifndef GUI_MEMDEV_SUPPORT_CUSTOMDRAW
156
#define GUI_MEMDEV_SUPPORT_CUSTOMDRAW 1
157
#endif
158
159
/* Clip static memory devices to parent borders */
160
#ifndef GUI_MEMDEV_CLIP_AT_PARENT
161
#define GUI_MEMDEV_CLIP_AT_PARENT 0
162
#endif
163
164
#endif
/* ifdef GUI_CONFDEFAULTS_H */
165
166
/*************************** End of file ****************************/
GUIConf.h
Generated by
1.8.11