Go to the documentation of this file.
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 void windowResized(RenderWindow *rw)
Manages the target rendering window.
virtual bool windowClosing(RenderWindow *rw)
multimap< RenderWindow *, WindowEventListener * >::type WindowEventListeners
vector< RenderWindow * >::type RenderWindowList
Render window container.
static RenderWindowList _msWindows
std::multimap< K, V, P, A > type
virtual void windowClosed(RenderWindow *rw)
virtual ~WindowEventListener()
virtual void windowFocusChange(RenderWindow *rw)
static WindowEventListeners _msListeners
virtual void windowMoved(RenderWindow *rw)
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15