// FallTool.hpp: interface for the FallToolPanel class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_FALLTOOL_HPP__083B9FC6_1396_11D3_915D_00609712FBEF__INCLUDED_) #define AFX_FALLTOOL_HPP__083B9FC6_1396_11D3_915D_00609712FBEF__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #ifndef __AFXWIN_H__ #error include 'stdafx.h' before including this file for PCH #endif #ifdef STRICT // Already defined by stdafx, #undef STRICT // so we avoid warning linking msg #endif #ifdef _MBCS // The same as above #undef _MBCS #endif class FallToolPanel; #include "AnimationSuite.h" #ifndef __FALLTOOL__ #define __FALLTOOL__ class FallToolPanel : public UtilityObj { protected: HINSTANCE m_hInstance; IUtil* m_iu; HWND m_hPanel; public: enum {FALL_LEFT,FALL_RIGHT,FALL_BACK}; Interface* m_ip; int m_iFallType; FallToolPanel() : m_iFallType(FALL_RIGHT) {} virtual ~FallToolPanel() {} // Overides of the UtilityObj class void BeginEditParams(Interface* ip, IUtil* iu); void EndEditParams(Interface* ip, IUtil* iu); void DeleteThis() {} void Init(HWND hWnd); void Destroy(HWND hWnd); // Specific functions int ExecuteFallTool(); }; #endif #endif // !defined(AFX_FALLTOOL_HPP__083B9FC6_1396_11D3_915D_00609712FBEF__INCLUDED_) ///////////////////////////////////////////////////////////////////////////// // FallToolPanel dialog