guitype.h
来自「uCGUI」· C头文件 代码 · 共 63 行
H
63 行
/*************************************************************************************************************
uC/GUI
嵌入式通用图形软件
文 件: GUIType.H
描 述: Include file define the types used for GUI
Attention : 不要修改此文件! 如果你这样做,你将无法更新到版本emWin !
*************************************************************************************************************/
#ifndef GUITYPE_H_INCLUDED
#define GUITYPE_H_INCLUDED
#include "LCD.H"
/*************************************************************************************************************
* Simple types
*************************************************************************************************************/
typedef const char *GUI_ConstString;
typedef GUI_ConstString GUI_aConstString[];
/*************************************************************************************************************
* Structures
*************************************************************************************************************/
typedef LCD_COLOR GUI_COLOR;
typedef LCD_LOGPALETTE GUI_LOGPALETTE;
typedef LCD_DRAWMODE GUI_DRAWMODE;
typedef LCD_RECT GUI_RECT;
typedef struct
{
U16P XSize;
U16P YSize;
U16P BytesPerLine;
U16P BitsPerPixel;
const U8* pData;
const GUI_LOGPALETTE* pPal;
tfDrawSpecialBitmap* pfDraw;
} GUI_BITMAP;
/*************************************************************************************************************
This structure may not be changed because the data that it
expects is read in binary form (via any kind of interface,
at runtime).
This structure should therefor not be changed.
*************************************************************************************************************/
typedef struct
{
U16 ID; /* Version 1.00 => 100*/
U16 Version;
U16 XSize;
U16 YSize;
U16 BytesPerLine;
U16 BitsPerPixel;
U16 NumColors;
U16 HasTrans;
} GUI_BITMAP_STREAM;
/*************************************************************************************************************
* FONT structures (new in V1.10) *
*************************************************************************************************************/
/*************************************************************************************************************
Translation list. Translates a character code into up to 2
indices of images to display on top of each other;
'
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?