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.

58 lines
1.3 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef OPTIONS_SUB_PORTAL_H
  8. #define OPTIONS_SUB_PORTAL_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include <vgui_controls/PropertyPage.h>
  13. class CLabeledCommandComboBox;
  14. class CCvarToggleCheckButton;
  15. namespace vgui
  16. {
  17. class Label;
  18. class Panel;
  19. }
  20. //-----------------------------------------------------------------------------
  21. // Purpose: Mouse Details, Part of OptionsDialog
  22. //-----------------------------------------------------------------------------
  23. class COptionsSubPortal : public vgui::PropertyPage
  24. {
  25. DECLARE_CLASS_SIMPLE( COptionsSubPortal, vgui::PropertyPage );
  26. public:
  27. explicit COptionsSubPortal(vgui::Panel *parent);
  28. ~COptionsSubPortal();
  29. virtual void OnResetData();
  30. virtual void OnApplyChanges();
  31. protected:
  32. virtual void ApplySchemeSettings(vgui::IScheme *pScheme);
  33. private:
  34. MESSAGE_FUNC( OnCheckButtonChecked, "CheckButtonChecked" )
  35. {
  36. OnControlModified();
  37. }
  38. MESSAGE_FUNC( OnControlModified, "ControlModified" );
  39. MESSAGE_FUNC( OnTextChanged, "TextChanged" )
  40. {
  41. OnControlModified();
  42. }
  43. CCvarToggleCheckButton *m_pPortalFunnelCheckBox;
  44. vgui::ComboBox *m_pPortalDepthCombo;
  45. };
  46. #endif // OPTIONS_SUB_MOUSE_H