aboutsummaryrefslogtreecommitdiff
path: root/sp/src/public/matsys_controls/tgapreviewpanel.h
blob: fc52adf909fb32f9147aabe4c07f4352b20f8dd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//========= 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