Files
hl2_src-leak-2017/src/game/client/tf/tf_hud_arena_vs_panel.h
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

48 lines
1.1 KiB
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef TF_HUD_ARENA_VS_PANEL_H
#define TF_HUD_ARENA_VS_PANEL_H
#ifdef _WIN32
#pragma once
#endif
#include "hudelement.h"
#include <vgui_controls/EditablePanel.h>
using namespace vgui;
class CAvatarImagePanel;
//-----------------------------------------------------------------------------
// Purpose:
//-----------------------------------------------------------------------------
class CHudArenaVsPanel : public CHudElement, public EditablePanel
{
DECLARE_CLASS_SIMPLE( CHudArenaVsPanel, EditablePanel );
public:
CHudArenaVsPanel( const char *pElementName );
virtual void Init( void );
virtual void ApplySchemeSettings( IScheme *scheme );
virtual bool ShouldDraw( void );
virtual void OnTick( void );
virtual void FireGameEvent( IGameEvent * event );
private:
bool m_bVisible;
float m_flHideTime;
EditablePanel *m_pBluePanel;
EditablePanel *m_pRedPanel;
CAvatarImagePanel *m_pBlueAvatar;
CAvatarImagePanel *m_pRedAvatar;
};
#endif // TF_HUD_ARENA_VS_PANEL_H