Commit 0a0bfc7c authored by hybrid's avatar hybrid

Fix setResizeAble under Linux, which had the correct implementation as a...

Fix setResizeAble under Linux, which had the correct implementation as a private method. Also removed the dummy implementation from DeviceStub.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@646 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 41a9bf79
...@@ -77,6 +77,9 @@ namespace irr ...@@ -77,6 +77,9 @@ namespace irr
//! notifies the device that it should close itself //! notifies the device that it should close itself
virtual void closeDevice(); virtual void closeDevice();
//! Sets if the window should be resizeable in windowed mode.
virtual void setResizeAble(bool resize=false);
private: private:
//! create the driver //! create the driver
...@@ -87,9 +90,6 @@ namespace irr ...@@ -87,9 +90,6 @@ namespace irr
void createKeyMap(); void createKeyMap();
//! Sets if the window should be resizeable in windowed mode.
virtual void setResizeAble(bool resize=false);
//! Implementation of the linux cursor control //! Implementation of the linux cursor control
class CCursorControl : public gui::ICursorControl class CCursorControl : public gui::ICursorControl
{ {
......
...@@ -206,13 +206,6 @@ IOSOperator* CIrrDeviceStub::getOSOperator() ...@@ -206,13 +206,6 @@ IOSOperator* CIrrDeviceStub::getOSOperator()
} }
//! Sets if the window should be resizeable in windowed mode.
void CIrrDeviceStub::setResizeAble(bool resize)
{
}
//! Sets the input receiving scene manager. //! Sets the input receiving scene manager.
void CIrrDeviceStub::setInputReceivingSceneManager(scene::ISceneManager* sceneManager) void CIrrDeviceStub::setInputReceivingSceneManager(scene::ISceneManager* sceneManager)
{ {
......
...@@ -98,10 +98,6 @@ namespace irr ...@@ -98,10 +98,6 @@ namespace irr
//! Returns the operation system opertator object. //! Returns the operation system opertator object.
virtual IOSOperator* getOSOperator(); virtual IOSOperator* getOSOperator();
//! Sets if the window should be resizeable in windowed mode. The default
//! is false.
virtual void setResizeAble(bool resize=false);
protected: protected:
void createGUIAndScene(); void createGUIAndScene();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment