dolphin/Source/Plugins/Plugin_VideoOGL/Src/SDLWindow.h
nakeee 4ac1d4d2b3 SDLWindow also mainly for review
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1578 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-12-18 10:30:20 +00:00

26 lines
575 B
C++

#ifndef _SDLWINDOW_H
#define _SDLWINDOW_H
#include "GLWindow.h"
#include <GL/glxew.h>
#include <SDL.h>
#include <GL/gl.h>
class SDLWindow : public GLWindow
{
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();
~SDLWindow();
SDLWindow(int _iwidth, int _iheight);
};
#endif