This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-04 13:13:01 -04:00

35 lines
897 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