mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
35 lines
858 B
C++
35 lines
858 B
C++
//========= 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
|