aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-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,