Modified files for SDL2.

This commit is contained in:
LuisAntonRebollo 2015-01-18 22:52:29 +01:00
parent 33a0579735
commit 475f218bcd
33 changed files with 436 additions and 136 deletions

View file

@ -124,10 +124,21 @@ public:
/// Get the WindowController associated with this window
virtual void setInputController( IProcessInput *controller ) { if( mWindowInputGenerator ) mWindowInputGenerator->setInputController( controller ); };
WindowInputGenerator* getInputGenerator() const { return mWindowInputGenerator; }
/// Get the ID that uniquely identifies this window in the context of its
/// window manager.
virtual WindowId getWindowId() { return 0; };
enum WindowSystem
{
WindowSystem_Unknown = 0,
WindowSystem_Windows,
WindowSystem_X11,
};
virtual void* getSystemWindow(const WindowSystem system) { return NULL; }
/// Set the flag that determines whether to suppress a GFXDevice reset
inline void setSuppressReset(bool suppress) { mSuppressReset = suppress; };