diff --git a/external/imgui b/external/imgui index fd75685f..527b2c45 160000 --- a/external/imgui +++ b/external/imgui @@ -1 +1 @@ -Subproject commit fd75685fb009cff45cc6ed2be6954054950c3b94 +Subproject commit 527b2c45af2f8964f95826bd16ab7c7ed372ae41 diff --git a/src/hello_imgui/doc_params.md b/src/hello_imgui/doc_params.md index 30a18f05..1637d8b8 100644 --- a/src/hello_imgui/doc_params.md +++ b/src/hello_imgui/doc_params.md @@ -1135,7 +1135,7 @@ struct DockingSplit // `direction`: *ImGuiDir_* // (enum with ImGuiDir_Down, ImGuiDir_Down, ImGuiDir_Left, ImGuiDir_Right)* // Direction where this dock space should be created. - ImGuiDir_ direction; + ImGuiDir direction; // `ratio`: _float, default=0.25f_. // Ratio of the initialDock size that should be used by the new dock space. @@ -1148,7 +1148,7 @@ struct DockingSplit // Constructor DockingSplit(const DockSpaceName& initialDock_ = "", const DockSpaceName& newDock_ = "", - ImGuiDir_ direction_ = ImGuiDir_Down, float ratio_ = 0.25f, + ImGuiDir direction_ = ImGuiDir_Down, float ratio_ = 0.25f, ImGuiDockNodeFlags nodeFlags_ = ImGuiDockNodeFlags_None) : initialDock(initialDock_), newDock(newDock_), direction(direction_), ratio(ratio_), nodeFlags(nodeFlags_) {} }; diff --git a/src/hello_imgui/docking_params.h b/src/hello_imgui/docking_params.h index 67bd8f80..c7914dfb 100644 --- a/src/hello_imgui/docking_params.h +++ b/src/hello_imgui/docking_params.h @@ -182,7 +182,7 @@ struct DockingSplit // `direction`: *ImGuiDir_* // (enum with ImGuiDir_Down, ImGuiDir_Down, ImGuiDir_Left, ImGuiDir_Right)* // Direction where this dock space should be created. - ImGuiDir_ direction; + ImGuiDir direction; // `ratio`: _float, default=0.25f_. // Ratio of the initialDock size that should be used by the new dock space. @@ -195,7 +195,7 @@ struct DockingSplit // Constructor DockingSplit(const DockSpaceName& initialDock_ = "", const DockSpaceName& newDock_ = "", - ImGuiDir_ direction_ = ImGuiDir_Down, float ratio_ = 0.25f, + ImGuiDir direction_ = ImGuiDir_Down, float ratio_ = 0.25f, ImGuiDockNodeFlags nodeFlags_ = ImGuiDockNodeFlags_None) : initialDock(initialDock_), newDock(newDock_), direction(direction_), ratio(ratio_), nodeFlags(nodeFlags_) {} };