forked from SwagSoftware/Kisak-Strike
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtgapreviewpanel.h
41 lines (30 loc) · 917 Bytes
/
tgapreviewpanel.h
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
40
41
//====== Copyright © 1996-2003, 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;
virtual void PerformLayout();
private:
CUtlString m_TGAName;
};
#endif // TGAPREVIEWPANEL_H