mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-11 19:29:08 +00:00
1
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
// $NoKeywords: $
|
||||
//
|
||||
//=============================================================================//
|
||||
|
||||
#ifndef CL_TXVIEWPANEL_H
|
||||
#define CL_TXVIEWPANEL_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include <vgui_controls/Frame.h>
|
||||
|
||||
|
||||
namespace vgui
|
||||
{
|
||||
class Button;
|
||||
class CheckButton;
|
||||
class Label;
|
||||
class ProgressBar;
|
||||
class FileOpenDialog;
|
||||
class Slider;
|
||||
class ListViewPanel;
|
||||
};
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose:
|
||||
//-----------------------------------------------------------------------------
|
||||
class TxViewPanel : public vgui::Frame
|
||||
{
|
||||
DECLARE_CLASS_SIMPLE( TxViewPanel, vgui::Frame );
|
||||
|
||||
public:
|
||||
TxViewPanel( vgui::Panel *parent );
|
||||
~TxViewPanel();
|
||||
|
||||
virtual void OnTick();
|
||||
|
||||
// Command issued
|
||||
virtual void OnCommand( const char *command );
|
||||
virtual void OnMessage( const KeyValues *params, vgui::VPANEL fromPanel );
|
||||
|
||||
static void Install( vgui::Panel *parent );
|
||||
|
||||
protected:
|
||||
MESSAGE_FUNC_CHARPTR( OnFileSelected, "FileSelected", fullpath );
|
||||
|
||||
protected:
|
||||
vgui::Button *m_pRefresh;
|
||||
vgui::ListViewPanel *m_pView;
|
||||
};
|
||||
|
||||
extern TxViewPanel *g_pTxViewPanel;
|
||||
|
||||
#endif // #ifndef CL_TXVIEWPANEL_H
|
||||
Reference in New Issue
Block a user