blob: 1d92280821d40dd4ef9967f96cfd4281d358e186 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
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
|