28 #ifndef __OgreWindowEventUtils_H__
29 #define __OgreWindowEventUtils_H__
36 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
37 # if !defined(WIN32_LEAN_AND_MEAN)
38 # define WIN32_LEAN_AND_MEAN
40 # if !defined(NOMINMAX) && defined(_MSC_VER)
41 # define NOMINMAX // required to stop windows.h messing up std::min
44 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE && !defined(__LP64__)
45 # include <Carbon/Carbon.h>
93 { (void)rw;
return true; }
130 static void messagePump();
172 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
173 static LRESULT CALLBACK _WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
175 #elif OGRE_PLATFORM == OGRE_PLATFORM_APPLE && !defined __OBJC__ && !defined(__LP64__)
176 static OSStatus _CarbonWindowHandler(EventHandlerCallRef nextHandler, EventRef event,
void* wnd);
Manages the target rendering window.
std::multimap< K, V, P, A > type
virtual void windowClosed(RenderWindow *rw)
virtual ~WindowEventListener()
static WindowEventListeners _msListeners
virtual void windowMoved(RenderWindow *rw)
vector< RenderWindow * >::type RenderWindowList
Render window container.
virtual void windowResized(RenderWindow *rw)
multimap< RenderWindow *, WindowEventListener * >::type WindowEventListeners
virtual void windowFocusChange(RenderWindow *rw)
virtual bool windowClosing(RenderWindow *rw)
static RenderWindowList _msWindows