diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /hammer/optgeneral.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'hammer/optgeneral.h')
| -rw-r--r-- | hammer/optgeneral.h | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/hammer/optgeneral.h b/hammer/optgeneral.h new file mode 100644 index 0000000..4499c85 --- /dev/null +++ b/hammer/optgeneral.h @@ -0,0 +1,81 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $Workfile: $ +// $Date: $ +// +//----------------------------------------------------------------------------- +// $Log: $ +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef OPTGENERAL_H +#define OPTGENERAL_H +#pragma once + +#include "Resource.h" + + +class COPTGeneral : public CPropertyPage +{ + DECLARE_DYNCREATE(COPTGeneral) + +// Construction +public: + COPTGeneral(); + ~COPTGeneral(); + +// Dialog Data + //{{AFX_DATA(COPTGeneral) + enum { IDD = IDD_OPTIONS_MAIN }; + CButton m_cLoadWinPos; + CButton m_cIndependentWin; + CButton m_cEnableAutosave; + CStatic m_cAutosaveTimeLabel; + CEdit m_cAutosaveTime; + CStatic m_cAutosaveSpaceLabel; + CEdit m_cAutosaveSpace; + CStatic m_cAutosaveIterationLabel; + CEdit m_cAutosaveIterations; + CStatic m_cAutosaveDirectoryLabel; + CButton m_cAutosaveBrowseButton; + CSpinButtonCtrl m_UndoSpin; + int m_iUndoLevels; + int m_nMaxCameras; + int m_iMaxAutosavesPerMap; + int m_iMaxAutosaveSpace; + int m_iTimeBetweenSaves; + CEdit m_cAutosaveDir; + //}}AFX_DATA + +// Overrides + // ClassWizard generate virtual function overrides + //{{AFX_VIRTUAL(COPTGeneral) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + +// Implementation +protected: + + // Generated message map functions + //{{AFX_MSG(COPTGeneral) + virtual BOOL OnInitDialog(void); + afx_msg void OnIndependentwindows(void); + afx_msg void OnEnableAutosave(void); + afx_msg void OnBrowseAutosaveDir(void); + //}}AFX_MSG + + BOOL BrowseForFolder(char *pszTitle, char *pszDirectory); + BOOL OnApply(); + + DECLARE_MESSAGE_MAP() + + + +}; + + +#endif // OPTGENERAL_H |