📄 button_api.h
字号:
# ifndef _BUTTON_API_H_
# define _BUTTON_API_H_
/*****************************************************************
* 声明库名称 按钮API头文件 *
* 版本: v0.01 *
* 作者: I ROBOT *
* 创建日期: Copyright (C) 2008年10月14日 *
*----------------------------------------------------------------*
* [支持库] *
* 支持库名称: *
* 支持库版本: *
* 支持库说明: *
*----------------------------------------------------------------*
* [版本更新] *
* 更新: I ROBOT *
* 更新日期: *
* 版本: *
*----------------------------------------------------------------*
* [版本历史] *
* v0.01 创建版本,添加了常用的数学函数 *
*----------------------------------------------------------------*
* [使用说明] *
* 1.直接调用库函数 *
*****************************************************************/
/********************
* 头 文 件 配 置 区 *
********************/
//# include "Draw_Layer_Algorithm.h"
# include "ASCII_Draw_API.h"
# include "Graphic_Algorithm.h"
/********************
* 系 统 宏 定 义 *
********************/
/********************
* 常 数 宏 定 义 *
********************/
/********************
* 动 作 宏 定 义 *
********************/
/********************
* 模块结构体定义区 *
********************/
typedef struct Button_Struct
{
UINT8 chCur_ID_Draw;
UINT8 chHead_x;
UINT8 chHead_y;
UINT8 chEnd_x;
UINT8 chEnd_y;
CHAR *Str;
}Button_Info;
/********************
* 函 数 声 明 区 *
********************/
extern void Creat_Button(Draw_Info *Queue,Button_Info *Button);
extern void Button_Reverse(Draw_Info *Queue,Button_Info *Button);
extern void Creat_Button_cn(Draw_Info *Queue,Button_Info *Button,
const UINT8 *Cn_Word,UINT16 *chPos_Buffer,UINT8 chWord_Num);
/********************
* 模块函数声明区 *
********************/
/********************
* 模块变量声明区 *
********************/
/********************
* 全局变量声明区 *
********************/
# endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -