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.
77 lines
2.2 KiB
77 lines
2.2 KiB
//========= Copyright Valve Corporation, All rights reserved. ============// |
|
// |
|
// Purpose: |
|
// |
|
//=============================================================================// |
|
|
|
#ifndef TF_LOBBY_CONTAINER_FRAME_COMP_H |
|
#define TF_LOBBY_CONTAINER_FRAME_COMP_H |
|
|
|
|
|
#include "cbase.h" |
|
//#include "tf_pvelobbypanel.h" |
|
#include "game/client/iviewport.h" |
|
#include "tf_shareddefs.h" |
|
#include "econ/confirm_dialog.h" |
|
#include "econ/econ_controls.h" |
|
#include "ienginevgui.h" |
|
#include "tf_gc_client.h" |
|
#include "tf_party.h" |
|
#include "tf_item_inventory.h" |
|
#include "econ_ui.h" |
|
|
|
#include "vgui_controls/Tooltip.h" |
|
#include "vgui_controls/PropertyDialog.h" |
|
#include "vgui_controls/PropertySheet.h" |
|
#include "vgui_controls/ComboBox.h" |
|
#include "vgui_controls/RadioButton.h" |
|
#include "vgui_controls/SectionedListPanel.h" |
|
#include "vgui_controls/ScrollableEditablePanel.h" |
|
#include "vgui_bitmapimage.h" |
|
#include "vgui/IInput.h" |
|
#include <vgui_controls/ImageList.h> |
|
#include <vgui/IVGui.h> |
|
#include "GameEventListener.h" |
|
#include "vgui_avatarimage.h" |
|
#include <vgui/ISurface.h> |
|
#include <VGuiMatSurface/IMatSystemSurface.h> |
|
#include "rtime.h" |
|
#include "econ_game_account_client.h" |
|
#include "tf_leaderboardpanel.h" |
|
#include "tf_mapinfo.h" |
|
#include "tf_ladder_data.h" |
|
#include "tf_gamerules.h" |
|
#include "confirm_dialog.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_Comp : public CBaseLobbyContainerFrame |
|
{ |
|
DECLARE_CLASS_SIMPLE( CLobbyContainerFrame_Comp, CBaseLobbyContainerFrame ); |
|
public: |
|
CLobbyContainerFrame_Comp(); |
|
~CLobbyContainerFrame_Comp(); |
|
|
|
// |
|
// PropertyDialog overrides |
|
// |
|
virtual void ShowPanel( bool bShow ) OVERRIDE; |
|
virtual void OnCommand( const char *command ) OVERRIDE; |
|
|
|
protected: |
|
|
|
virtual void WriteControls(); |
|
|
|
private: |
|
virtual const char* GetResFile() const OVERRIDE { return "Resource/UI/LobbyContainerFrame_Comp.res"; } |
|
virtual TF_MatchmakingMode GetHandledMode() const { return TF_Matchmaking_LADDER; } |
|
virtual bool VerifyPartyAuthorization() const; |
|
virtual void HandleBackPressed() OVERRIDE; |
|
}; |
|
|
|
#endif //TF_LOBBY_CONTAINER_FRAME_COMP_H
|