?? appinfo.h
字號:
/**************************************************************
* Copyright(C) 2003--2006
* Epson Electronic Technology Development (ShenZhen) co., LTD
* All rights reserved.
*
* File name: AppInfo.h
* Platform: VC++ simulator of EPSON GUI
* Author: David Cheng
* Dept: Electronic Enginerring Department
* Date: 02/26/2003
* Descriptions:applications management
* Modified:
*************************************************************/
#ifndef _SYS_APPINFO_H_
#define _SYS_APPINFO_H_
#ifdef __cplusplus
extern "C" {
#endif // __cplusplus
/**************** Micro Definition *****************************/
//
#define DM_MAX_APP_DESCRIPT_LEN 10 // 最大應用程序描述字段長度
#define DM_MAX_APPCLASS 6 // 最大應用程序類別
#define DM_MAX_CLASSAPP_NUM 6 // 最大的每個類別中應用程序數量
#if _DM_DYNAMIC_APP
// AP堆棧空間
#define DM_STACK_SIZE 0x10000 // 64K堆棧空間
#define DM_MAX_APPPATH 128 // 應用程序路徑的最大長度
#endif
#define DM_IDC_APPFIRST 2000 // 第一應用程序圖標按鈕的ID
// 位置排列
#define DM_APPFIRSTICON_X 20 // 第一個AP圖標的橫坐標
#define DM_APPFIRSTICON_Y 32 // 第一個AP圖標的縱坐標
#define DM_APPICON_WIDTH 48 // AP圖標寬度
#define DM_APPICON_HEIGHT 48 // AP圖標高度
#define DM_APPICON_XSPACE 30 // AP圖標的橫間距
#define DM_APPICON_YSPACE 20 // AP圖標的縱間距
// 應用程序類別(此處根據用戶自己的圖標含義自己定義)
#define DM_APPCLASS_CAM 0 //
#define DM_APPCLASS_BUS 1 //
#define DM_APPCLASS_NOTE 2 //
// 。。。。。。。
/**************** Structure Definition *****************************/
// 指定類別的應用程序信息
typedef struct {
BYTE Descript[DM_MAX_APP_DESCRIPT_LEN+1]; // 應用程序描述部分
POINT BeginPoint; // 顯示的開始位置
PVOID IconAddr; // 圖標的內存地址
#if _DM_DYNAMIC_APP
UCHAR AppPath[DM_MAX_APPPATH]; // AP的路徑
#endif
ULONG Reserve; // 系統保留
}APP_INFO, *P_APP_INFO;
/**************** extern function declaration *********************/
BOOL GetAppInfo( BYTE );
VOID InitAppInfo( VOID );
VOID ExecuteApp( P_APP_INFO );
#ifdef __cplusplus
}
#endif // __cplusplus
#endif // _SYS_APPINFO_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -