/*
Copyright (C) 1996-1997 GX Media, Inc.

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  

See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

*/

#if !defined(AFX_QTEXDRAW_H__12E18A4D_CBD7_11D2_A0DB_00400543C1CD__INCLUDED_)
#define AFX_QTEXDRAW_H__12E18A4D_CBD7_11D2_A0DB_00400543C1CD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QTexDraw.h : header file
//

#include "Objects.h"

/////////////////////////////////////////////////////////////////////////////
// QTexDraw window

class QTexDraw : public CWnd
{
// Construction
public:
	QTexDraw();

// Attributes
public:

// Operations
public:

	void OnInit(void);
	void SetTexture(Texture *texture);
	void SetFaceTex(FaceTex *pFaceTex);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(QTexDraw)
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~QTexDraw();

	// Generated message map functions
protected:
	//{{AFX_MSG(QTexDraw)
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	int texBits;
	LPalette pal;
	CDC *dc;
	CBitmap *bmp;

private:
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_QTEXDRAW_H__12E18A4D_CBD7_11D2_A0DB_00400543C1CD__INCLUDED_)
