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.

35 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================
  6. #ifndef CUSTOMTABEXPLANATIONDIALOG_H
  7. #define CUSTOMTABEXPLANATIONDIALOG_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. #include "vgui_controls/Frame.h"
  12. #include "utlvector.h"
  13. #include <vgui/KeyCode.h>
  14. #include "vgui_controls/URLLabel.h"
  15. //-----------------------------------------------------------------------------
  16. // Purpose: Dialog that explains the custom tab
  17. //-----------------------------------------------------------------------------
  18. class CCustomTabExplanationDialog : public vgui::Frame
  19. {
  20. DECLARE_CLASS_SIMPLE( CCustomTabExplanationDialog, vgui::Frame );
  21. public:
  22. CCustomTabExplanationDialog(vgui::Panel *parent);
  23. ~CCustomTabExplanationDialog();
  24. virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
  25. virtual void OnKeyCodePressed(vgui::KeyCode code);
  26. virtual void OnCommand( const char *command );
  27. virtual void OnClose( void );
  28. };
  29. #endif // CUSTOMTABEXPLANATIONDIALOG_H