diff options
author | David Robillard <d@drobilla.net> | 2011-11-28 08:04:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-28 08:04:00 +0000 |
commit | db81a32966df606790c5167b5afb4cc6dd439b5f (patch) | |
tree | 23d117cb8652f422a895e11ac28b5b0cf97e3f49 | |
parent | 50ef64d499a6dab76cbefb0dd4faa9c71cf338e5 (diff) | |
download | ingen-db81a32966df606790c5167b5afb4cc6dd439b5f.tar.gz ingen-db81a32966df606790c5167b5afb4cc6dd439b5f.tar.bz2 ingen-db81a32966df606790c5167b5afb4cc6dd439b5f.zip |
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
-rw-r--r-- | src/gui/Port.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
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) { |