Click here to Skip to main content
15,896,269 members
Articles / Multimedia / OpenGL

anyTex - a class for non-restrictive textures in OpenGL

Rate me:
Please Sign up or sign in to vote.
4.85/5 (12 votes)
24 Jul 2005CPOL4 min read 63K   2.9K   20  
anyTex - a class for non-restrictive textures in OpenGL.
// AnyTexTesterDlg.h : header file
//

#if !defined(AFX_ANYTEXTESTERDLG_H__F12D03CE_CE9E_4607_8FF2_F7CA32A7E25B__INCLUDED_)
#define AFX_ANYTEXTESTERDLG_H__F12D03CE_CE9E_4607_8FF2_F7CA32A7E25B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "AnyTex.h"
#include "OglDisplay.h"

/////////////////////////////////////////////////////////////////////////////
// CAnyTexTesterDlg dialog

class CAnyTexTesterDlg : public CDialog
{
// Construction
public:
	CAnyTexTesterDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CAnyTexTesterDlg)
	enum { IDD = IDD_ANYTEXTESTER_DIALOG };
	OglDisplay	m_oglDisplay;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAnyTexTesterDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
public:
	AnyTex m_atImage;
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CAnyTexTesterDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnTimer(UINT nIDEvent);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ANYTEXTESTERDLG_H__F12D03CE_CE9E_4607_8FF2_F7CA32A7E25B__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
Europe Europe
More than 30 years of software development experience.
(also playing the SCRUM Master role depending on the project)

Comments and Discussions