diff options
author | David Robillard <d@drobilla.net> | 2013-02-02 22:47:31 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-02 22:47:31 +0000 |
commit | ae49dc5d6d2b696a2e1041085fc181239bc06e6a (patch) | |
tree | 4145a12df1e73d85946c4fe0c79450e12232a1e3 /src/gui | |
parent | 7aee45031c1bea019cb300a0289b5e99f8d429f3 (diff) | |
download | ingen-ae49dc5d6d2b696a2e1041085fc181239bc06e6a.tar.gz ingen-ae49dc5d6d2b696a2e1041085fc181239bc06e6a.tar.bz2 ingen-ae49dc5d6d2b696a2e1041085fc181239bc06e6a.zip |
Show check box for toggle ports and ellipsis for enumeration (menu) ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5033 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/Port.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 8ba42484..db7e2d51 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -106,6 +106,11 @@ Port::Port(App& app, signal_event().connect( sigc::mem_fun(this, &Port::on_event)); + if (pm->is_enumeration()) { + const uint8_t ellipsis[] = { 0xE2, 0x80, 0xA6, 0 }; + set_value_label((const char*)ellipsis); + } + update_metadata(); value_changed(pm->value()); } |