Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.

43 lines
1.0 KiB

5 years ago
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef RAWLOGPANEL_H
#define RAWLOGPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include <vgui_controls/PropertyPage.h>
#include "RemoteServer.h"
namespace vgui
{
class CConsolePanel;
}
//-----------------------------------------------------------------------------
// Purpose: Dialog for displaying information about a game server
//-----------------------------------------------------------------------------
class CRawLogPanel : public vgui::PropertyPage
{
DECLARE_CLASS_SIMPLE( CRawLogPanel, vgui::PropertyPage );
public:
CRawLogPanel(vgui::Panel *parent, const char *name);
~CRawLogPanel();
// property page handlers
virtual void OnPageShow();
virtual void OnPageHide();
void DoInsertString(const char *str);
private:
MESSAGE_FUNC_CHARPTR( OnCommandSubmitted, "CommandSubmitted", command );
vgui::CConsolePanel *m_pConsole;
};
#endif // RAWLOGPANEL_H