diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-05-11 12:22:19 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2025-05-11 12:22:19 +0100 |
commit | acb76ffa0f45c5369e103f8868356d333ab2d954 (patch) | |
tree | 8ef1116b45b2a3e7e59b4b490ca5c90d48d31081 /ui/builders/straight.h | |
parent | Link helper to get an End pointer based on position (diff) | |
download | ilt-acb76ffa0f45c5369e103f8868356d333ab2d954.tar.bz2 ilt-acb76ffa0f45c5369e103f8868356d333ab2d954.tar.xz ilt-acb76ffa0f45c5369e103f8868356d333ab2d954.zip |
Build networks with new interface
Diffstat (limited to 'ui/builders/straight.h')
-rw-r--r-- | ui/builders/straight.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/ui/builders/straight.h b/ui/builders/straight.h deleted file mode 100644 index 0a6f290..0000000 --- a/ui/builders/straight.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once -#include "../editNetwork.h" - -class Network; -class GeoData; - -class BuilderStraight : public EditNetwork::Builder { -private: - std::string hint() const override; - void click(Network * network, const GeoData * geoData, const SDL_MouseButtonEvent & e, - const Ray<GlobalPosition3D> & ray) override; - void move(Network * network, const GeoData * geoData, const SDL_MouseMotionEvent & e, - const Ray<GlobalPosition3D> & ray) override; - -public: - Link::CCollection create(Network * network, const GeoData *, GlobalPosition3D p1, GlobalPosition3D p2) const; - -private: - std::optional<GlobalPosition3D> p1; -}; |