mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Modified files for SDL2.
This commit is contained in:
parent
33a0579735
commit
475f218bcd
33 changed files with 436 additions and 136 deletions
|
|
@ -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; };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue