mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 00:59:11 +01:00
db15121b5d
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1592 8ced0084-cf51-0410-be5f-012b33b47a6e
33 lines
673 B
C++
33 lines
673 B
C++
#ifndef _SDLWINDOW_H
|
|
#define _SDLWINDOW_H
|
|
|
|
#include "GLWindow.h"
|
|
#if defined HAVE_SDL && HAVE_SDL
|
|
#include <SDL.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);
|
|
|
|
};
|
|
#else
|
|
class SDLWindow : public GLWindow
|
|
{
|
|
public:
|
|
SDLWindow(int _iwidth, int _iheight) {}
|
|
};
|
|
#endif
|
|
#endif
|