Select one of the symbols to view example projects that use it.
 
Outline
#include "GUI.h"
#include "GUIDEMO.h"
#include "GUI_VNC.h"
_apfTest
GUIDEMO_Config(GUIDEMO_CONFIG *)
Files
loading...
CodeScopeSTM32 Libraries and SamplesSTemWin_SampleDemoSTemWin/App/GUIDEMO_Conf.c
 
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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/********************************************************************* * Portions COPYRIGHT 2016 STMicroelectronics * * Portions SEGGER Microcontroller GmbH & Co. KG * * Solutions for real time microcontroller applications * ********************************************************************** * * * (c) 1996 - 2015 SEGGER Microcontroller GmbH & Co. KG * * * * Internet: www.segger.com Support: support@segger.com * * * ********************************************************************** ** emWin V5.28 - 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. ---------------------------------------------------------------------- File : GUIDEMO_Conf.c Purpose : Runtime configurability of the GUIDEMO ---------------------------------------------------------------------- *//* ... */ /** ****************************************************************************** * @file GUIDEMO_Conf.c * @author MCD Application Team * @brief Runtime configurability of the GUIDEMO ****************************************************************************** * @attention * * Copyright (c) 2017 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /********************************************************************* * * Includes * ********************************************************************** *//* ... */ #include "GUI.h" #include "GUIDEMO.h" #if GUIDEMO_USE_VNC #include "GUI_VNC.h" #endif /********************************************************************* * * Routine table *//* ... */ static void (* _apfTest[])(void) = { #if (SHOW_GUIDEMO_SPEEDOMETER && GUI_SUPPORT_MEMDEV) GUIDEMO_Speedometer, #endif #if (SHOW_GUIDEMO_ZOOMANDROTATE && GUI_WINSUPPORT && GUI_SUPPORT_MEMDEV) GUIDEMO_ZoomAndRotate, #endif #if (SHOW_GUIDEMO_RADIALMENU && GUI_WINSUPPORT) GUIDEMO_RadialMenu, #endif #if (SHOW_GUIDEMO_SKINNING && GUI_WINSUPPORT && GUI_SUPPORT_MEMDEV) GUIDEMO_Skinning, #endif #if (SHOW_GUIDEMO_BARGRAPH && GUI_SUPPORT_MEMDEV) GUIDEMO_BarGraph, #endif #if (SHOW_GUIDEMO_FADING && GUI_SUPPORT_MEMDEV) GUIDEMO_Fading, #endif #if SHOW_GUIDEMO_AATEXT GUIDEMO_AntialiasedText, #endif #if (SHOW_GUIDEMO_TRANSPARENTDIALOG && GUI_WINSUPPORT && GUI_SUPPORT_MEMDEV) GUIDEMO_TransparentDialog, #endif #if (SHOW_GUIDEMO_WASHINGMACHINE && GUI_WINSUPPORT && GUI_SUPPORT_MEMDEV) GUIDEMO_WashingMachine, #endif #if (SHOW_GUIDEMO_ICONVIEW && GUI_WINSUPPORT && GUI_SUPPORT_MEMDEV) GUIDEMO_IconView, #endif #if (SHOW_GUIDEMO_IMAGEFLOW && GUI_WINSUPPORT && GUI_SUPPORT_MEMDEV) GUIDEMO_ImageFlow, #endif #if (SHOW_GUIDEMO_TREEVIEW && GUI_WINSUPPORT) GUIDEMO_Treeview, #endif #if (SHOW_GUIDEMO_LISTVIEW && GUI_WINSUPPORT) GUIDEMO_Listview, #endif #if SHOW_GUIDEMO_VSCREEN GUIDEMO_VScreen, #endif #if (SHOW_GUIDEMO_GRAPH && GUI_SUPPORT_MEMDEV) GUIDEMO_Graph, #endif #if SHOW_GUIDEMO_SPEED GUIDEMO_Speed, #endif #if SHOW_GUIDEMO_BITMAP GUIDEMO_Bitmap, #endif #if (SHOW_GUIDEMO_CURSOR && GUI_SUPPORT_CURSOR && GUI_SUPPORT_TOUCH) GUIDEMO_Cursor, #endif #if SHOW_GUIDEMO_COLORBAR GUIDEMO_ColorBar, #endif #if (SHOW_GUIDEMO_AUTOMOTIVE && GUI_SUPPORT_MEMDEV) GUIDEMO_Automotive, #endif 0 ...}; /********************************************************************* * * GUIDEMO_Config *//* ... */ void GUIDEMO_Config(GUIDEMO_CONFIG * pConfig) { pConfig->apFunc = _apfTest; pConfig->NumDemos = GUI_COUNTOF(_apfTest); pConfig->Flags = GUIDEMO_CF_SHOW_SPRITES | GUIDEMO_CF_USE_VNC | GUIDEMO_CF_USE_AUTO_BK; #if GUIDEMO_USE_VNC pConfig->pGUI_VNC_X_StartServer = GUI_VNC_X_StartServer; #endif }{ ... }