diff options
Diffstat (limited to 'game/client/tf/vgui/tf_lobby_container_frame_comp.h')
| -rw-r--r-- | game/client/tf/vgui/tf_lobby_container_frame_comp.h | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/game/client/tf/vgui/tf_lobby_container_frame_comp.h b/game/client/tf/vgui/tf_lobby_container_frame_comp.h new file mode 100644 index 0000000..6c06bf0 --- /dev/null +++ b/game/client/tf/vgui/tf_lobby_container_frame_comp.h @@ -0,0 +1,77 @@ +//========= 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
\ No newline at end of file |