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

📄 gui.h

📁 我学习AVR的代码例子
💻 H
字号:

#ifndef GUI_H
#define GUI_H

#ifndef TRUE
#define TRUE  1
#endif

#ifndef FALSE
#define FALSE 0
#endif

typedef unsigned char  uint8;                   //无符号8位整型变量 
typedef signed   char  int8;                    //有符号8位整型变量
typedef unsigned int   uint16;                  //无符号16位整型变量
typedef signed   int   int16;                   //有符号16位整型变量
typedef unsigned long  uint32;                  //无符号32位整型变量
typedef signed   long  int32;                   //有符号32位整型变量
typedef float          fp32;                    //单精度浮点数(32位长度)
typedef double         fp64;                    //双精度浮点数(64位长度)


#ifndef NULL
#define NULL    ((void*)0)     // changed from char* 93.01.21 ICLM 
#endif

#define GB_16
#define ASC_16
#define GB_24
#define ASC_24
#define GB_12
#define ASC_12

/* 定义颜色数据类型(可以是数据结构) */
#define  TCOLOR				uint8 

/* 定义LCM像素数宏 */
#define  GUI_LCM_XMAX		320	//   定义液晶x轴的像素数 *
#define  GUI_LCM_YMAX		240	//   定义液晶y轴的像素数 *

#include <HZ.h>

#define T6963
#ifdef SED1335
#include    <SED1335.h>//在这里定义显示屏型号
#endif

#ifdef T6963
#include    <T6963.h>
#endif

//应用程序配置 
//以下根据需要改动

#include    <GUI_CONFIG.H>
#include    <GUI_BASIC.H>
#include    <GUI_STOCKC.H>
#include    <FONT_MACRO.H>
#include    <FONT5_7.H>
#include    <FONT8_8.H>
#include    <FONT24_32.H>
#include    <LOADBIT.H>
#include    <WINDOWS.H>
#include    <MENU.H>

//#define spline
#ifdef spline
#include    <SPLINE.H>
#endif

#endif

⌨️ 快捷键说明

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