123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- /* Copyright (c) 2002-2012 Croteam Ltd.
- This program is free software; you can redistribute it and/or modify
- it under the terms of version 2 of the GNU General Public License as published by
- the Free Software Foundation
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License along
- with this program; if not, write to the Free Software Foundation, Inc.,
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
- #if !defined(AFX_DLGPGTEXTURE_H__00278253_91BC_11D2_8478_004095812ACC__INCLUDED_)
- #define AFX_DLGPGTEXTURE_H__00278253_91BC_11D2_8478_004095812ACC__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // DlgPgTexture.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CDlgPgTexture dialog
- class CDlgPgTexture : public CPropertyPage
- {
- DECLARE_DYNCREATE(CDlgPgTexture)
- // Construction
- public:
- CDlgPgTexture();
- ~CDlgPgTexture();
- BOOL OnIdle(LONG lCount);
- CViewTexture m_wndViewTexture;
- CUpdateableRT m_udTextureData;
- // Dialog Data
- //{{AFX_DATA(CDlgPgTexture)
- enum { IDD = IDD_PG_TEXTURE };
- CCtrlEditBoolean m_checkAfterShadow;
- CColoredButton m_ctrlCombineColor;
- CComboBox m_comboBlend;
- CCtrlEditBoolean m_checkReflective;
- CCtrlEditBoolean m_checkClampV;
- CCtrlEditBoolean m_checkClampU;
- CComboBox m_comboScroll;
- CString m_strTextureFile;
- float m_fOffsetV;
- float m_fOffsetU;
- int m_radioTexture;
- float m_fRotationU;
- float m_fRotationV;
- float m_fStrength;
- float m_fStretchU;
- float m_fStretchV;
- CString m_strTextureDim;
- //}}AFX_DATA
-
- BOOL m_bOffsetV;
- BOOL m_bOffsetU;
- BOOL m_bRotationU;
- BOOL m_bRotationV;
- BOOL m_bStrength;
- BOOL m_bStretchU;
- BOOL m_bStretchV;
- // Overrides
- // ClassWizard generate virtual function overrides
- //{{AFX_VIRTUAL(CDlgPgTexture)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- // Generated message map functions
- //{{AFX_MSG(CDlgPgTexture)
- afx_msg void OnBrowseTexture();
- afx_msg void OnRadioTexture();
- afx_msg void OnTexture2();
- afx_msg void OnTexture3();
- afx_msg void OnRemoveTexture();
- afx_msg void OnSelchangeScrollCombo();
- virtual BOOL OnInitDialog();
- afx_msg void OnDropFiles(HDROP hDropInfo);
- afx_msg void OnSelchangeBlendType();
- afx_msg void OnDropdownScrollCombo();
- afx_msg void OnDropdownBlendType();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DLGPGTEXTURE_H__00278253_91BC_11D2_8478_004095812ACC__INCLUDED_)
|