]> git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/bobtoolz/dialogs/TextureResetDialog.h
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / contrib / bobtoolz / dialogs / TextureResetDialog.h
1 /*
2    BobToolz plugin for GtkRadiant
3    Copyright (C) 2001 Gordon Biggans
4
5    This library is free software; you can redistribute it and/or
6    modify it under the terms of the GNU Lesser General Public
7    License as published by the Free Software Foundation; either
8    version 2.1 of the License, or (at your option) any later version.
9
10    This library is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    Lesser General Public License for more details.
14
15    You should have received a copy of the GNU Lesser General Public
16    License along with this library; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 #if !defined( AFX_TEXTURERESETDIALOG_H__42D665C1_ED84_11D4_ACF7_004095A18133__INCLUDED_ )
21 #define AFX_TEXTURERESETDIALOG_H__42D665C1_ED84_11D4_ACF7_004095A18133__INCLUDED_
22
23 #if _MSC_VER > 1000
24 #pragma once
25 #endif // _MSC_VER > 1000
26 // TextureResetDialog.h : header file
27 //
28
29 /////////////////////////////////////////////////////////////////////////////
30 // CTextureResetDialog dialog
31
32 class CTextureResetDialog : public CDialog {
33 // Construction
34 public:
35     CTextureResetDialog(CWnd *pParent = NULL);     // standard constructor
36
37 // Dialog Data
38 //{{AFX_DATA(CTextureResetDialog)
39     enum { IDD = IDD_TEXTURE_RESET_DIALOG };
40     BOOL m_bAllTextures;
41     CString m_TextureName;
42     int m_nRotation;
43     float m_fScaleHorizontal;
44     float m_fScaleVertical;
45     int m_nShiftHorizontal;
46     int m_nShiftVertical;
47     BOOL m_bOnlyTexture;
48     CString m_NewTextureName;
49 //}}AFX_DATA
50
51
52 // Overrides
53 // ClassWizard generated virtual function overrides
54 //{{AFX_VIRTUAL(CTextureResetDialog)
55 protected:
56     virtual void DoDataExchange(CDataExchange *pDX);      // DDX/DDV support
57 //}}AFX_VIRTUAL
58
59 // Implementation
60 protected:
61
62 // Generated message map functions
63 //{{AFX_MSG(CTextureResetDialog)
64 // NOTE: the ClassWizard will add member functions here
65 //}}AFX_MSG
66     DECLARE_MESSAGE_MAP()
67 };
68
69 //{{AFX_INSERT_LOCATION}}
70 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
71
72 #endif // !defined(AFX_TEXTURERESETDIALOG_H__42D665C1_ED84_11D4_ACF7_004095A18133__INCLUDED_)