mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
SDLWindow also mainly for review
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1578 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
26
Source/Plugins/Plugin_VideoOGL/Src/SDLWindow.h
Normal file
26
Source/Plugins/Plugin_VideoOGL/Src/SDLWindow.h
Normal file
@ -0,0 +1,26 @@
|
||||
#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
|
Reference in New Issue
Block a user