XLE
v0.02.0
|
An independent window in OS presentation scheme More...
#include <OverlappedWindow.h>
Public Types | |
enum | PumpResult { Continue, Terminate } |
Public Member Functions | |
const void * | GetUnderlyingHandle () const |
std::pair< Int2, Int2 > | GetRect () const |
void | SetTitle (const char titleText[]) |
InputTranslator & | GetInputTranslator () |
void | AddWindowHandler (std::shared_ptr< IWindowHandler > handler) |
Static Public Member Functions | |
static PumpResult | DoMsgPump () |
Protected Attributes | |
std::unique_ptr< Pimpl > | _pimpl |
An independent window in OS presentation scheme
Creates and manages an independent OS window. The result depends on the particular OS. But on an OS like Microsoft Windows, we should expect a new top-level window to appear. A normal game will have just one window like this, and will attach a rendering surface to the window.
To associate a presentation chain with the window, follow this example: