diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /tracker/AdminServer/ChatPanel.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'tracker/AdminServer/ChatPanel.h')
| -rw-r--r-- | tracker/AdminServer/ChatPanel.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tracker/AdminServer/ChatPanel.h b/tracker/AdminServer/ChatPanel.h new file mode 100644 index 0000000..d99269b --- /dev/null +++ b/tracker/AdminServer/ChatPanel.h @@ -0,0 +1,44 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//============================================================================= + +#ifndef CHATPANEL_H +#define CHATPANEL_H +#ifdef _WIN32 +#pragma once +#endif + +#include <KeyValues.h> + +#include <vgui_controls/Frame.h> +#include <vgui_controls/PHandle.h> +#include <vgui_controls/ListPanel.h> +#include <vgui_controls/PropertyPage.h> + +//----------------------------------------------------------------------------- +// Purpose: Dialog for displaying information about a game server +//----------------------------------------------------------------------------- +class CChatPanel : public vgui::PropertyPage +{ + DECLARE_CLASS_SIMPLE( CChatPanel, vgui::PropertyPage ); +public: + CChatPanel(vgui::Panel *parent, const char *name); + ~CChatPanel(); + + // property page handlers + virtual void OnPageShow(); + virtual void OnPageHide(); + void DoInsertString(const char *str); + +private: + MESSAGE_FUNC( OnSendChat, "SendChat" ); + + vgui::RichText *m_pServerChatPanel; + vgui::TextEntry *m_pEnterChatPanel; + vgui::Button *m_pSendChatButton; +}; + +#endif // CHATPANEL_H
\ No newline at end of file |