Commit 5f3580a5 authored by hybrid's avatar hybrid

Added missing member functions.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1413 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 3d51b275
......@@ -46,6 +46,12 @@ namespace irr
//! returns if window is active. if not, nothing need to be drawn
virtual bool isWindowActive() const;
//! Checks if the Irrlicht window has focus
virtual bool isWindowFocused() const;
//! Checks if the Irrlicht window is minimized
virtual bool isWindowMinimized() const;
//! presents a surface in the client area
virtual void present(video::IImage* surface, void* windowId=0, core::rect<s32>* src=0 );
......
......@@ -476,11 +476,27 @@ void CIrrDeviceMacOSX::setWindowCaption(const wchar_t* text)
}
}
bool CIrrDeviceMacOSX::isWindowActive() const
{
return (_active);
}
bool isWindowFocused() const
{
// TODO: return proper value
return true;
}
bool isWindowMinimized() const
{
// TODO: return proper value
return false;
}
void CIrrDeviceMacOSX::postKeyEvent(void *event,irr::SEvent &ievent,bool pressed)
{
NSString *str;
......
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