compiling but mouse interaction is dead
This commit is contained in:
+8
-9
@@ -35,15 +35,14 @@ namespace VISEQ::GRAPH::EDGES {
|
||||
float connector_offset = 8.0f;
|
||||
float switches_offset = 25.0f;
|
||||
|
||||
virtual bool GActive() {return active;}
|
||||
|
||||
virtual EdgeType getEdgeType() const {return edgeType;}
|
||||
|
||||
std::weak_ptr<NODES::Node> getNextNode(std::weak_ptr<NODES::Node> origin){
|
||||
return start.lock() == origin.lock() ? end : start;
|
||||
}
|
||||
|
||||
void draw(Vec2Df mouse_pos, Camera2D cam) {}
|
||||
virtual bool GActive();
|
||||
virtual EdgeType getEdgeType() const;
|
||||
std::weak_ptr<NODES::Node> getNextNode(std::weak_ptr<NODES::Node> origin);
|
||||
void draw(Vec2Df mouse_pos, Camera2D cam);
|
||||
friend void to_json(json& j, const Edge& E);
|
||||
friend void from_json(const json& j, Edge& E);
|
||||
friend void to_json(json& j, const std::shared_ptr<Edge>& E);
|
||||
friend void from_json(const json& j, std::shared_ptr<Edge>& E);
|
||||
};
|
||||
|
||||
typedef std::shared_ptr<Edge> SPTR_Edge;
|
||||
|
||||
Reference in New Issue
Block a user