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);
virtual bool windowClosing(RenderWindow *rw)
vector< RenderWindow * >::type RenderWindowList
Render window container.
virtual void windowResized(RenderWindow *rw)
virtual ~WindowEventListener()
std::multimap< K, V, P, A > type
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
virtual void windowFocusChange(RenderWindow *rw)
Manages the target rendering window.
multimap< RenderWindow *, WindowEventListener * >::type WindowEventListeners
static WindowEventListeners _msListeners
virtual void windowMoved(RenderWindow *rw)
virtual void windowClosed(RenderWindow *rw)
static RenderWindowList _msWindows