bool SetupWindow(const String& title, const ViewConfig& viewConfig = ViewConfig());
SetupWindow creates a window and initializes the application class. Returns 0 if window creation/initialization failed (the application should quit).
Parameters |
Description |
const String& title |
The title of the window. |
const ViewConfig& viewConfig = ViewConfig() |
The view configuration settings for the window. |
Returns true if window initialization succeeded and 0 if failed.