summaryrefslogtreecommitdiff
path: root/gameui/CustomTabExplanationDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gameui/CustomTabExplanationDialog.h')
-rw-r--r--gameui/CustomTabExplanationDialog.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/gameui/CustomTabExplanationDialog.h b/gameui/CustomTabExplanationDialog.h
new file mode 100644
index 0000000..754391b
--- /dev/null
+++ b/gameui/CustomTabExplanationDialog.h
@@ -0,0 +1,35 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================
+
+#ifndef CUSTOMTABEXPLANATIONDIALOG_H
+#define CUSTOMTABEXPLANATIONDIALOG_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "vgui_controls/Frame.h"
+#include "utlvector.h"
+#include <vgui/KeyCode.h>
+#include "vgui_controls/URLLabel.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Dialog that explains the custom tab
+//-----------------------------------------------------------------------------
+class CCustomTabExplanationDialog : public vgui::Frame
+{
+ DECLARE_CLASS_SIMPLE( CCustomTabExplanationDialog, vgui::Frame );
+
+public:
+ CCustomTabExplanationDialog(vgui::Panel *parent);
+ ~CCustomTabExplanationDialog();
+
+ virtual void ApplySchemeSettings( vgui::IScheme *pScheme );
+ virtual void OnKeyCodePressed(vgui::KeyCode code);
+ virtual void OnCommand( const char *command );
+ virtual void OnClose( void );
+};
+
+#endif // CUSTOMTABEXPLANATIONDIALOG_H