hl2_src-leak-2017/src/hammer/wndtex.h
BotoX 60f625f414 import hl2_src from full.7z
source: magnet:?xt=urn:btih:21DDA6847DDE983F2F8063739249D2D1D09A5DDA
2020-12-25 16:26:23 +01:00

45 lines
758 B
C++

//========= Copyright 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