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 /gameui/OptionsSubPortal.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'gameui/OptionsSubPortal.h')
| -rw-r--r-- | gameui/OptionsSubPortal.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/gameui/OptionsSubPortal.h b/gameui/OptionsSubPortal.h new file mode 100644 index 0000000..1d92280 --- /dev/null +++ b/gameui/OptionsSubPortal.h @@ -0,0 +1,59 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//=============================================================================// + +#ifndef OPTIONS_SUB_PORTAL_H +#define OPTIONS_SUB_PORTAL_H +#ifdef _WIN32 +#pragma once +#endif + +#include <vgui_controls/PropertyPage.h> + +class CLabeledCommandComboBox; +class CCvarToggleCheckButton; + +namespace vgui +{ + class Label; + class Panel; +} + +//----------------------------------------------------------------------------- +// Purpose: Mouse Details, Part of OptionsDialog +//----------------------------------------------------------------------------- +class COptionsSubPortal : public vgui::PropertyPage +{ + DECLARE_CLASS_SIMPLE( COptionsSubPortal, vgui::PropertyPage ); + +public: + COptionsSubPortal(vgui::Panel *parent); + ~COptionsSubPortal(); + + virtual void OnResetData(); + virtual void OnApplyChanges(); + +protected: + virtual void ApplySchemeSettings(vgui::IScheme *pScheme); + +private: + MESSAGE_FUNC( OnCheckButtonChecked, "CheckButtonChecked" ) + { + OnControlModified(); + } + MESSAGE_FUNC( OnControlModified, "ControlModified" ); + MESSAGE_FUNC( OnTextChanged, "TextChanged" ) + { + OnControlModified(); + } + + CCvarToggleCheckButton *m_pPortalFunnelCheckBox; + vgui::ComboBox *m_pPortalDepthCombo; +}; + + + +#endif // OPTIONS_SUB_MOUSE_H
\ No newline at end of file |