uitimepanel.h

来自「一个PDA GUI系统的源码」· C头文件 代码 · 共 57 行

H
57
字号
/*********************************************************************/
//	文 件 名:	uiTimepanel.h
//	程序说明:	Timepanel控件
//	程序设计:	党德华
//				2001.11.05		设计完成		说明文档:R004-S215-0001
//	程序审查:	宋军霞
//				2002.01.22		审查完成		说明文档:R004-S215-0001
//	项目编号:	R004-S215
//	版	  本:	V1.0
//	版    权:	Reality Plus Technology (ShenZhen) Co.,Ltd.
/*********************************************************************/
#ifndef _GUI_TIMEPANEL_H_
#define _GUI_TIMEPANEL_H_

#include <typedefine.h>

#define _DEBUG_TIMEPANEL		0

/** style format **/
#define TIMEPANEL_NO_APM        0x0001
#define TIMEPANEL_NO_SEC        0x0002
#define TIMEPANEL_NO_MIN        0x0004
#define TIMEPANEL_NO_HOUR       0x0008
#define TIMEPANEL_24HR          0x0010        //24小时制

#define TIMEPANEL_APM        	0x0000
#define TIMEPANEL_SEC        	0x0000
#define TIMEPANEL_MIN        	0x0000
#define TIMEPANEL_HOUR			0x0000
#define TIMEPANEL_12HR          0x0000        //12小时制

#define TIMEPANEL_OK			1
#define TIMEPANEL_CANCLE		0

typedef struct 	tagGuiTimePanel
{
	WORD 	hour;			//初始时间
	WORD 	min;
	WORD 	sec;                   

	WORD 	interval_hour;
	WORD 	interval_min;
	WORD 	interval_sec;
    
    WORD 	style;
}TGuiTimePanel;

/*********************************************************************/
//para: tiempanel coordinate ,struce refer to uiTimepanel.h and title
//dest: popup the timepanel dialog
//return:
//cancel: 0
//confirm: 1
/*********************************************************************/
DLL_EXP(int) guiTimePanel_Popup(WORD left,WORD top,TGuiTimePanel *time,const char *caption);

#endif

⌨️ 快捷键说明

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