⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 guidemo.h

📁 UCOSII在STM32平台的移植
💻 H
字号:
/*
*********************************************************************************************************
*                                                uC/GUI
*                        Universal graphic software for embedded applications
*
*                       (c) Copyright 2002, Micrium Inc., Weston, FL
*                       (c) Copyright 2002, SEGGER Microcontroller Systeme GmbH
*
*              礐/GUI 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 a license and should not be redistributed
*              in any way. We appreciate your understanding and fairness.
*
----------------------------------------------------------------------
File        : GUIDEMO.h
Purpose     : Multiple choice for emWin GSC
----------------------------------------------------------------------
*/


#ifndef GUIDEMO_H
#define GUIDEMO_H

//#include "LCD_ConfDefaults.h"
#include "..\GUIinc\LCD_ConfDefaults.h"  /* valid LCD configuration */


#if defined(__cplusplus)
extern "C"
{
   /* Make sure we have C-declarations in C++ programs */
#endif

   /*********************************************************************
   *
   *      GUIDEMO publics
   *
   *********************************************************************

     The following are the routines which are available to the
     demo modules.
   */

   void GUIDEMO_main(void);

   /*********************************************************************
   *
   *      GUIDEMO main routines
   *
   *********************************************************************

     The following are the routines which are available to the
     demo modules.
   */

   GUI_COLOR GUIDEMO_SetBkColor(GUI_COLOR Color);
   GUI_COLOR GUIDEMO_SetColor(GUI_COLOR Color);
   void GUIDEMO_Wait(void);
   int GUIDEMO_Delay(int t);
   void GUIDEMO_ShowIntro(const char* s, const char* sExplain);
   void GUIDEMO_ShowInfo(const char* sExplain);
   int GUIDEMO_CheckCancel(void);
   void GUIDEMO_NotifyStartNext(void);
   void GUIDEMO_HideInfoWin(void);
   int GUIDEMO_WaitKey(void);


   extern const GUI_BITMAP GUIDEMO_bm4bpp;


   /*********************************************************************
   *
   *      Demo modules
   *
   *********************************************************************

     The demo consists of different modules which are usually called
     by the main routine.
     The following are the declarations for the individual routines.
   */

   void GUIDEMO_Messagebox(void);
   void GUIDEMO_Dialog(void);
   void GUIDEMO_Cursor(void);
   void GUIDEMO_HardwareInfo(void);
   void GUIDEMO_Graph(void);
   void GUIDEMO_Automotive(void);
   void GUIDEMO_Bitmap(void);
   void GUIDEMO_Intro(void);
   void GUIDEMO_Navigation(void);
   void GUIDEMO_ShowMemoryDevice(void);
   void GUIDEMO_DemoBITMAPObj(void);
   void GUIDEMO_Circle(void);
   void GUIDEMO_Speed(void);
   void GUIDEMO_ShowInternationalFonts(void);
   void GUIDEMO_ShowColorBar(void);
   void GUIDEMO_ShowColorList(void);
   void GUIDEMO_DemoFrameWin(void);
   void GUIDEMO_DemoLISTBOX(void);
   void GUIDEMO_DemoWidgets(void);
   void GUIDEMO_DemoPolygon(void);
   void GUIDEMO_DemoProgBar(void);
   //void GUIDEMO_ShowUCMix(void);
   void GUIDEMO_DemoLISTBOX(void);
   void GUIDEMO_DemoFrameWin(void);
   void GUIDEMO_DemoLUT(void);
   void GUIDEMO_ModifyLUT(int RFaktor, int GFaktor, int BFaktor);
   void GUIDEMO_ShowColorList(void);
   void GUIDEMO_Touch(void);
   void GUIDEMO_WM(void);
   void GUIDEMO_MultiEdit(void);

   //extern const GUI_BITMAP bmemWinGSCLogo320x46;
   extern const GUI_BITMAP bmMicriumLogo;
   extern const GUI_BITMAP bmMicriumLogoWRed;

   /*********************************************************************
   *
   *      GUIDEMO defines
   *
   *********************************************************************
   */

#define GUIDEMO_LARGE ((LCD_XSIZE >= 240) && (LCD_YSIZE >= 200))
#define GUIDEMO_TINY  ((LCD_XSIZE <  140) || (LCD_YSIZE <  100))

#if defined(__cplusplus)
}
#endif

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -