From a7e53bf58db679b74d2d728a71279369e603ac64 Mon Sep 17 00:00:00 2001 From: Graham Pentheny Date: Fri, 5 Sep 2025 12:02:22 -0400 Subject: [PATCH] Added text separators to label tool window sections --- RecastDemo/Source/Sample_SoloMesh.cpp | 3 ++- RecastDemo/Source/Sample_TileMesh.cpp | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/RecastDemo/Source/Sample_SoloMesh.cpp b/RecastDemo/Source/Sample_SoloMesh.cpp index 874efc76..b48474a3 100644 --- a/RecastDemo/Source/Sample_SoloMesh.cpp +++ b/RecastDemo/Source/Sample_SoloMesh.cpp @@ -104,6 +104,7 @@ void Sample_SoloMesh::drawSettingsUI() void Sample_SoloMesh::drawToolsUI() { + ImGui::SeparatorText("Tool Selection"); const SampleToolType currentType = !tool ? SampleToolType::NONE : tool->type(); #define TOOL(toolType, toolClass) \ @@ -120,7 +121,7 @@ void Sample_SoloMesh::drawToolsUI() TOOL(CROWD, CrowdTool) #undef TOOL - ImGui::Separator(); + ImGui::SeparatorText("Tool Settings"); if (tool) { diff --git a/RecastDemo/Source/Sample_TileMesh.cpp b/RecastDemo/Source/Sample_TileMesh.cpp index 1a4b35e9..5d33f2ea 100644 --- a/RecastDemo/Source/Sample_TileMesh.cpp +++ b/RecastDemo/Source/Sample_TileMesh.cpp @@ -279,6 +279,7 @@ void Sample_TileMesh::drawSettingsUI() void Sample_TileMesh::drawToolsUI() { + ImGui::SeparatorText("Tool Selection"); const SampleToolType currentType = !tool ? SampleToolType::NONE : tool->type(); #define TOOL(toolType, toolClass) \ if (ImGui::RadioButton( \ @@ -295,7 +296,7 @@ void Sample_TileMesh::drawToolsUI() TOOL(CROWD, CrowdTool) #undef TOOL - ImGui::Separator(); + ImGui::SeparatorText("Tool Settings"); if (tool) {