cl_dll/game_controls/vguitextwindow.h
15161718192021
#include
#include
#include
namespace vgui
{
15161718192021222324
#include
#include
#include
#include
#include
namespace vgui
{
34353637383940
TYPE_FILE, // show this local file
} ;
class CTextWindow : public vgui::Frame, public IViewPortPanel
{
private:
DECLARE_CLASS_SIMPLE( CTextWindow, vgui::Frame );
37383940414243
TYPE_FILE, // show this local file
} ;
class CTextWindow : public vgui::Frame, public IViewPortPanel, public IGameEventListener2
{
private:
DECLARE_CLASS_SIMPLE( CTextWindow, vgui::Frame );
505152535455
virtual bool NeedsUpdate( void ) { return false; }
virtual bool HasInputElements( void ) { return true; }
virtual void ShowPanel( bool bShow );
// both vgui::Frame and IViewPortPanel define these, so explicitly define them here as passthroughs to vgui
vgui::VPANEL GetVPanel( void ) { return BaseClass::GetVPanel(); }
5354555657585960616263
virtual bool NeedsUpdate( void ) { return false; }
virtual bool HasInputElements( void ) { return true; }
virtual void ShowPanel( bool bShow );
virtual void OnKeyCodePressed(vgui::KeyCode code);
virtual void OnKeyCodeReleased(vgui::KeyCode code);
virtual void FireGameEvent( IGameEvent *event);
// both vgui::Frame and IViewPortPanel define these, so explicitly define them here as passthroughs to vgui
vgui::VPANEL GetVPanel( void ) { return BaseClass::GetVPanel(); }