/********************************************************************** Portions COPYRIGHT(c) 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 thesource code may not be used to write a similar product. This file mayonly be used in accordance with the following terms:The software has been licensed to STMicroelectronics InternationalN.V. a Dutch company with a Swiss branch and its headquarters in Plan-les-Ouates, Geneva, 39 Chemin du Champ des Filles, Switzerland for thepurposes 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.comWe appreciate your understanding and fairness.----------------------------------------------------------------------File : GUIDEMO.hPurpose : Configuration file of GUIDemo----------------------------------------------------------------------*//* ... *//** ****************************************************************************** * @file GUIDEMO.c * @author MCD Application Team * @brief Configuration file of 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. * ****************************************************************************** *//* ... */#ifndefGUIDEMO_H#defineGUIDEMO_H#ifdefined(__cplusplus)extern"C"{/* Make sure we have C-declarations in C++ programs */#endif#include"GUI.h"#ifGUI_WINSUPPORT#include"WM.h"#include"CHECKBOX.h"#include"FRAMEWIN.h"#include"PROGBAR.h"#include"TEXT.h"#include"BUTTON.h"#include"SLIDER.h"#include"HEADER.h"#include"GRAPH.h"#include"ICONVIEW.h"#include"LISTVIEW.h"#include"TREEVIEW.h"/* ... */#endif/*********************************************************************** Defines************************************************************************//* ... */#defineCONTROL_SIZE_X80#defineCONTROL_SIZE_Y61#defineINFO_SIZE_Y65#defineBUTTON_SIZE_X32#defineBUTTON_SIZE_Y20#definePROGBAR_SIZE_X66#definePROGBAR_SIZE_Y12#defineTEXT_SIZE_X69#defineTEXT_SIZE_Y7#defineSHOW_PROGBAR_AT100#defineGUI_ID_HALT(GUI_ID_USER+0)#defineGUI_ID_NEXT(GUI_ID_USER+1)#defineBK_COLOR_00xFF5555#defineBK_COLOR_10x880000#defineNUMBYTES_NEEDED0x200000#defineCIRCLE_RADIUS100#defineLOGO_DIST_BORDER5#defineCHAR_READING_TIME8018 defines/*********************************************************************** Configuration of modules to be used************************************************************************//* ... */#ifndefSHOW_GUIDEMO_BITMAP#defineSHOW_GUIDEMO_BITMAP(1)#endif#ifndefSHOW_GUIDEMO_COLORBAR#defineSHOW_GUIDEMO_COLORBAR(1)#endif#ifndefSHOW_GUIDEMO_CURSOR#defineSHOW_GUIDEMO_CURSOR(1)#endif#ifndefSHOW_GUIDEMO_GRAPH#defineSHOW_GUIDEMO_GRAPH(1)#endif#ifndefSHOW_GUIDEMO_LISTVIEW#defineSHOW_GUIDEMO_LISTVIEW(1)#endif#ifndefSHOW_GUIDEMO_SPEED#defineSHOW_GUIDEMO_SPEED(1)#endif#ifndefSHOW_GUIDEMO_TREEVIEW#defineSHOW_GUIDEMO_TREEVIEW(1)#endif#ifndefSHOW_GUIDEMO_ICONVIEW#defineSHOW_GUIDEMO_ICONVIEW(1)#endif#ifndefSHOW_GUIDEMO_AUTOMOTIVE#defineSHOW_GUIDEMO_AUTOMOTIVE(1)#endif#ifndefSHOW_GUIDEMO_TRANSPARENTDIALOG#defineSHOW_GUIDEMO_TRANSPARENTDIALOG(1)#endif/*********************************************************************** Configuration macros************************************************************************//* ... */#ifndefGUIDEMO_SHOW_SPRITES#defineGUIDEMO_SHOW_SPRITES(1)#endif#ifndefGUIDEMO_USE_VNC#defineGUIDEMO_USE_VNC(0)#endif#ifndefGUIDEMO_USE_AUTO_BK#defineGUIDEMO_USE_AUTO_BK(1)#endif#defineGUIDEMO_CF_SHOW_SPRITES(GUIDEMO_SHOW_SPRITES<<0)#defineGUIDEMO_CF_USE_VNC(GUIDEMO_USE_VNC<<1)#defineGUIDEMO_CF_USE_AUTO_BK(GUIDEMO_USE_AUTO_BK<<2)/*********************************************************************** GUIDEMO_CONFIG*//* ... */typedefstructGUIDEMO_CONFIG{void(**apFunc)(void);intNumDemos;U16Flags;#ifGUIDEMO_USE_VNCint(*pGUI_VNC_X_StartServer)(intLayerIndex,intServerIndex);#endif...}GUIDEMO_CONFIG;/*********************************************************************** Internal functions************************************************************************//* ... */voidGUIDEMO_AddIntToString(char*acText,unsignedintNumber);voidGUIDEMO_AddStringToString(char*acText,constchar*acAdd);intGUIDEMO_CheckCancel(void);voidGUIDEMO_ClearText(char*acText);voidGUIDEMO_Config(GUIDEMO_CONFIG*pConfig);voidGUIDEMO_Delay(intt);voidGUIDEMO_DrawBk(intDrawLogo);U16GUIDEMO_GetConfFlag(U16Flag);intGUIDEMO_GetTime(void);voidGUIDEMO_HideControlWin(void);voidGUIDEMO_HideInfoWin(void);voidGUIDEMO_NotifyStartNext(void);voidGUIDEMO_SetDrawLogo(U8OnOff);voidGUIDEMO_ShowControlWin(void);voidGUIDEMO_ShowInfo(constchar*acInfo);voidGUIDEMO_ShowInfoWin(void);voidGUIDEMO_ShowIntro(constchar*acText,constchar*acDescription);voidGUIDEMO_UpdateControlText(void);voidGUIDEMO_Wait(intTimeWait);voidGUIDEMO_Main(void);/*********************************************************************** Demo modules************************************************************************//* ... */voidGUIDEMO_AntialiasedText(void);voidGUIDEMO_Automotive(void);voidGUIDEMO_BarGraph(void);voidGUIDEMO_Bitmap(void);voidGUIDEMO_ColorBar(void);voidGUIDEMO_Cursor(void);voidGUIDEMO_Fading(void);voidGUIDEMO_Graph(void);voidGUIDEMO_IconView(void);voidGUIDEMO_ImageFlow(void);voidGUIDEMO_Intro(void);voidGUIDEMO_Listview(void);voidGUIDEMO_RadialMenu(void);voidGUIDEMO_Skinning(void);voidGUIDEMO_Speed(void);voidGUIDEMO_Speedometer(void);voidGUIDEMO_TransparentDialog(void);voidGUIDEMO_Treeview(void);voidGUIDEMO_VScreen(void);voidGUIDEMO_WashingMachine(void);voidGUIDEMO_ZoomAndRotate(void);/*********************************************************************** Externs************************************************************************//* ... */externGUI_CONST_STORAGEGUI_BITMAPbmSTLogo;externGUI_CONST_STORAGEGUI_BITMAPbmSeggerLogo;externGUI_CONST_STORAGEGUI_BITMAPbmSeggerLogo70x35;externGUI_CONST_STORAGEGUI_BITMAPbmSTLogo70x35;externGUI_CONST_STORAGEGUI_FONTGUI_FontRounded16;externGUI_CONST_STORAGEGUI_FONTGUI_FontRounded22;externGUI_CONST_STORAGEGUI_FONTGUI_FontSouvenir18;externGUI_CONST_STORAGEGUI_FONTGUI_FontD6x8;externGUI_CONST_STORAGEGUI_FONTGUI_FontAA2_32;externGUI_CONST_STORAGEGUI_FONTGUI_FontAA4_32;#ifdefined(__cplusplus)}extern "C" { ... }#endif/* ... */#endif// avoid multiple inclusion
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.