switchmodestruct.h

来自「可以学习」· C头文件 代码 · 共 52 行

H
52
字号
/*-----------------------------------------------------------------------
*
* Filename     : SwitchModeStruct.h
* Project name : part of the Menu of GUI part of hyctron 
*
* Copyright 2006 Hyctron Electronic Design House,
* "Hyctron Electronic Design House" Shanghai, China.
* All rights are reserved. Reproduction in whole or in part is prohibited
* without the prior written consent of the copyright owner.
*
* Rev   Date    Author          Comments
*      (yymmdd)
* -----------------------------------------------------------------------
* 001   040114  HYCZJ		Primary version 
* -----------------------------------------------------------------------
*
*  This source file contains the menu struction infomation 
*
-------------------------------------------------------------------------*/
#ifndef _SWITCHMODE_STRUCT_H_ 
#define _SWITCHMODE_STRUCT_H_

#ifdef __cplusplus
extern "C"
{
#endif


/*--------------------------------------------------------------------------
*INCLUDES
--------------------------------------------------------------------------*/
#include "hyTypes.h"

/*--------------------------------------------------------------------------
*DEFINES
--------------------------------------------------------------------------*/
#define cSWITCHMODE_HAVE_CHILD		(0x80)//该目录含有目录项
#define cSWITCHMODE_NO_CHILD		(0x00)//该目录没有目录项

#define SWITCHMODE_MAINITEM_COUNT	12
#define SWITCHMODE_VIDICON_COUNT    2
#define SWITCHMODE_CAMERA_COUNT     2
#define SWITCHMODE_LEARN_ITEMNUM	9
#define SWITCHMODE_EXTEND_ITEMNUM	9

#define cSWITCHMODE_ITEM_NUM		(SwitchMode_Id_Internet+1)	//this is the total switchmode number

/*--------------------------------------------------------------------------
* Variable ,constant or function
--------------------------------------------------------------------------*/
//学习机序号定义,高4位代表学习机在主菜单中的序号
//0.卡拉OK ,1.电子书

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?