mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 16:49:12 +01:00
cbdcb536bf
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1581 8ced0084-cf51-0410-be5f-012b33b47a6e
35 lines
689 B
C++
35 lines
689 B
C++
#ifndef _WXGLWINDOW_H
|
|
#define _WXGLWINDOW_H
|
|
|
|
#include "GLWindow.h"
|
|
#include <GL/glew.h>
|
|
#include "wx/wx.h"
|
|
#include "wx/glcanvas.h"
|
|
|
|
#include <GL/gl.h>
|
|
|
|
class WXGLWindow : public GLWindow
|
|
{
|
|
private:
|
|
wxGLCanvas *glCanvas;
|
|
wxFrame *frame;
|
|
wxGLContext *glCtxt;
|
|
|
|
public:
|
|
|
|
int nXoff, nYoff; // screen offset
|
|
// Since it can Stretch to fit Window, we need two different multiplication values
|
|
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);
|
|
|
|
};
|
|
#endif
|