From ae49dc5d6d2b696a2e1041085fc181239bc06e6a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Feb 2013 22:47:31 +0000 Subject: 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 --- src/gui/Port.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui') 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()); } -- cgit v1.2.1