#include <NativeWindow.h>
Inherited by AzFramework::NativeWindowImpl_Win32, and AzFramework::XcbNativeWindow.
Public Member Functions | |
| void | InitWindow (const AZStd::string &title, const WindowGeometry &geometry, const WindowStyleMasks &styleMasks) |
| virtual void | Activate () |
| virtual void | Deactivate () |
| bool | IsActive () const |
| virtual NativeWindowHandle | GetWindowHandle () const =0 |
| virtual void | SetWindowTitle (const AZStd::string &title) |
| virtual WindowSize | GetClientAreaSize () const |
| virtual WindowSize | GetMaximumClientAreaSize () const |
| virtual void | ResizeClientArea (WindowSize clientAreaSize, const WindowPosOptions &options) |
| virtual bool | SupportsClientAreaResize () const |
| virtual WindowSize | GetRenderResolution () const |
| virtual void | SetRenderResolution (WindowSize resolution) |
| virtual bool | GetFullScreenState () const |
| virtual void | SetFullScreenState (bool fullScreenState) |
| virtual bool | CanToggleFullScreenState () const |
| virtual float | GetDpiScaleFactor () const |
| virtual uint32_t | GetDisplayRefreshRate () const |
Static Public Member Functions | |
| static Implementation * | Create () |
Protected Attributes | |
| uint32_t | m_width = 0 |
| uint32_t | m_height = 0 |
| bool | m_activated = false |
| WindowSize | m_renderResolution |
The NativeWindow implementation. Extend this to provide windowing capabilities per platform. It's expected that only one Implementation::Create method will be available per-platform.