summaryrefslogtreecommitdiff
path: root/hammer/wndtex.h
blob: 42482a5062980f8a6d85cf8550001d5a05f82292 (plain) (blame)
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
42
43
44
//========= 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