MacWindowManager
Engine/source/windowManager/mac/macWindowManager.h
Desktop Queries
Return the extents in window coordinates of the primary desktop area.
getMonitorRegions(Vector< RectI > & regions)
Populate a vector with all monitors and their extents in window space.
Retrieve the currently set desktop bit depth.
Retrieve the currently set desktop resolution.
Window Lookup
Get the number of Window's in this system.
getWindows(VectorPtr< PlatformWindow * > & windows)
Populate a list with references to all the windows created from this manager.
Get a window from a device ID.
Get the first window in the window list.
Get the window that currently has the input focus or NULL.
During full-screen toggles we want to suppress ugly transition states, which we do (on Win32) by showing and hiding a full-monitor black window.
Command Line Usage
Private Attributes
Public Functions
_addWindow(MacWindow * window)
_onAppSignal(WindowId wnd, S32 event)
_removeWindow(MacWindow * window)
bool
canWindowGainFocus(MacWindow * window)
createWindow(GFXDevice * device, const GFXVideoMode & mode)
Create a new window, appropriate for the specified device and mode.
void *
Get the parent window.
bool
setParentWindow(void * newParent)
Set the parent window.
Detailed Description
Desktop Queries
getPrimaryDesktopArea()
Reimplemented from: PlatformWindowManager
getMonitorRegions(Vector< RectI > & regions)
Reimplemented from: PlatformWindowManager
getDesktopBitDepth()
Reimplemented from: PlatformWindowManager
getDesktopResolution()
Reimplemented from: PlatformWindowManager
Window Lookup
getWindowCount()
Get the number of Window's in this system.
getWindows(VectorPtr< PlatformWindow * > & windows)
Reimplemented from: PlatformWindowManager
getWindowById(WindowId id)
Reimplemented from: PlatformWindowManager
getFirstWindow()
Reimplemented from: PlatformWindowManager
getFocusedWindow()
Reimplemented from: PlatformWindowManager
lowerCurtain()
Reimplemented from: PlatformWindowManager
raiseCurtain()
Reimplemented from: PlatformWindowManager
Command Line Usage
_processCmdLineArgs(const S32 argc, const char ** argv)
Reimplemented from: PlatformWindowManager
Private Types
typedef VectorPtr< MacWindow * > WindowList
Private Attributes
U32 mFadeToken
bool mIsShuttingDown
Delegate< bool(void)> mNotifyShutdownDelegate
WindowList mWindowList
Public Functions
MacWindowManager()
~MacWindowManager()
_addWindow(MacWindow * window)
_onAppSignal(WindowId wnd, S32 event)
_removeWindow(MacWindow * window)
canWindowGainFocus(MacWindow * window)
createWindow(GFXDevice * device, const GFXVideoMode & mode)
Reimplemented from: PlatformWindowManager
getParentWindow()
Reimplemented from: PlatformWindowManager
onShutdown()
setParentWindow(void * newParent)
Reimplemented from: PlatformWindowManager