⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 helper.h

📁 墨香最新私服
💻 H
字号:
//////////////////////////////////////////////
// 1. AnimationÀ» °¡´ÉÇÏ°Ô ¸¸µé°ÍÀÓ. (ÇöÀç ÇÑÀå Å×½ºÆ®)
// 
//////////////////////////////////////////////
#ifndef _HELPER_
#define _HELPER_

#include "./interface/cAni.h"
#include "./interface/cDialog.h"


enum HELPER_MOTION {

	emHM_Stand,
	emHM_MAX,
};

class cHelper : public cDialog // WindowId µî·Ï ÇØ ³õ´Â´Ù.
{
protected:
	cAni	m_MotionList[emHM_MAX];	// µ¿ÀÛ ¸®½ºÆ®
	WORD	m_wCurMotion;			// ÇöÀç µ¿ÀÛ


	DWORD	m_dwStartTime;
	DWORD	m_dwGreetTime;
	DWORD	m_dwCurTime;

	BOOL	m_bGreetCheck;

public:
	cHelper();
	virtual ~cHelper();

	virtual void Render();
	virtual DWORD ActionEvent(CMouse * mouseInfo);
	void AddSprite( WORD wIdx, cImage* sprite, WORD delay );
	void SetMaxSprite( WORD wIdx, int nMaxNum );

	void SetMotion( HELPER_MOTION Idx );
	WORD GetMotion() { return m_wCurMotion; }

	void SetStartTime(DWORD time) { m_dwStartTime = m_dwCurTime = time; m_bGreetCheck = TRUE; }
	void SetGreetTime(DWORD time) { m_dwGreetTime = time; }
	DWORD GetGreetTime() { return m_dwGreetTime; }
	
	BOOL IsGreetCheck() { return m_bGreetCheck; }
	void StopGreetCheck() { m_bGreetCheck = FALSE; }
};

#endif //_HELPER_

⌨️ 快捷键说明

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