summaryrefslogtreecommitdiff
path: root/gameui/OptionsSubDifficulty.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 /gameui/OptionsSubDifficulty.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'gameui/OptionsSubDifficulty.h')
-rw-r--r--gameui/OptionsSubDifficulty.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/gameui/OptionsSubDifficulty.h b/gameui/OptionsSubDifficulty.h
new file mode 100644
index 0000000..947a172
--- /dev/null
+++ b/gameui/OptionsSubDifficulty.h
@@ -0,0 +1,38 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef OPTIONS_SUB_DIFFICULTY_H
+#define OPTIONS_SUB_DIFFICULTY_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "vgui_controls/PropertyPage.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Difficulty selection options
+//-----------------------------------------------------------------------------
+class COptionsSubDifficulty : public vgui::PropertyPage
+{
+ DECLARE_CLASS_SIMPLE( COptionsSubDifficulty, vgui::PropertyPage );
+
+public:
+ COptionsSubDifficulty(vgui::Panel *parent);
+
+ virtual void OnResetData();
+ virtual void OnApplyChanges();
+
+ MESSAGE_FUNC( OnRadioButtonChecked, "RadioButtonChecked" );
+
+private:
+ vgui::RadioButton *m_pEasyRadio;
+ vgui::RadioButton *m_pNormalRadio;
+ vgui::RadioButton *m_pHardRadio;
+};
+
+
+#endif // OPTIONS_SUB_DIFFICULTY_H \ No newline at end of file