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

📄 menu.h

📁 基于h323协议的软phone
💻 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 + -