aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/NodeView.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-28 11:46:32 +0000
committerDavid Robillard <d@drobilla.net>2011-11-28 11:46:32 +0000
commit5751be18afd4a842dab93443c3366eb24e497d35 (patch)
treed48cb012556d6907388c20a015b4494cdc3b8c68 /src/gui/NodeView.cpp
parent74236c53c3d763f95a9a94dcc400f89546fc2450 (diff)
downloadmachina-5751be18afd4a842dab93443c3366eb24e497d35.tar.gz
machina-5751be18afd4a842dab93443c3366eb24e497d35.tar.bz2
machina-5751be18afd4a842dab93443c3366eb24e497d35.zip
Remove Canvas::select_dash and Connection handle style stuff.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@3668 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeView.cpp')
-rw-r--r--src/gui/NodeView.cpp25
1 files changed, 5 insertions, 20 deletions
diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp
index e417ffa..77ccd4d 100644
--- a/src/gui/NodeView.cpp
+++ b/src/gui/NodeView.cpp
@@ -108,29 +108,13 @@ NodeView::show_label(bool show)
set_name("");
}
-/// Dash style for selector node outlines
-static ArtVpathDash*
-selector_dash()
-{
- static ArtVpathDash* selector_dash = NULL;
-
- if (!selector_dash) {
- selector_dash = new ArtVpathDash();
- selector_dash->n_dash = 2;
- selector_dash->dash = art_new(double, 2);
- selector_dash->dash[0] = 8;
- selector_dash->dash[1] = 8;
- }
-
- return selector_dash;
-}
-
void
NodeView::set_selected(bool selected)
{
Ellipse::set_selected(selected);
- if (!selected)
- _ellipse.property_dash() = node_is(URIs::instance().machina_selector) ? selector_dash() : 0;
+ std::cerr << "FIXME: dash" << std::endl;
+ //if (!selected)
+ // _ellipse.property_dash() = node_is(URIs::instance().machina_selector) ? selector_dash() : 0;
}
void
@@ -140,7 +124,8 @@ 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;
+ //_ellipse.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);
} else if (key == URIs::instance().machina_active) {