Commit c294fb0a authored by hybrid's avatar hybrid

Fix MacOSX consts.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1038 dfc29bdd-3216-0410-991c-e03cc46cb475
parent bb7da0c6
...@@ -49,7 +49,7 @@ namespace irr ...@@ -49,7 +49,7 @@ namespace irr
virtual void setWindowCaption(const wchar_t* text); virtual void setWindowCaption(const wchar_t* text);
//! returns if window is active. if not, nothing need to be drawn //! returns if window is active. if not, nothing need to be drawn
virtual bool isWindowActive(); virtual bool isWindowActive() const;
//! presents a surface in the client area //! presents a surface in the client area
virtual void present(video::IImage* surface, s32 windowId = 0, core::rect<s32>* src=0 ); virtual void present(video::IImage* surface, s32 windowId = 0, core::rect<s32>* src=0 );
...@@ -92,7 +92,7 @@ namespace irr ...@@ -92,7 +92,7 @@ namespace irr
} }
//! Returns if the cursor is currently visible. //! Returns if the cursor is currently visible.
virtual bool isVisible() virtual bool isVisible() const
{ {
return IsVisible; return IsVisible;
} }
......
...@@ -422,7 +422,7 @@ void CIrrDeviceMacOSX::setWindowCaption(const wchar_t* text) ...@@ -422,7 +422,7 @@ void CIrrDeviceMacOSX::setWindowCaption(const wchar_t* text)
} }
} }
bool CIrrDeviceMacOSX::isWindowActive() bool CIrrDeviceMacOSX::isWindowActive() const
{ {
return (_active); return (_active);
} }
......
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