dolphin/Source/Plugins/Plugin_VideoOGL/Src/WXGLWindow.h
nakeee d640dec401 more code clean up
gltest compiles on linux, not working yet


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1615 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-20 22:18:52 +00:00

38 lines
660 B
C++

#ifndef _WXGLWINDOW_H
#define _WXGLWINDOW_H
#include "GLWindow.h"
#if defined USE_WX && USE_WX
#include "wx/wx.h"
#include "wx/glcanvas.h"
class WXGLWindow : public GLWindow
{
private:
wxGLCanvas *glCanvas;
wxFrame *frame;
wxGLContext *glCtxt;
public:
float MValueX, MValueY;
virtual void SwapBuffers();
virtual void SetWindowText(const char *text);
virtual bool PeekMessages();
virtual void Update();
virtual bool MakeCurrent();
~WXGLWindow();
WXGLWindow(int _iwidth, int _iheight);
};
#else
class WXGLWindow : public GLWindow
{
public:
WXGLWindow(int _iwidth, int _iheight) {}
};
#endif
#endif