blob: d623cec1cbcdf6ffa1086aa6b01a2b1f4141a117 (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef OPTIONS_SUB_HAPTICS_H
#define OPTIONS_SUB_HAPTICS_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/PropertyPage.h>
#include "HapticControlBox.h"
class CCvarNegateCheckButton;
class CKeyToggleCheckButton;
class CCvarToggleCheckButton;
class CCvarSlider;
namespace vgui
{
class Label;
class Panel;
}
//-----------------------------------------------------------------------------
// Purpose: Mouse Details, Part of OptionsDialog
//-----------------------------------------------------------------------------
class COptionsSubHaptics : public vgui::PropertyPage
{
DECLARE_CLASS_SIMPLE( COptionsSubHaptics, vgui::PropertyPage );
public:
COptionsSubHaptics(vgui::Panel *parent);
~COptionsSubHaptics();
virtual void OnResetData();
virtual void OnApplyChanges();
virtual void OnCommand(const char *command);
virtual void UpdateVehicleEnabled(void);
protected:
virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
private:
MESSAGE_FUNC_PTR( OnControlModified, "ControlModified", panel );
MESSAGE_FUNC_PTR( OnTextChanged, "TextChanged", panel );
MESSAGE_FUNC_PTR( OnCheckButtonChecked, "CheckButtonChecked", panel )
{
OnControlModified( panel );
}
vgui::Label *m_pForceMasterPreLabel;
CCvarSlider *m_pForceMasterSlider;
vgui::Label *m_pForceRecoilPreLabel;
CCvarSlider *m_pForceRecoilSlider;
vgui::Label *m_pForceDamagePreLabel;
CCvarSlider *m_pForceDamageSlider;
vgui::Label *m_pForceMovementPreLabel;
CCvarSlider *m_pForceMovementSlider;
//Player
vgui::Label *m_pPlayerBoxPreLabel;
vgui::Label *m_pPlayerBoxScalePreLabel;
CCvarSlider * m_pPlayerBoxScale;
ControlBoxVisual* m_pPlayerBoxVisual;
vgui::Label *m_pPlayerBoxStiffnessPreLabel;
CCvarSlider *m_pPlayerBoxStiffnessSlider;
vgui::Label *m_pPlayerBoxTurnPreLabel;
CCvarSlider *m_pPlayerBoxTurnSlider;
vgui::Label *m_pPlayerBoxAimPreLabel;
CCvarSlider *m_pPlayerBoxAimSlider;
//Vehicle
vgui::Label *m_pVehicleBoxPreLabel;
vgui::Label *m_pVehicleBoxScalePreLabel;
CCvarSlider * m_pVehicleBoxScale;
ControlBoxVisual* m_pVehicleBoxVisual;
vgui::Label *m_pVehicleBoxStiffnessPreLabel;
CCvarSlider * m_pVehicleBoxStiffnessSlider;
vgui::Label *m_pVehicleBoxTurnPreLabel;
CCvarSlider *m_pVehicleBoxTurnSlider;
vgui::Label *m_pVehicleBoxAimPreLabel;
CCvarSlider *m_pVehicleBoxAimSlider;
//Control Box Stuff
};
#endif // OPTIONS_SUB_MOUSE_H
|