From ced16a1bb9ef735a2fe44b64ac594bf9b4a7f9bf Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 19 Mar 2025 01:44:18 +0000 Subject: Replace basic rail builder UI with a ImGui version --- ui/editNetwork.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ui/editNetwork.h') diff --git a/ui/editNetwork.h b/ui/editNetwork.h index ae887bd..805e7ec 100644 --- a/ui/editNetwork.h +++ b/ui/editNetwork.h @@ -2,7 +2,6 @@ #include "game/geoData.h" #include "gameMainSelector.h" -#include "modeHelper.h" #include "toolbar.h" #include "worldOverlay.h" #include @@ -19,7 +18,7 @@ public: bool move(const SDL_MouseMotionEvent & e, const Ray &) override; bool handleInput(const SDL_Event & e, const UIComponent::Position &) override; void render(const SceneShader &, const Frustum &) const override; - void render(const UIShader & shader, const UIComponent::Position & pos) const override; + void render(const UIShader & shader, const UIComponent::Position & pos) override; using NetworkClickPos = std::variant; @@ -42,8 +41,6 @@ public: private: Network * network; Builder::Ptr builder; - Mode mode {builder}; - Toolbar builderToolbar; Texture blue; const Font font; }; -- cgit v1.2.3