From 0d432961a29d509cd0d1fa80361f04009dcf9c17 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 19 Mar 2025 03:19:38 +0000 Subject: Remove lots of stuff not required or superseded with ImGui use --- ui/editNetwork.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ui/editNetwork.h') diff --git a/ui/editNetwork.h b/ui/editNetwork.h index 805e7ec..c25bef2 100644 --- a/ui/editNetwork.h +++ b/ui/editNetwork.h @@ -2,7 +2,6 @@ #include "game/geoData.h" #include "gameMainSelector.h" -#include "toolbar.h" #include "worldOverlay.h" #include #include @@ -16,9 +15,9 @@ public: bool click(const SDL_MouseButtonEvent & e, const Ray &) override; bool move(const SDL_MouseMotionEvent & e, const Ray &) override; - bool handleInput(const SDL_Event & e, const UIComponent::Position &) override; + bool handleInput(const SDL_Event & e) override; void render(const SceneShader &, const Frustum &) const override; - void render(const UIShader & shader, const UIComponent::Position & pos) override; + void render(const UIShader & shader) override; using NetworkClickPos = std::variant; @@ -42,7 +41,6 @@ private: Network * network; Builder::Ptr builder; Texture blue; - const Font font; }; template class EditNetworkOf : public EditNetwork { -- cgit v1.2.3