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.
44 lines
771 B
44 lines
771 B
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose: Defines a window for displaying a single texture within.
|
|
//
|
|
// $Workfile: $
|
|
// $Date: $
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
// $Log: $
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef WNDTEX_H
|
|
#define WNDTEX_H
|
|
#pragma once
|
|
|
|
|
|
class wndTex : public CStatic
|
|
{
|
|
public:
|
|
|
|
wndTex() : m_pTexture(NULL)
|
|
{
|
|
}
|
|
|
|
void SetTexture(IEditorTexture *pTex);
|
|
|
|
inline IEditorTexture *GetTexture(void)
|
|
{
|
|
return(m_pTexture);
|
|
}
|
|
|
|
protected:
|
|
|
|
IEditorTexture *m_pTexture;
|
|
|
|
afx_msg void OnPaint();
|
|
|
|
DECLARE_MESSAGE_MAP();
|
|
};
|
|
|
|
|
|
#endif // WNDTEX_H
|