DlgPgTexture.h 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  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. #if !defined(AFX_DLGPGTEXTURE_H__00278253_91BC_11D2_8478_004095812ACC__INCLUDED_)
  13. #define AFX_DLGPGTEXTURE_H__00278253_91BC_11D2_8478_004095812ACC__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // DlgPgTexture.h : header file
  18. //
  19. /////////////////////////////////////////////////////////////////////////////
  20. // CDlgPgTexture dialog
  21. class CDlgPgTexture : public CPropertyPage
  22. {
  23. DECLARE_DYNCREATE(CDlgPgTexture)
  24. // Construction
  25. public:
  26. CDlgPgTexture();
  27. ~CDlgPgTexture();
  28. BOOL OnIdle(LONG lCount);
  29. CViewTexture m_wndViewTexture;
  30. CUpdateableRT m_udTextureData;
  31. // Dialog Data
  32. //{{AFX_DATA(CDlgPgTexture)
  33. enum { IDD = IDD_PG_TEXTURE };
  34. CCtrlEditBoolean m_checkAfterShadow;
  35. CColoredButton m_ctrlCombineColor;
  36. CComboBox m_comboBlend;
  37. CCtrlEditBoolean m_checkReflective;
  38. CCtrlEditBoolean m_checkClampV;
  39. CCtrlEditBoolean m_checkClampU;
  40. CComboBox m_comboScroll;
  41. CString m_strTextureFile;
  42. float m_fOffsetV;
  43. float m_fOffsetU;
  44. int m_radioTexture;
  45. float m_fRotationU;
  46. float m_fRotationV;
  47. float m_fStrength;
  48. float m_fStretchU;
  49. float m_fStretchV;
  50. CString m_strTextureDim;
  51. //}}AFX_DATA
  52. BOOL m_bOffsetV;
  53. BOOL m_bOffsetU;
  54. BOOL m_bRotationU;
  55. BOOL m_bRotationV;
  56. BOOL m_bStrength;
  57. BOOL m_bStretchU;
  58. BOOL m_bStretchV;
  59. // Overrides
  60. // ClassWizard generate virtual function overrides
  61. //{{AFX_VIRTUAL(CDlgPgTexture)
  62. public:
  63. virtual BOOL PreTranslateMessage(MSG* pMsg);
  64. protected:
  65. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  66. //}}AFX_VIRTUAL
  67. // Implementation
  68. protected:
  69. // Generated message map functions
  70. //{{AFX_MSG(CDlgPgTexture)
  71. afx_msg void OnBrowseTexture();
  72. afx_msg void OnRadioTexture();
  73. afx_msg void OnTexture2();
  74. afx_msg void OnTexture3();
  75. afx_msg void OnRemoveTexture();
  76. afx_msg void OnSelchangeScrollCombo();
  77. virtual BOOL OnInitDialog();
  78. afx_msg void OnDropFiles(HDROP hDropInfo);
  79. afx_msg void OnSelchangeBlendType();
  80. afx_msg void OnDropdownScrollCombo();
  81. afx_msg void OnDropdownBlendType();
  82. //}}AFX_MSG
  83. DECLARE_MESSAGE_MAP()
  84. };
  85. //{{AFX_INSERT_LOCATION}}
  86. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  87. #endif // !defined(AFX_DLGPGTEXTURE_H__00278253_91BC_11D2_8478_004095812ACC__INCLUDED_)