aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-02 20:17:10 +0000
committerDavid Robillard <d@drobilla.net>2011-12-02 20:17:10 +0000
commit24c8dbca89b1139658e4c2fadb8c4dd90d43040e (patch)
treed01333116083311d7353e2eeb286630e0e188ca7
parentf2f060e6b5d1cdc4e1b35c8cb62f25ae2cff0ce2 (diff)
downloadmachina-24c8dbca89b1139658e4c2fadb8c4dd90d43040e.tar.gz
machina-24c8dbca89b1139658e4c2fadb8c4dd90d43040e.tar.bz2
machina-24c8dbca89b1139658e4c2fadb8c4dd90d43040e.zip
Node => Circle.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3750 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/NodeView.cpp4
-rw-r--r--src/gui/NodeView.hpp4
2 files changed, 4 insertions, 4 deletions
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<Machina::Client::ClientObject> 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,