playgif.h

来自「基于minigui开发的一套图形控件系统」· C头文件 代码 · 共 54 行

H
54
字号
//

// $Id: playgif.h,v 1.2 2005/01/20 04:13:16 tangjb Exp $

//

// static.h: the head file of Static Control module.

//

// Copyright (c) 2004, Gao Laihong.

//

// Create date: 2004/01/05

//



#ifndef GUI_PLAYGIF_H

#define GUI_PLAYGIF_H



#include "ebgif.h"



#ifdef  __cplusplus

extern  "C" {

#endif



/**

 * \def CTRL_PLAYGIF

 * \brief The class name of static control.

 */



#define GFM_NEXTIMAGE			0xF0F0	

#define GFM_GETTIMES		  	0xF0F1



typedef struct tagPlayGifCtrlData

{

	DWORD		status;		//控键状态

	PGIFBITMAP 	gifData;	//gif数据

	char *  	bkfile;		//背景图名

	int 		gifx;		//gif动画在控键中的x 位置

	int 		gify;		//gif动画在控键中的y 位置

	BITMAP 		nmbmp;		//若是风格为GFS_BKSAVEBITMAP,用来保存图片句柄

	BITMAP		fsbmp;		//若是风格为GFS_BKSAVEBITMAP,用来保存图片句柄

}PLAYGIFCTRLDATA;

typedef PLAYGIFCTRLDATA * PPLAYGIFCTRLDATA;



    /**

     * \defgroup ctrl_static_styles Styles of static control

     * @{

     */

     

BOOL RegisterPlayGifControl (void);

void PlayGifControlCleanup (void);



#ifdef __cplusplus

}

#endif  /* __cplusplus */



#endif  /* GUI_PLAYGIF_H */



⌨️ 快捷键说明

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