From 1f14089d0d6adbd1072b022dfaeb17a1975e8b38 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 19 Mar 2025 01:44:18 +0000 Subject: Replace basic query tool with a ImGui version --- ui/gameMainWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ui/gameMainWindow.cpp') diff --git a/ui/gameMainWindow.cpp b/ui/gameMainWindow.cpp index c1e135b..356d522 100644 --- a/ui/gameMainWindow.cpp +++ b/ui/gameMainWindow.cpp @@ -3,6 +3,7 @@ #include "gameMainSelector.h" #include "imgui_extras.h" #include "manualCameraController.h" +#include "queryTool.h" #include #include #include @@ -29,6 +30,9 @@ public: if (ImGui::ImageButton("Build rails", *buildRailsIcon, TOOLBAR_ICON_SIZE)) { gms->target = std::make_unique>(); } + if (ImGui::ImageButton("Query", *buildRailsIcon, TOOLBAR_ICON_SIZE)) { + gms->target = std::make_unique(); + } IltGui::EndToolbar(); } } -- cgit v1.2.3