summaryrefslogtreecommitdiff
path: root/gameui/OptionsSubDifficulty.h
diff options
context:
space:
mode:
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