You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
917 B
41 lines
917 B
//====== 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
|