diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-19 03:19:38 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-03-19 03:19:38 +0000 |
commit | 0d432961a29d509cd0d1fa80361f04009dcf9c17 (patch) | |
tree | bc7536b0ac454a3c466c904123b41498dc6b1905 /ui/editNetwork.h | |
parent | Replace basic query tool with a ImGui version (diff) | |
download | ilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.tar.bz2 ilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.tar.xz ilt-0d432961a29d509cd0d1fa80361f04009dcf9c17.zip |
Remove lots of stuff not required or superseded with ImGui use
Diffstat (limited to 'ui/editNetwork.h')
-rw-r--r-- | ui/editNetwork.h | 6 |
1 files changed, 2 insertions, 4 deletions
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 <game/gamestate.h> #include <game/network/network.h> @@ -16,9 +15,9 @@ public: bool click(const SDL_MouseButtonEvent & e, const Ray<GlobalPosition3D> &) override; bool move(const SDL_MouseMotionEvent & e, const Ray<GlobalPosition3D> &) 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<GlobalPosition3D, Node::Ptr>; @@ -42,7 +41,6 @@ private: Network * network; Builder::Ptr builder; Texture blue; - const Font font; }; template<typename T> class EditNetworkOf : public EditNetwork { |