📄 playgif.h
字号:
//
// $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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -