[wpigui] Add support for imgui config flags

This commit is contained in:
Peter Johnson
2022-06-01 21:27:00 -07:00
parent 873e72df8c
commit b873e208b4
2 changed files with 8 additions and 3 deletions

View File

@@ -30,8 +30,10 @@ void DestroyContext();
* @param title main application window title
* @param width main application window width
* @param height main application window height
* @param configFlags ImGui configuration flags
*/
bool Initialize(const char* title, int width, int height);
bool Initialize(const char* title, int width, int height,
ImGuiConfigFlags configFlags = ImGuiConfigFlags_None);
/**
* Runs main GUI loop. On some OS'es this must be called from the main thread.