WndTestAnimation.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. // WndTestAnimation.h : header file
  13. //
  14. #ifndef WNDTESTANIMATION_H
  15. #define WNDTESTANIMATION_H 1
  16. class CDlgLightAnimationEditor;
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CWndTestAnimation window
  19. class CWndTestAnimation : public CWnd
  20. {
  21. // Construction
  22. public:
  23. CWndTestAnimation();
  24. inline void SetParentDlg( CDlgLightAnimationEditor *pParentDlg) {m_pParentDlg=pParentDlg;};
  25. // Attributes
  26. public:
  27. CAnimObject m_aoAnimObject;
  28. CDlgLightAnimationEditor *m_pParentDlg;
  29. int m_iTimerID;
  30. CDrawPort *m_pDrawPort;
  31. CViewPort *m_pViewPort;
  32. // Operations
  33. public:
  34. // Overrides
  35. // ClassWizard generated virtual function overrides
  36. //{{AFX_VIRTUAL(CWndTestAnimation)
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. public:
  40. virtual ~CWndTestAnimation();
  41. // Generated message map functions
  42. protected:
  43. //{{AFX_MSG(CWndTestAnimation)
  44. afx_msg void OnPaint();
  45. afx_msg void OnTimer(UINT nIDEvent);
  46. afx_msg void OnDestroy();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. };
  50. /////////////////////////////////////////////////////////////////////////////
  51. #endif // WNDTESTANIMATION_H