summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-02-02 22:47:31 +0000
committerDavid Robillard <d@drobilla.net>2013-02-02 22:47:31 +0000
commit87a6387a120fb93503c2d728f57c8f8e1497fe74 (patch)
tree995572c6afb41720f2e7117a6507e869400a9c6a /ganv
parent05ed966ecb29f9661bd03e0a790faf5ee0e4b606 (diff)
downloadganv-87a6387a120fb93503c2d728f57c8f8e1497fe74.tar.gz
ganv-87a6387a120fb93503c2d728f57c8f8e1497fe74.tar.bz2
ganv-87a6387a120fb93503c2d728f57c8f8e1497fe74.zip
Show check box for toggle ports and ellipsis for enumeration (menu) ports.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5033 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv')
-rw-r--r--ganv/Port.hpp1
-rw-r--r--ganv/port.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/ganv/Port.hpp b/ganv/Port.hpp
index 0c15571..47136a5 100644
--- a/ganv/Port.hpp
+++ b/ganv/Port.hpp
@@ -59,6 +59,7 @@ public:
METHOD1(ganv_port, set_control_value, float, value)
METHOD1(ganv_port, set_control_min, float, min)
METHOD1(ganv_port, set_control_max, float, max)
+ METHOD1(ganv_port, set_value_label, const char*, str);
sigc::signal<void, GVariant*> signal_value_changed;
diff --git a/ganv/port.h b/ganv/port.h
index aeb4846..ff258cb 100644
--- a/ganv/port.h
+++ b/ganv/port.h
@@ -53,6 +53,10 @@ ganv_port_set_direction(GanvPort* port,
GanvDirection direction);
void
+ganv_port_set_value_label(GanvPort* port,
+ const char* str);
+
+void
ganv_port_show_control(GanvPort* port);
void