?? menu.h
字號:
/***************************************************************************
*
* Module: StatusMachine.h
*
* Description:
*
* Author: chenjian
*
* Copyright 1999, BEP Technologies, Inc., All rights reserved
*
*
* Change Log:
*
* Date By Description
* ========== =========== ==========================================
* 10/20/2003 chenjian Created
*
***************************************************************************/
#ifndef __MENU_H__
#define __MENU_H__
#include "task.h"
#ifdef __cplusplus
extern "C" {
#endif
#define LCD_ROW_NUM 2
typedef struct s_menuE
{
char* strName;
/*char* strMemo;*/
f_act funcAction;
} s_menuE;
typedef struct s_point
{
struct s_point* up;
struct s_point* down;
struct s_point* father;
struct s_point* son;
struct s_menuE* menu;
} s_point;
typedef struct s_menu
{
int iShow;
int iDis;
s_point* pCur;
s_point* pRoot;
} s_menu;
extern void initPoint(s_point* p);
extern void clearMenuMen(s_menu* pMenu);
extern void clearPointMem(s_point* p);
extern int menuAction(s_event* psEvent, s_task* psTask);
extern int resetMenuAct(s_task* psTask);
extern int clearMenuAct(s_task* psTask);
#ifdef __cplusplus
}
#endif
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -