TextureBar.h 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /*
  2. ===========================================================================
  3. Doom 3 GPL Source Code
  4. Copyright (C) 1999-2011 id Software LLC, a ZeniMax Media company.
  5. This file is part of the Doom 3 GPL Source Code (?Doom 3 Source Code?).
  6. Doom 3 Source Code is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Doom 3 Source Code 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
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with Doom 3 Source Code. If not, see <http://www.gnu.org/licenses/>.
  16. 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.
  17. 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.
  18. ===========================================================================
  19. */
  20. #if !defined(AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_)
  21. #define AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_
  22. #if _MSC_VER >= 1000
  23. #pragma once
  24. #endif // _MSC_VER >= 1000
  25. // TextureBar.h : header file
  26. //
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CTextureBar dialog
  29. class CTextureBar : public CDialogBar
  30. {
  31. // Construction
  32. public:
  33. void GetSurfaceAttributes();
  34. void SetSurfaceAttributes();
  35. CTextureBar();
  36. // Dialog Data
  37. //{{AFX_DATA(CTextureBar)
  38. enum { IDD = IDD_TEXTUREBAR };
  39. CSpinButtonCtrl m_spinRotate;
  40. CSpinButtonCtrl m_spinVScale;
  41. CSpinButtonCtrl m_spinVShift;
  42. CSpinButtonCtrl m_spinHScale;
  43. CSpinButtonCtrl m_spinHShift;
  44. int m_nHShift;
  45. int m_nHScale;
  46. int m_nRotate;
  47. int m_nVShift;
  48. int m_nVScale;
  49. int m_nRotateAmt;
  50. //}}AFX_DATA
  51. // Overrides
  52. // ClassWizard generated virtual function overrides
  53. //{{AFX_VIRTUAL(CTextureBar)
  54. protected:
  55. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  56. //}}AFX_VIRTUAL
  57. // Implementation
  58. protected:
  59. // Generated message map functions
  60. //{{AFX_MSG(CTextureBar)
  61. afx_msg void OnDeltaposSpinHshift(NMHDR* pNMHDR, LRESULT* pResult);
  62. afx_msg void OnDeltaposSpinVshift(NMHDR* pNMHDR, LRESULT* pResult);
  63. afx_msg void OnDeltaposSpinHScale(NMHDR* pNMHDR, LRESULT* pResult);
  64. afx_msg void OnDeltaposSpinVScale(NMHDR* pNMHDR, LRESULT* pResult);
  65. afx_msg void OnDeltaposSpinRotate(NMHDR* pNMHDR, LRESULT* pResult);
  66. afx_msg void OnSelectionPrint();
  67. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  68. afx_msg void OnBtnApplytexturestuff();
  69. //}}AFX_MSG
  70. DECLARE_MESSAGE_MAP()
  71. };
  72. //{{AFX_INSERT_LOCATION}}
  73. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  74. #endif // !defined(AFX_TEXTUREBAR_H__86220273_B656_11D1_B59F_00AA00A410FC__INCLUDED_)