STemWin
Select one of the symbols to view example projects that use it.
Symbol previews are coming soon...
Outline
#define GUI_CONFDEFAULTS_H
#include "GUIConf.h"
#define GUI_USE_MIXCOLORS
#define GUI_USE_BIDI2
#define LCD_MAX_LOG_COLORS
#define LCD_PIXELINDEX
#define LCD_YMAG
#define LCD_XMAG
#define GUI_USE_ARGB
#define GUI_UNI_PTR
#define GUI_CONST_STORAGE
#define GUI_USE_MEMDEV_1BPP_FOR_SCREEN
#define GUI_BIDI_MAX_CHARS_PER_LINE
#define GUI_BIDI_MAX_CHARS_PER_LINE
#define GUI_SUPPORT_TOUCH
#define GUI_SUPPORT_MOUSE
#define GUI_SUPPORT_MEMDEV
#define GUI_OS
#define GUI_NUM_LAYERS
#define GUI_SUPPORT_CURSOR
#define GUI_CURSOR_LAYER
#define GUI_SUPPORT_ROTATION
#define GUI_USE_PARA
#define GUI_USE_PARA
#define GUI_ALLOC_DATATYPE
#define GUI_ALLOC_DATATYPE_U
#define GUI_MAX_XBF_BYTES
#define GUI_MEMSET
#define GUI_MEMCPY
#define GUI_MEMDEV_SUPPORT_CUSTOMDRAW
#define GUI_MEMDEV_CLIP_AT_PARENT
Files
loading...
SourceVu
STM32 Libraries and Samples
STemWin
inc/GUI_ConfDefaults.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
/*********************************************************************
* SEGGER Microcontroller GmbH & Co. KG *
* Solutions for real time microcontroller applications *
**********************************************************************
* *
* (c) 1996 - 2017 SEGGER Microcontroller GmbH & Co. KG *
* *
* Internet: www.segger.com Support: support@segger.com *
* *
**********************************************************************
** emWin V5.44 - Graphical user interface for embedded applications **
All Intellectual Property rights in the Software belongs to SEGGER.
emWin is protected by international copyright laws. Knowledge of the
source code may not be used to write a similar product. This file may
only be used in accordance with the following terms:
The software has been licensed to STMicroelectronics International
N.V. a Dutch company with a Swiss branch and its headquarters in Plan-
les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for the
purposes of creating libraries for ARM Cortex-M-based 32-bit microcon_
troller products commercialized by Licensee only, sublicensed and dis_
tributed under the terms and conditions of the End User License Agree_
ment supplied by STMicroelectronics International N.V.
Full source code is available at: www.segger.com
We appreciate your understanding and fairness.
----------------------------------------------------------------------
******************************************************************************
* @attention
*
* <h2><center>© Copyright (c) 2018 STMicroelectronics.
* All rights reserved.</center></h2>
*
* This software component is licensed by ST under Ultimate Liberty license SLA0044,
* the "License"; You may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
* http://www.st.com/SLA0044
*
******************************************************************************
----------------------------------------------------------------------
File : GUI_ConfDefaults.h
Purpose : Defaults for GUI config switches.
---------------------------END-OF-HEADER------------------------------
Attention : Do not modify this file ! If you do, you will not
be able do update to a later GUI version !
*/
/* ... */
#ifndef
GUI_CONFDEFAULTS_H
#define
GUI_CONFDEFAULTS_H
#include
"
GUIConf.h"
#ifndef
GUI_USE_MIXCOLORS
#define
GUI_USE_MIXCOLORS
1
#endif
#ifndef
GUI_USE_BIDI2
#define
GUI_USE_BIDI2
1
#endif
#ifndef
LCD_MAX_LOG_COLORS
#define
LCD_MAX_LOG_COLORS
256
#else
#if
(
LCD_MAX_LOG_COLORS
>
256
)
#error
The
value
of
LCD_MAX_LOG_COLORS
must
be
<=
256
!
#endif
/* ... */
#endif
#define
LCD_PIXELINDEX
U32
#ifndef
LCD_YMAG
#define
LCD_YMAG
1
#endif
#ifndef
LCD_XMAG
#define
LCD_XMAG
1
#endif
/**********************************************************************
*
* Defaults for config switches
*
***********************************************************************
*/
/* ... */
/* ATTENTION: This define swaps the meaning of a logical color from
ABGR to ARGB.
It further swaps the meaning of a transparent pixel:
ABGR: 0x00 means opaque, 0xFF means transparent (default)
ARGB: 0x00 means transparent, 0xFF means opaque
*/
/* ... */
#ifndef
GUI_USE_ARGB
#define
GUI_USE_ARGB
0
#endif
/* Define "universal pointer". Normally, this is not needed (define will expand to nothing)
However, on some systems (AVR - IAR compiler) it can be necessary ( -> __generic),
since a default pointer can access RAM only, not the built-in Flash
*/
/* ... */
#ifndef
GUI_UNI_PTR
#define
GUI_UNI_PTR
/* Remains only for compatibility purpose, no longer used in emWin */
#endif
/* Define const storage. Normally, this is not needed (define will expand to const)
However, on some systems (AVR - IAR compiler) it can be necessary ( -> __flash const),
since otherwise constants are copied into RAM
*/
/* ... */
#ifndef
GUI_CONST_STORAGE
#define
GUI_CONST_STORAGE
const
#endif
#ifndef
GUI_USE_MEMDEV_1BPP_FOR_SCREEN
#define
GUI_USE_MEMDEV_1BPP_FOR_SCREEN
1
#endif
#ifndef
GUI_BIDI_MAX_CHARS_PER_LINE
#if
GUI_USE_BIDI2
#define
GUI_BIDI_MAX_CHARS_PER_LINE
200
#else
#define
GUI_BIDI_MAX_CHARS_PER_LINE
80
#endif
/* ... */
#endif
#ifndef
GUI_SUPPORT_TOUCH
#define
GUI_SUPPORT_TOUCH
0
#endif
#ifndef
GUI_SUPPORT_MOUSE
#define
GUI_SUPPORT_MOUSE
0
#endif
#ifndef
GUI_SUPPORT_MEMDEV
#define
GUI_SUPPORT_MEMDEV
0
#endif
#ifndef
GUI_OS
#define
GUI_OS
0
#endif
#ifndef
GUI_NUM_LAYERS
#define
GUI_NUM_LAYERS
1
#endif
#ifndef
GUI_SUPPORT_CURSOR
#define
GUI_SUPPORT_CURSOR
(
GUI_SUPPORT_MOUSE
|
GUI_SUPPORT_TOUCH
)
#endif
#ifndef
GUI_CURSOR_LAYER
#define
GUI_CURSOR_LAYER
0
#endif
#ifndef
GUI_SUPPORT_ROTATION
#define
GUI_SUPPORT_ROTATION
1
#endif
/* In order to avoid warnings for undefined parameters */
#ifndef
GUI_USE_PARA
#if
defined
(
__BORLANDC__
)
||
defined
(
NC30
)
||
defined
(
NC308
)
#define
GUI_USE_PARA
(
para
)
#else
#define
GUI_USE_PARA
(
para
)
(
void
)
para
#endif
/* ... */
#endif
/* Default for types */
#ifndef
GUI_TIMER_TIME
#define
GUI_TIMER_TIME
int
/* default is to use 16 bits for 16 bit CPUs,
32 bits on 32 bit CPUs for timing */
/* ... */
/* ... */
#endif
/* Types used for memory allocation */
#define
GUI_ALLOC_DATATYPE
I32
#define
GUI_ALLOC_DATATYPE_U
U32
#ifndef
GUI_MAX_XBF_BYTES
#define
GUI_MAX_XBF_BYTES
200
#endif
#ifndef
GUI_MEMSET
#define
GUI_MEMSET
memset
#endif
#ifndef
GUI_MEMCPY
#define
GUI_MEMCPY
memcpy
#endif
/* Optional custom drawing of memory devices */
#ifndef
GUI_MEMDEV_SUPPORT_CUSTOMDRAW
#define
GUI_MEMDEV_SUPPORT_CUSTOMDRAW
0
#endif
/* Clip static memory devices to parent borders */
#ifndef
GUI_MEMDEV_CLIP_AT_PARENT
#define
GUI_MEMDEV_CLIP_AT_PARENT
0
#endif
/* ... */
#endif
/* ifdef GUI_CONFDEFAULTS_H */
/*************************** End of file ****************************/
Details
Show:
from
Types:
Columns:
All items filtered out
All items filtered out
This file uses the notable symbols shown below. Click anywhere in the file to view more details.
GUI_CONST_STORAGE
U32
I32
GUI_TIMER_TIME
GUI_USE_PARA
GUI_UNI_PTR
GUI_SUPPORT_CURSOR
LCD_PIXELINDEX
GUI_MEMDEV_SUPPORT_CUSTOMDRAW
GUI_ALLOC_DATATYPE
GUI_SUPPORT_ROTATION
GUI_USE_BIDI2
GUI_MEMCPY
GUI_CONFDEFAULTS_H
GUI_USE_MIXCOLORS
LCD_MAX_LOG_COLORS
LCD_YMAG
LCD_XMAG
GUI_USE_MEMDEV_1BPP_FOR_SCREEN
GUI_BIDI_MAX_CHARS_PER_LINE
GUI_CURSOR_LAYER
GUI_ALLOC_DATATYPE_U
GUI_MAX_XBF_BYTES
GUI_MEMSET
GUI_MEMDEV_CLIP_AT_PARENT