1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/public/matsys_controls/tgapreviewpanel.h
2013-06-26 15:22:04 -07:00

39 lines
920 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================
#ifndef TGAPREVIEWPANEL_H
#define TGAPREVIEWPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include "matsys_controls/proceduraltexturepanel.h"
#include "tier1/utlstring.h"
//-----------------------------------------------------------------------------
//
// TGA Preview panel
//
//-----------------------------------------------------------------------------
class CTGAPreviewPanel : public CProceduralTexturePanel
{
DECLARE_CLASS_SIMPLE( CTGAPreviewPanel, CProceduralTexturePanel );
public:
// constructor
CTGAPreviewPanel( vgui::Panel *pParent, const char *pName );
void SetTGA( const char *pFullPath );
const char *GetTGA() const;
private:
CUtlString m_TGAName;
};
#endif // TGAPREVIEWPANEL_H