renamed handleCommonSettings to drawCommonSettingsUI

This commit is contained in:
Graham Pentheny
2025-08-05 13:52:37 -04:00
parent a899c3cb0f
commit 6ebbb12684
5 changed files with 5 additions and 5 deletions

View File

@@ -185,5 +185,5 @@ public:
void renderOverlayToolStates(double* proj, double* model, int* view) const;
void resetCommonSettings();
void handleCommonSettings();
void drawCommonSettingsUI();
};

View File

@@ -202,7 +202,7 @@ void Sample::resetCommonSettings()
partitionType = SAMPLE_PARTITION_WATERSHED;
}
void Sample::handleCommonSettings()
void Sample::drawCommonSettingsUI()
{
ImGui::SeparatorText("Rasterization");
DrawFloatSlider(&cellSize, 0.1f, 1.0f, "##Cell Size", "Cell Size", "%.2f");

View File

@@ -94,7 +94,7 @@ void Sample_SoloMesh::drawSettingsUI()
{
static const char* fileName = "solo_navmesh.bin";
handleCommonSettings();
drawCommonSettingsUI();
ImGui::PushItemWidth(ImGui::GetContentRegionAvail().x);
if (ImGui::Button("Save"))

View File

@@ -901,7 +901,7 @@ Sample_TempObstacles::~Sample_TempObstacles()
void Sample_TempObstacles::drawSettingsUI()
{
handleCommonSettings();
drawCommonSettingsUI();
ImGui::Checkbox("Keep Itermediate Results", &keepIntermediateResults);
ImGui::Text("Tiling");

View File

@@ -227,7 +227,7 @@ void Sample_TileMesh::cleanup()
void Sample_TileMesh::drawSettingsUI()
{
Sample::handleCommonSettings();
drawCommonSettingsUI();
ImGui::Checkbox("Build All Tiles", &buildAll);