mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
some win32 template so shuffle can implement the win32 side
the code in the .cpp was taken from SMFL source git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1966 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8f2d1136a7
commit
a3b9c39fbf
3 changed files with 432 additions and 2 deletions
29
Source/Plugins/Plugin_VideoOGL/Src/Win32Window.h
Normal file
29
Source/Plugins/Plugin_VideoOGL/Src/Win32Window.h
Normal file
|
@ -0,0 +1,29 @@
|
|||
#ifndef _WIN32WINDOW_H
|
||||
#define _WIN32WINDOW_H
|
||||
|
||||
#include "GLWindow.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
class Win32Window : public GLWindow
|
||||
{
|
||||
virtual void SwapBuffers();
|
||||
virtual void SetWindowText(const char *text);
|
||||
virtual bool PeekMessages();
|
||||
virtual void Update();
|
||||
virtual bool MakeCurrent();
|
||||
|
||||
static bool valid() { return true; }
|
||||
~Win32Window();
|
||||
Win32Window();
|
||||
static sf::Key::Code KeysymToSF(KeySym Sym);
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
class Win32Window : public GLWindow
|
||||
{
|
||||
public:
|
||||
Win32Window {}
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue