ActiveTextureWnd.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. // ActiveTextureWnd.h : header file
  13. //
  14. #ifndef ACTIVETEXTUREWND_H
  15. #define ACTIVETEXTUREWND_H 1
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CActiveTextureWnd window
  18. class CActiveTextureWnd : public CWnd
  19. {
  20. // Construction
  21. public:
  22. CActiveTextureWnd();
  23. // Attributes
  24. public:
  25. CDrawPort *m_pDrawPort;
  26. CViewPort *m_pViewPort;
  27. COleDataSource m_DataSource;
  28. // Operations
  29. public:
  30. // Overrides
  31. // ClassWizard generated virtual function overrides
  32. //{{AFX_VIRTUAL(CActiveTextureWnd)
  33. //}}AFX_VIRTUAL
  34. // Implementation
  35. public:
  36. virtual ~CActiveTextureWnd();
  37. // Generated message map functions
  38. protected:
  39. //{{AFX_MSG(CActiveTextureWnd)
  40. afx_msg void OnPaint();
  41. afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
  42. afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
  43. afx_msg void OnDestroy();
  44. //}}AFX_MSG
  45. DECLARE_MESSAGE_MAP()
  46. };
  47. /////////////////////////////////////////////////////////////////////////////
  48. #endif // ACTIVETEXTUREWND_H