|
|
| TestApp (Nui::Window::Style style) |
| |
| | AppBase (WStringView appName, Window::Style style, Window::Size size) |
| | Construct a new AppBase object.
|
| |
|
virtual | ~AppBase ()=default |
| | Virtual destructor.
|
| |
|
virtual void | OnInit () |
| | Called when the app is initialized (to be implemented in derived class)
|
| |
|
virtual void | OnShutdown () |
| | Called when the app is shutdown (to be implemented in derived class)
|
| |
| World * | GetWorld () const |
| | Get the world of the app.
|
| |
| | Window (Window::Style style, WStringView title, Window::Size size={ 1280, 720 }) |
| | Create a new window.
|
| |
| virtual | ~Window () |
| | Destroy the window.
|
| |
| HWND | GetHWND () const |
| | Get the window handle.
|
| |
| HINSTANCE | GetHinstance () const |
| | Get the Hinstance of the window.
|
| |
| Size | GetClientSize () const |
| | Get the client size.
|
| |
| void | SetWindowTitle (WString title) |
| | Set the window title.
|
| |
| bool | Maximized () const |
| | Check if the window is maximized.
|
| |
| bool | Focused () const |
| | Check if the window has focus.
|
| |
| bool | WantsToClose () const |
| | Runs the window message pump and checks if the window wants to close.
|
| |
| void | AddCallback (U32 msg, WndCallback callback) |
| | Add a window message callback.
|
| |
The documentation for this class was generated from the following files:
- Engine/Test/App/TestApp.h
- Engine/Test/App/TestApp.cpp