doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TextureBar.h
Go to the documentation of this file.
1 /*
2 ===========================================================================
3 
4 Doom 3 GPL Source Code
5 Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
6 
7 This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
8 
9 Doom 3 Source Code is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 Doom 3 Source Code is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18 
19 You should have received a copy of the GNU General Public License
20 along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
21 
22 In addition, the Doom 3 Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 Source Code. If not, please request a copy in writing from id Software at the address below.
23 
24 If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
25 
26 ===========================================================================
27 */
28 #if !defined(AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_)
29 #define AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_
30 
31 #if _MSC_VER >= 1000
32 #pragma once
33 #endif // _MSC_VER >= 1000
34 // TextureBar.h : header file
35 //
36 
38 // CTextureBar dialog
39 
40 class CTextureBar : public CDialogBar
41 {
42 // Construction
43 public:
44  void GetSurfaceAttributes();
45  void SetSurfaceAttributes();
46  CTextureBar();
47 
48 // Dialog Data
49  //{{AFX_DATA(CTextureBar)
50  enum { IDD = IDD_TEXTUREBAR };
51  CSpinButtonCtrl m_spinRotate;
52  CSpinButtonCtrl m_spinVScale;
53  CSpinButtonCtrl m_spinVShift;
54  CSpinButtonCtrl m_spinHScale;
55  CSpinButtonCtrl m_spinHShift;
56  int m_nHShift;
57  int m_nHScale;
58  int m_nRotate;
59  int m_nVShift;
60  int m_nVScale;
62  //}}AFX_DATA
63 
64 
65 // Overrides
66  // ClassWizard generated virtual function overrides
67  //{{AFX_VIRTUAL(CTextureBar)
68  protected:
69  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
70  //}}AFX_VIRTUAL
71 
72 // Implementation
73 protected:
74  // Generated message map functions
75  //{{AFX_MSG(CTextureBar)
76  afx_msg void OnDeltaposSpinHshift(NMHDR* pNMHDR, LRESULT* pResult);
77  afx_msg void OnDeltaposSpinVshift(NMHDR* pNMHDR, LRESULT* pResult);
78  afx_msg void OnDeltaposSpinHScale(NMHDR* pNMHDR, LRESULT* pResult);
79  afx_msg void OnDeltaposSpinVScale(NMHDR* pNMHDR, LRESULT* pResult);
80  afx_msg void OnDeltaposSpinRotate(NMHDR* pNMHDR, LRESULT* pResult);
81  afx_msg void OnSelectionPrint();
82  afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
83  afx_msg void OnBtnApplytexturestuff();
84  //}}AFX_MSG
85  DECLARE_MESSAGE_MAP()
86 };
87 
88 //{{AFX_INSERT_LOCATION}}
89 // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
90 
91 #endif // !defined(AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_)
afx_msg void OnDeltaposSpinRotate(NMHDR *pNMHDR, LRESULT *pResult)
Definition: TextureBar.cpp:148
CSpinButtonCtrl m_spinVScale
Definition: TextureBar.h:52
afx_msg void OnDeltaposSpinHScale(NMHDR *pNMHDR, LRESULT *pResult)
Definition: TextureBar.cpp:122
int m_nHShift
Definition: TextureBar.h:56
void GetSurfaceAttributes()
Definition: TextureBar.cpp:180
CSpinButtonCtrl m_spinHScale
Definition: TextureBar.h:54
afx_msg void OnSelectionPrint()
Definition: TextureBar.cpp:161
int m_nRotate
Definition: TextureBar.h:58
int m_nHScale
Definition: TextureBar.h:57
afx_msg void OnBtnApplytexturestuff()
Definition: TextureBar.cpp:175
void SetSurfaceAttributes()
Definition: TextureBar.cpp:196
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct)
Definition: TextureBar.cpp:167
afx_msg void OnDeltaposSpinVshift(NMHDR *pNMHDR, LRESULT *pResult)
Definition: TextureBar.cpp:109
int m_nRotateAmt
Definition: TextureBar.h:61
CSpinButtonCtrl m_spinHShift
Definition: TextureBar.h:55
afx_msg void OnDeltaposSpinHshift(NMHDR *pNMHDR, LRESULT *pResult)
Definition: TextureBar.cpp:97
virtual void DoDataExchange(CDataExchange *pDX)
Definition: TextureBar.cpp:62
CSpinButtonCtrl m_spinVShift
Definition: TextureBar.h:53
afx_msg void OnDeltaposSpinVScale(NMHDR *pNMHDR, LRESULT *pResult)
Definition: TextureBar.cpp:135
int m_nVShift
Definition: TextureBar.h:59
CSpinButtonCtrl m_spinRotate
Definition: TextureBar.h:51
#define IDD_TEXTUREBAR
int m_nVScale
Definition: TextureBar.h:60