1 Star 0 Fork 1

houwentaoff/cgic

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
page.h 1.38 KB
一键复制 编辑 原始数据 按行查看 历史
housir 提交于 2014-09-05 17:27 +08:00 . [FEA] Implement the view_page.
/*
* =====================================================================================
* Copyright (c), 2013-2020, Goke.
* Filename: page.h
*
* Description:
* Others:
*
* Version: 1.0
* Date: 2014/8/26 19:34:15
* Revision: none
* Compiler: xxx-gcc
*
* Author: Sean Hou , houwentaoff@gmail.com
* Organization: Goke
* History: Created by housir
*
* =====================================================================================
*/
#ifndef __PAGE_H__
#define __PAGE_H__
#define LABEL_OPTION_LEN 32
typedef struct {
unsigned int value;/* usually increase */
// char option[LABEL_OPTION_LEN];
char *label;//[LABEL_OPTION_LEN];
}option_t;
typedef struct {
char *label;/*label name */
char *name;/*label 'for name', select id*/
union {
char *name;
char *id;
}bind;
option_t *options;
int option_num;
unsigned int selected;/* selected value*/
char *action;
}select_Label_t;
typedef enum input_type{
BUTTON=0,
}input_type_e;
typedef struct {
char *id;
input_type_e type;
char *value;
char *action;
/*no use*/
char *name;
char *exprop;
}input_t;
extern int view_page();
extern int enc_page();
extern int pm_page();
extern int osd_page();
extern int sys_page();
#endif//__PAGE_H__
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/houwentaoff/cgic.git
git@gitee.com:houwentaoff/cgic.git
houwentaoff
cgic
cgic
master

搜索帮助