XB360Window Class Reference#include <xb360Window.h>
Inheritance diagram for XB360Window: ![]()
Constructor & Destructor Documentation
Member Function Documentation
Return a pointer to the GFX device this window is bound to. A GFX device may use many windows, but a window can only be used by a single GFX device. Implements PlatformWindow.
Return a pointer to this window's render target. By setting window targets from different windows, we can effect rendering to multiple windows from a single device. Implements PlatformWindow.
If we're fullscreen, this function returns us to desktop mode. This will be either the last mode that we had that was not fullscreen, or the equivalent mode, windowed. Implements PlatformWindow.
Resize the window to have some new bounds. This includes the area needed for a title-bar, menu, borders, and other non-client elements. Implements PlatformWindow.
Set the position of this window. This means that saying setPosition at 0,0 will put the position of the window title-bar (if one exists) at 0,0 and the Client area will be offset from that point by the space needed for the Non-Client area. Implements PlatformWindow.
Lock the mouse to this window. When this is set, the mouse will always be returned to the center of the client area after every mouse event. The mouse will also be hidden while it is locked. The mouse cannot be moved out of the bounds of the window, but the window may lose focus (for instance by an alt-tab or other event). While the window lacks focus, no mouse events will be reported. Implements PlatformWindow.
Should the mouse be locked at the next opportunity ? This flag is set to the current state of the mouse lock on a window, to specify the preferred lock status of the mouse in a platform window. This is important for situations where a call is made to setMouseLocked, and the window is not in a state that it can be cleanly locked. Take for example if it was called while the window is in the background, then it is not appropriate to lock the window, but rather the window should query this state at it's next opportunity and lock the mouse if requested. Implements PlatformWindow.
Implements PlatformWindow.
Provide a simple GDI-based render for when the game is not rendering.
Friends And Related Function Documentation
Member Data Documentation
Which manager created us?
Which window comes next in list?
The GFX device that we're tied to.
Reference to the render target allocated on this window.
Our current size/resolution/fullscreen status.
An opaque ID used to resolve references to this window.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||