summaryrefslogtreecommitdiff
path: root/hammer/opttextures.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /hammer/opttextures.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'hammer/opttextures.h')
-rw-r--r--hammer/opttextures.h76
1 files changed, 76 insertions, 0 deletions
diff --git a/hammer/opttextures.h b/hammer/opttextures.h
new file mode 100644
index 0000000..c573cf1
--- /dev/null
+++ b/hammer/opttextures.h
@@ -0,0 +1,76 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef OPTTEXTURES_H
+#define OPTTEXTURES_H
+#pragma once
+
+
+class COPTTextures : public CPropertyPage
+{
+ DECLARE_DYNCREATE( COPTTextures )
+
+public:
+
+ //=========================================================================
+ //
+ // Construction/Deconstruction
+ //
+ COPTTextures();
+ ~COPTTextures();
+
+ //=========================================================================
+ //
+ // Dialog Data
+ //
+ //{{AFX_DATA(COPTTextures)
+ enum { IDD = IDD_OPTIONS_TEXTURES };
+ CListBox m_TextureFiles;
+ CSliderCtrl m_cBrightness;
+ CListBox m_MaterialExcludeList;
+ //}}AFX_DATA
+
+ //=========================================================================
+ //
+ // Overrides
+ // ClassWizard generate virtual function overrides
+ //
+ //{{AFX_VIRTUAL(COPTTextures)
+ public:
+ virtual BOOL OnApply();
+ BOOL OnSetActive( void );
+ protected:
+ virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
+ //}}AFX_VIRTUAL
+
+// Implementation
+protected:
+
+ BOOL m_bDeleted;
+ CGameConfig *m_pMaterialConfig; // copy of the current gaming config
+
+ BOOL BrowseForFolder( char *pszTitle, char *pszDirectory );
+ void MaterialExcludeUpdate( void );
+
+ //=========================================================================
+ //
+ // Generated message map functions
+ //
+ //{{AFX_MSG(COPTTextures)
+ virtual BOOL OnInitDialog();
+ afx_msg void OnExtract();
+ afx_msg void OnAddtexfile();
+ afx_msg void OnRemovetexfile();
+ afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
+ afx_msg void OnAddtexfile2();
+ afx_msg void OnMaterialExcludeAdd( void );
+ afx_msg void OnMaterialExcludeRemove( void );
+ afx_msg void OnMaterialExcludeListSel( void );
+ //}}AFX_MSG
+ DECLARE_MESSAGE_MAP()
+};
+
+#endif // OPTTEXTURES_H