Team Fortress 2 Source Code as on 22/4/2020
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
997 B

  1. //========= Copyright 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. 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