From db81a32966df606790c5167b5afb4cc6dd439b5f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 28 Nov 2011 08:04:00 +0000 Subject: Implement port boxes as a custom gnomecanvas C widget. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3663 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/Port.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/gui/Port.cpp') diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index f4c00b15..c492d2aa 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -78,8 +78,8 @@ Port::Port(App& app, { assert(pm); - ArtVpathDash* dash = this->dash(); - _rect.property_dash() = dash; + //ArtVpathDash* dash = this->dash(); + //_rect.property_dash() = dash; set_border_width(1.0); pm->signal_moved().connect(sigc::mem_fun(this, &Port::moved)); @@ -266,9 +266,7 @@ Port::property_changed(const URI& key, const Atom& value) if (value == uris.lv2_toggled) set_toggled(true); } else if (key == uris.ctx_context) { - ArtVpathDash* dash = this->dash(); - _rect.property_dash() = dash; - set_border_width(dash ? 2.0 : 0.0); + Raul::info << "TODO: Visual indication of port context?" << std::endl; } else if (key == uris.lv2_name) { if (value.type() == Atom::STRING && _app.configuration()->name_style() == Configuration::HUMAN) { -- cgit v1.2.1