summaryrefslogtreecommitdiff
path: root/game/client/tf/vgui/tf_lobby_container_frame_mvm.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/client/tf/vgui/tf_lobby_container_frame_mvm.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/client/tf/vgui/tf_lobby_container_frame_mvm.h')
-rw-r--r--game/client/tf/vgui/tf_lobby_container_frame_mvm.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/game/client/tf/vgui/tf_lobby_container_frame_mvm.h b/game/client/tf/vgui/tf_lobby_container_frame_mvm.h
new file mode 100644
index 0000000..0ed0548
--- /dev/null
+++ b/game/client/tf/vgui/tf_lobby_container_frame_mvm.h
@@ -0,0 +1,49 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef TF_LOBBY_CONTAINER_FRAME_MVM_H
+#define TF_LOBBY_CONTAINER_FRAME_MVM_H
+
+
+#include "cbase.h"
+//#include "tf_pvelobbypanel.h"
+#include "tf_lobby_container_frame.h"
+
+// memdbgon must be the last include file in a .cpp file!!!
+#include <tier0/memdbgon.h>
+
+
+class CBaseLobbyPanel;
+
+// This is a big fat kludge so I can use the PropertyPage
+class CLobbyContainerFrame_MvM : public CBaseLobbyContainerFrame
+{
+ DECLARE_CLASS_SIMPLE( CLobbyContainerFrame_MvM, CBaseLobbyContainerFrame );
+public:
+ CLobbyContainerFrame_MvM();
+ ~CLobbyContainerFrame_MvM();
+
+ //
+ // PropertyDialog overrides
+ //
+ virtual void ApplySchemeSettings( vgui::IScheme *pScheme ) OVERRIDE;
+ virtual void OnKeyCodePressed(vgui::KeyCode code) OVERRIDE;
+ virtual void OnCommand( const char *command ) OVERRIDE;
+
+private:
+
+ virtual const char* GetResFile() const OVERRIDE { return "Resource/UI/LobbyContainerFrame_MvM.res"; }
+ virtual TF_MatchmakingMode GetHandledMode() const { return TF_Matchmaking_MVM; }
+ virtual bool VerifyPartyAuthorization() const OVERRIDE;
+ virtual void WriteControls() OVERRIDE;
+ virtual void HandleBackPressed() OVERRIDE;
+
+ vgui::Button *m_pStartPartyButton;
+ vgui::Button *m_pPlayNowButton;
+ vgui::Button *m_pPracticeButton;
+};
+
+#endif //TF_LOBBY_CONTAINER_FRAME_MVM_H \ No newline at end of file