Serious-Engine/Sources/WorldEditor/DlgPgTexture.h

106 lines
2.8 KiB
C
Raw Normal View History

2016-03-12 01:20:51 +01:00
/* 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. */
2016-03-11 14:57:17 +01:00
#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_)