First trial in backend, compiles but not checked or enabled (mostly for general review)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1570 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-12-17 23:49:35 +00:00
parent 8e127c38e2
commit 4a879698ac
6 changed files with 389 additions and 5 deletions

View File

@ -0,0 +1,35 @@
#ifndef _GLWINDOW_H
#define _GLWINDOW_H
#include "Common.h"
#include "Globals.h"
#include "Config.h"
#include "pluginspecs_video.h"
class GLWindow {
private:
u32 width, height;
public:
/* int screen;
int x, y;
unsigned int depth;*/
virtual void SwapBuffers() = 0;
virtual void SetWindowText(const char *text) = 0;
virtual bool PeekMessages() = 0;
virtual void Update() = 0;
virtual bool MakeCurrent() = 0;
virtual void SetSize(u32 newWidth, u32 newHeight) {
width = newWidth;
height = newHeight;
};
u32 GetWidth() {return width;}
u32 GetHeight() {return height;}
// bool GLwindow(SVideoInitialize &_VideoInitialize, int _iwidth, int _iheight) {};
// setResolution
// resolution iter
};
#endif