From 24c8dbca89b1139658e4c2fadb8c4dd90d43040e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Dec 2011 20:17:10 +0000 Subject: Node => Circle. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3750 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NodeView.cpp | 4 ++-- src/gui/NodeView.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp index 60b13a7..5aadde1 100644 --- a/src/gui/NodeView.cpp +++ b/src/gui/NodeView.cpp @@ -34,7 +34,7 @@ NodeView::NodeView(Gtk::Window* window, SharedPtr node, double x, double y) - : FlowCanvas::Node(canvas, "", x, y, 20, false) + : FlowCanvas::Circle(canvas, "", x, y, 20, false) , _window(window) , _node(node) , _default_border_color(get_border_color()) @@ -114,7 +114,7 @@ NodeView::show_label(bool show) void NodeView::set_selected(gboolean selected) { - Node::set_selected(selected); + Circle::set_selected(selected); std::cerr << "FIXME: dash" << std::endl; //if (!selected) // _node.property_dash() = node_is(URIs::instance().machina_selector) ? selector_dash() : 0; diff --git a/src/gui/NodeView.hpp b/src/gui/NodeView.hpp index a63f2ab..3c00b66 100644 --- a/src/gui/NodeView.hpp +++ b/src/gui/NodeView.hpp @@ -18,14 +18,14 @@ #ifndef MACHINA_NODEVIEW_HPP #define MACHINA_NODEVIEW_HPP -#include "flowcanvas/Node.hpp" +#include "flowcanvas/Circle.hpp" #include "client/ClientObject.hpp" #include "machina/types.hpp" class NodeView - : public FlowCanvas::Node + : public FlowCanvas::Circle , public Machina::Client::ClientObject::View { public: NodeView(Gtk::Window* window, -- cgit v1.2.1