Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1019 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef OPTIONS_SUB_DIFFICULTY_H
  8. #define OPTIONS_SUB_DIFFICULTY_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "vgui_controls/PropertyPage.h"
  13. //-----------------------------------------------------------------------------
  14. // Purpose: Difficulty selection options
  15. //-----------------------------------------------------------------------------
  16. class COptionsSubDifficulty : public vgui::PropertyPage
  17. {
  18. DECLARE_CLASS_SIMPLE( COptionsSubDifficulty, vgui::PropertyPage );
  19. public:
  20. explicit COptionsSubDifficulty(vgui::Panel *parent);
  21. virtual void OnResetData();
  22. virtual void OnApplyChanges();
  23. MESSAGE_FUNC( OnRadioButtonChecked, "RadioButtonChecked" );
  24. private:
  25. vgui::RadioButton *m_pEasyRadio;
  26. vgui::RadioButton *m_pNormalRadio;
  27. vgui::RadioButton *m_pHardRadio;
  28. };
  29. #endif // OPTIONS_SUB_DIFFICULTY_H