aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/NodeView.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-02 03:48:50 +0000
committerDavid Robillard <d@drobilla.net>2011-12-02 03:48:50 +0000
commitb89c3457bc2e072d1aca748424309ae3756db345 (patch)
treeee3a7ee4611d1399755d287a64da0bf5168295eb /src/gui/NodeView.cpp
parent4a2ad4c2bd0d4e96a2844272681a5560733a91b6 (diff)
downloadmachina-b89c3457bc2e072d1aca748424309ae3756db345.tar.gz
machina-b89c3457bc2e072d1aca748424309ae3756db345.tar.bz2
machina-b89c3457bc2e072d1aca748424309ae3756db345.zip
Ellipse => Node.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3743 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeView.cpp')
-rw-r--r--src/gui/NodeView.cpp8
1 files changed, 4 insertions, 4 deletions
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<Machina::Client::ClientObject> 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);