EasyGUI
gui_config_default.h
1 
6 /*
7  * Copyright (c) 2019 Tilen MAJERLE
8  *
9  * Permission is hereby granted, free of charge, to any person
10  * obtaining a copy of this software and associated documentation
11  * files (the "Software"), to deal in the Software without restriction,
12  * including without limitation the rights to use, copy, modify, merge,
13  * publish, distribute, sublicense, and/or sell copies of the Software,
14  * and to permit persons to whom the Software is furnished to do so,
15  * subject to the following conditions:
16  *
17  * The above copyright notice and this permission notice shall be
18  * included in all copies or substantial portions of the Software.
19  *
20  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
22  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE
23  * AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
24  * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
25  * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
26  * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
27  * OTHER DEALINGS IN THE SOFTWARE.
28  *
29  * This file is part of EasyGUI library.
30  *
31  * Author: Tilen Majerle <tilen@majerle.eu>
32  */
33 #ifndef GUI_HDR_CONFIG_DEFAULT_H
34 #define GUI_HDR_CONFIG_DEFAULT_H
35 
45 #ifndef GUI_CFG_OS
46 #define GUI_CFG_OS 1
47 #endif
48 
52 #ifndef GUI_CFG_USE_TOUCH
53 #define GUI_CFG_USE_TOUCH 1
54 #endif
55 
59 #ifndef GUI_CFG_USE_KEYBOARD
60 #define GUI_CFG_USE_KEYBOARD 0
61 #endif
62 
68 #ifndef GUI_CFG_USE_UNICODE
69 #define GUI_CFG_USE_UNICODE 0
70 #endif
71 
75 #ifndef GUI_CFG_TOUCH_BUFFER_SIZE
76 #define GUI_CFG_TOUCH_BUFFER_SIZE 10
77 #endif
78 
84 #ifndef GUI_CFG_TOUCH_MAX_PRESSES
85 #define GUI_CFG_TOUCH_MAX_PRESSES 2
86 #endif
87 
91 #ifndef GUI_CFG_KEYBOARD_BUFFER_SIZE
92 #define GUI_CFG_KEYBOARD_BUFFER_SIZE 10
93 #endif
94 
102 #ifndef GUI_CFG_WIDGET_GRAPH_DATA_AUTO_INVALIDATE
103 #define GUI_CFG_WIDGET_GRAPH_DATA_AUTO_INVALIDATE 1
104 #endif
105 
115 #ifndef GUI_CFG_WIDGET_INSIDE_PARENT
116 #define GUI_CFG_WIDGET_INSIDE_PARENT 0
117 #endif
118 
124 #ifndef GUI_CFG_USE_TRANSLATE
125 #define GUI_CFG_USE_TRANSLATE 1
126 #endif
127 
133 #ifndef GUI_CFG_USE_MEM
134 #define GUI_CFG_USE_MEM 1
135 #endif
136 
146 #ifndef GUI_CFG_MEM_ALIGNMENT
147 #define GUI_CFG_MEM_ALIGNMENT 4
148 #endif
149 
155 #ifndef GUI_CFG_USE_ALPHA
156 #define GUI_CFG_USE_ALPHA 0
157 #endif
158 
178 #ifndef GUI_CFG_USE_POS_SIZE_CACHE
179 #define GUI_CFG_USE_POS_SIZE_CACHE 0
180 #endif
181 
212 #ifndef GUI_CFG_WIDGET_CREATE_IGNORE_INVALIDATE
213 #define GUI_CFG_WIDGET_CREATE_IGNORE_INVALIDATE 0
214 #endif
215 
222 #ifndef GUI_CFG_LONG_CLICK_TIMEOUT
223 #define GUI_CFG_LONG_CLICK_TIMEOUT 1500
224 #endif
225 
226 #ifndef GUI_CFG_SYS_PORT
227 #define GUI_CFG_SYS_PORT GUI_SYS_PORT_CMSIS_OS
228 #endif
229 
234 #endif /* GUI_HDR_CONFIG_DEFAULT_H */