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.

50 lines
1.2 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef MULTIPLAYERADVANCEDDIALOG_H
  8. #define MULTIPLAYERADVANCEDDIALOG_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include <vgui_controls/Frame.h>
  13. #include "scriptobject.h"
  14. #include <vgui/KeyCode.h>
  15. //-----------------------------------------------------------------------------
  16. // Purpose: Displays a game-specific list of options
  17. //-----------------------------------------------------------------------------
  18. class CMultiplayerAdvancedDialog : public vgui::Frame
  19. {
  20. DECLARE_CLASS_SIMPLE( CMultiplayerAdvancedDialog, vgui::Frame );
  21. public:
  22. explicit CMultiplayerAdvancedDialog(vgui::Panel *parent);
  23. ~CMultiplayerAdvancedDialog();
  24. virtual void Activate();
  25. private:
  26. void CreateControls();
  27. void DestroyControls();
  28. void GatherCurrentValues();
  29. void SaveValues();
  30. CInfoDescription *m_pDescription;
  31. mpcontrol_t *m_pList;
  32. CPanelListPanel *m_pListPanel;
  33. virtual void OnCommand( const char *command );
  34. virtual void OnClose();
  35. virtual void OnKeyCodeTyped(vgui::KeyCode code);
  36. };
  37. #endif // MULTIPLAYERADVANCEDDIALOG_H