dsrc isn't necessary for this repo
[client-tools.git] / src / external / 3rd / application / DXTex / dialogs.h
blob6a26924ae6974a35ab50551d696b1d0d65da27ad
1 // Dialogs.h : header file
2 //
3 #if !defined(AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_)
4 #define AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_
6 #if _MSC_VER > 1000
7 #pragma once
8 #endif // _MSC_VER > 1000
10 /////////////////////////////////////////////////////////////////////////////
11 // CNewTextureDlg dialog
13 class CNewTextureDlg : public CDialog
15 // Construction
16 public:
17 CNewTextureDlg(CWnd* pParent = NULL); // standard constructor
19 // Dialog Data
20 //{{AFX_DATA(CNewTextureDlg)
21 enum { IDD = IDD_NEWTEXTURE };
22 int m_iTexType;
23 int m_dwWidth;
24 int m_dwHeight;
25 int m_dwDepth;
26 int m_iFmt;
27 CString m_strFmtDesc;
28 int m_numMips;
29 D3DFORMAT m_fmt;
30 //}}AFX_DATA
33 // Overrides
34 // ClassWizard generated virtual function overrides
35 //{{AFX_VIRTUAL(CNewTextureDlg)
36 protected:
37 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
38 //}}AFX_VIRTUAL
40 // Implementation
41 protected:
43 // Generated message map functions
44 //{{AFX_MSG(CNewTextureDlg)
45 virtual BOOL OnInitDialog();
46 afx_msg void OnChangeTextureType();
47 afx_msg void OnChangeFormat();
48 virtual void OnOK();
49 //}}AFX_MSG
50 DECLARE_MESSAGE_MAP()
54 /////////////////////////////////////////////////////////////////////////////
55 // CCubeMapDlg dialog
57 class CCubeMapDlg : public CDialog
59 // Construction
60 public:
61 CCubeMapDlg(CWnd* pParent = NULL); // standard constructor
63 // Dialog Data
64 //{{AFX_DATA(CCubeMapDlg)
65 enum { IDD = IDD_CUBEMAP };
66 INT m_iFace;
67 //}}AFX_DATA
69 // Overrides
70 // ClassWizard generated virtual function overrides
71 //{{AFX_VIRTUAL(CCubeMapDlg)
72 protected:
73 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
74 //}}AFX_VIRTUAL
76 // Implementation
77 protected:
79 // Generated message map functions
80 //{{AFX_MSG(CCubeMapDlg)
81 // NOTE: the ClassWizard will add member functions here
82 //}}AFX_MSG
83 DECLARE_MESSAGE_MAP()
87 /////////////////////////////////////////////////////////////////////////////
88 // CVolumeMapDlg dialog
90 class CVolumeMapDlg : public CDialog
92 // Construction
93 public:
94 CVolumeMapDlg(CWnd* pParent = NULL); // standard constructor
96 // Dialog Data
97 //{{AFX_DATA(CVolumeMapDlg)
98 enum { IDD = IDD_VOLUMEMAP };
99 int m_powLayers;
100 //}}AFX_DATA
103 // Overrides
104 // ClassWizard generated virtual function overrides
105 //{{AFX_VIRTUAL(CVolumeMapDlg)
106 protected:
107 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
108 //}}AFX_VIRTUAL
110 // Implementation
111 protected:
113 // Generated message map functions
114 //{{AFX_MSG(CVolumeMapDlg)
115 // NOTE: the ClassWizard will add member functions here
116 //}}AFX_MSG
117 DECLARE_MESSAGE_MAP()
121 /////////////////////////////////////////////////////////////////////////////
122 // CChangeFmtDlg dialog
124 class CChangeFmtDlg : public CDialog
126 // Construction
127 public:
128 CChangeFmtDlg(CWnd* pParent = NULL); // standard constructor
130 // Dialog Data
131 //{{AFX_DATA(CChangeFmtDlg)
132 enum { IDD = IDD_CHANGEFORMAT };
133 int m_iFmt;
134 CString m_strFmtDesc;
135 //}}AFX_DATA
136 BOOL m_bVolume;
137 D3DFORMAT m_fmt;
138 int m_iFmtInitial;
140 // Overrides
141 // ClassWizard generated virtual function overrides
142 //{{AFX_VIRTUAL(CChangeFmtDlg)
143 protected:
144 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
145 //}}AFX_VIRTUAL
147 // Implementation
148 protected:
150 // Generated message map functions
151 //{{AFX_MSG(CChangeFmtDlg)
152 virtual BOOL OnInitDialog();
153 afx_msg void OnChangeFmt();
154 //}}AFX_MSG
155 DECLARE_MESSAGE_MAP()
156 private:
157 void UpdateFmtDesc();
160 /////////////////////////////////////////////////////////////////////////////
161 // CResizeDialog dialog
163 class CResizeDialog : public CDialog
165 // Construction
166 public:
167 CResizeDialog(CWnd* pParent = NULL); // standard constructor
169 // Dialog Data
170 //{{AFX_DATA(CResizeDialog)
171 enum { IDD = IDD_RESIZE };
172 UINT m_newHeight;
173 UINT m_newWidth;
174 CString m_oldHeight;
175 CString m_oldWidth;
176 //}}AFX_DATA
179 // Overrides
180 // ClassWizard generated virtual function overrides
181 //{{AFX_VIRTUAL(CResizeDialog)
182 protected:
183 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
184 //}}AFX_VIRTUAL
186 // Implementation
187 protected:
189 // Generated message map functions
190 //{{AFX_MSG(CResizeDialog)
191 //}}AFX_MSG
192 DECLARE_MESSAGE_MAP()
195 /////////////////////////////////////////////////////////////////////////////
196 // CSpecularPowerDialog dialog
198 class CSpecularPowerDialog : public CDialog
200 // Construction
201 public:
202 CSpecularPowerDialog(CWnd* pParent = NULL); // standard constructor
204 // Dialog Data
205 //{{AFX_DATA(CResizeDialog)
206 enum { IDD = IDD_SPECULARPOWER };
207 CString m_specularPower;
208 //}}AFX_DATA
211 // Overrides
212 // ClassWizard generated virtual function overrides
213 //{{AFX_VIRTUAL(CResizeDialog)
214 protected:
215 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
216 //}}AFX_VIRTUAL
218 // Implementation
219 protected:
221 // Generated message map functions
222 //{{AFX_MSG(CResizeDialog)
223 //}}AFX_MSG
224 DECLARE_MESSAGE_MAP()
227 //{{AFX_INSERT_LOCATION}}
228 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
230 #endif // !defined(AFX_DIALOGS_H__14A2C924_FB41_4BB7_92E4_DBA7CAF1FA06__INCLUDED_)