summaryrefslogtreecommitdiff
path: root/ui/editNetwork.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-03-19 01:44:18 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2025-03-19 01:44:18 +0000
commitced16a1bb9ef735a2fe44b64ac594bf9b4a7f9bf (patch)
tree760cc03a9796eaa123b8f85acf2eceed3e8b5bcd /ui/editNetwork.h
parentAdd operator to get ImTextureID from an Icon (diff)
downloadilt-ced16a1bb9ef735a2fe44b64ac594bf9b4a7f9bf.tar.bz2
ilt-ced16a1bb9ef735a2fe44b64ac594bf9b4a7f9bf.tar.xz
ilt-ced16a1bb9ef735a2fe44b64ac594bf9b4a7f9bf.zip
Replace basic rail builder UI with a ImGui version
Diffstat (limited to 'ui/editNetwork.h')
-rw-r--r--ui/editNetwork.h5
1 files changed, 1 insertions, 4 deletions
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 <game/gamestate.h>
@@ -19,7 +18,7 @@ public:
bool move(const SDL_MouseMotionEvent & e, const Ray<GlobalPosition3D> &) 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<GlobalPosition3D, Node::Ptr>;
@@ -42,8 +41,6 @@ public:
private:
Network * network;
Builder::Ptr builder;
- Mode<Builder::Ptr, ModeSecondClick::NoAction> mode {builder};
- Toolbar builderToolbar;
Texture blue;
const Font font;
};