summaryrefslogtreecommitdiff
path: root/gameui/matchmaking/welcomedialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gameui/matchmaking/welcomedialog.h')
-rw-r--r--gameui/matchmaking/welcomedialog.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/gameui/matchmaking/welcomedialog.h b/gameui/matchmaking/welcomedialog.h
new file mode 100644
index 0000000..dbef44d
--- /dev/null
+++ b/gameui/matchmaking/welcomedialog.h
@@ -0,0 +1,34 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose: Matchmaking's "main menu"
+//
+//=============================================================================//
+
+#ifndef WELCOMEDIALOG_H
+#define WELCOMEDIALOG_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#include "basedialog.h"
+
+//-----------------------------------------------------------------------------
+// Purpose: Main matchmaking menu
+//-----------------------------------------------------------------------------
+class CWelcomeDialog : public CBaseDialog
+{
+ DECLARE_CLASS_SIMPLE( CWelcomeDialog, CBaseDialog );
+
+public:
+ CWelcomeDialog(vgui::Panel *parent);
+
+ virtual void PerformLayout( void );
+ virtual void OnCommand( const char *pCommand );
+ virtual void OnKeyCodePressed( vgui::KeyCode code );
+
+private:
+ bool m_bOnlineEnabled;
+};
+
+
+#endif // WELCOMEDIALOG_H