From acb76ffa0f45c5369e103f8868356d333ab2d954 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 May 2025 12:22:19 +0100 Subject: Build networks with new interface --- ui/builders/freeExtend.h | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 ui/builders/freeExtend.h (limited to 'ui/builders/freeExtend.h') diff --git a/ui/builders/freeExtend.h b/ui/builders/freeExtend.h deleted file mode 100644 index 6f28493..0000000 --- a/ui/builders/freeExtend.h +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once -#include "../editNetwork.h" - -class Network; -class GeoData; - -class BuilderFreeExtend : public EditNetwork::Builder { -private: - std::string hint() const override; - void click(Network * network, const GeoData * geoData, const SDL_MouseButtonEvent & e, - const Ray & ray) override; - void move(Network * network, const GeoData * geoData, const SDL_MouseMotionEvent & e, - const Ray & ray) override; - -public: - Link::CCollection createJoin(Network * network, const GeoData *, GlobalPosition3D, GlobalPosition3D) const; - Link::CCollection createExtend(Network * network, const GeoData *, GlobalPosition3D, GlobalPosition3D) const; - -private: - std::optional p1; -}; -- cgit v1.2.3