windowinterpolatordialog.h

来自「骨骼动画....把魔兽模型解出的代码..」· C头文件 代码 · 共 56 行

H
56
字号
//+-----------------------------------------------------------------------------
//| Inclusion guard
//+-----------------------------------------------------------------------------
#ifndef MAGOS_WINDOW_INTERPOLATOR_DIALOG_H
#define MAGOS_WINDOW_INTERPOLATOR_DIALOG_H


//+-----------------------------------------------------------------------------
//| Included files
//+-----------------------------------------------------------------------------
#include "WindowDialog.h"
#include "Model.h"


//+-----------------------------------------------------------------------------
//| Interpolator dialog window class
//+-----------------------------------------------------------------------------
class WINDOW_INTERPOLATOR_DIALOG : public WINDOW_DIALOG
{
	public:
		CONSTRUCTOR WINDOW_INTERPOLATOR_DIALOG();
		DESTRUCTOR ~WINDOW_INTERPOLATOR_DIALOG();

		BOOL Display(HWND ParentWindow, INTERPOLATOR& Data, CONST std::string& Title) CONST;

	protected:
		static BOOL CALLBACK DialogMessageHandler(HWND Window, UINT Message, WPARAM W, LPARAM L);

		static VOID BuildGlobalSequenceIdList(HWND Window);

		static VOID BuildList(HWND ListBox);
		static BOOL RetrieveList(HWND ListBox);

		static VOID BuildVector(std::stringstream& Stream, CONST D3DXVECTOR4& Vector);
		static BOOL RetrieveVector(std::stringstream& Stream, D3DXVECTOR4& Vector);
		static BOOL ExpectChar(std::stringstream& Stream, CHAR Char);

		static INTERPOLATOR StaticData;
		static MODEL_GLOBAL_SEQUENCE* StaticGlobalSequence;
		static std::string StaticTitle;

		static HFONT StaticFont;
};


//+-----------------------------------------------------------------------------
//| Global objects
//+-----------------------------------------------------------------------------
extern WINDOW_INTERPOLATOR_DIALOG InterpolatorDialog;


//+-----------------------------------------------------------------------------
//| End of inclusion guard
//+-----------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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