www.pudn.com > cad3d.zip > WxWindowsRc.h


/***************************************************************************
                          wxWindowsRc.h  -  description
                             -------------------
    begin                : Sat Mar 16 2002
    copyright            : (C) 2002 by Martin Marinov
    email                : martin_marinov@hotmail.com
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef __wxWindowsRc_h__
#define __wxWindowsRc_h__
   
#include "OglSupport/IRenderContext.h"

class wxGLCanvas;

class CWxWindowsRc : public IRenderContext
{
private:
	wxGLCanvas* 		m_pWxGlCanvas;

public:
	CWxWindowsRc(wxGLCanvas* pWxGlCanvas);
	~CWxWindowsRc();
	
	virtual void 		SwapBuffers();
	virtual void		MakeCurrent();
	virtual void		Create();
	virtual void		Destroy();
 	virtual void		SetupFormat();
};

#endif//__wxWindowsRc_h__