From b89c3457bc2e072d1aca748424309ae3756db345 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 2 Dec 2011 03:48:50 +0000 Subject: Ellipse => Node. git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3743 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/NodeView.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/NodeView.cpp') diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp index 407961c..88c952c 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::Ellipse(canvas, "", x, y, 20, 20, false) + : FlowCanvas::Node(canvas, "", x, y, 20, 20, false) , _window(window) , _node(node) , _default_border_color(get_border_color()) @@ -114,10 +114,10 @@ NodeView::show_label(bool show) void NodeView::set_selected(gboolean selected) { - Ellipse::set_selected(selected); + Node::set_selected(selected); std::cerr << "FIXME: dash" << std::endl; //if (!selected) - // _ellipse.property_dash() = node_is(URIs::instance().machina_selector) ? selector_dash() : 0; + // _node.property_dash() = node_is(URIs::instance().machina_selector) ? selector_dash() : 0; } void @@ -127,7 +127,7 @@ NodeView::on_property(Machina::URIInt key, const Raul::Atom& value) static const uint32_t active_border_color = 0x00FF00FF; if (key == URIs::instance().machina_selector) { - //_ellipse.property_dash() = value.get_bool() ? selector_dash() : 0; + //_node.property_dash() = value.get_bool() ? selector_dash() : 0; std::cerr << "FIXME: dash" << std::endl; } else if (key == URIs::instance().machina_initial) { set_border_width(value.get_bool() ? 4.0 : 1.0); -- cgit v1.2.1