diff options
author | David Robillard <d@drobilla.net> | 2013-02-02 23:26:18 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-02-02 23:26:18 +0000 |
commit | 4883072dcfabfe0ee5dff955250ea25b13c32563 (patch) | |
tree | 5828bf7c72af7337c8a5404dfad0ba209c016329 /ganv | |
parent | 87a6387a120fb93503c2d728f57c8f8e1497fe74 (diff) | |
download | ganv-4883072dcfabfe0ee5dff955250ea25b13c32563.tar.gz ganv-4883072dcfabfe0ee5dff955250ea25b13c32563.tar.bz2 ganv-4883072dcfabfe0ee5dff955250ea25b13c32563.zip |
GUI support for integer controls.
git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5034 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ganv')
-rw-r--r-- | ganv/Port.hpp | 1 | ||||
-rw-r--r-- | ganv/port.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/ganv/Port.hpp b/ganv/Port.hpp index 47136a5..ac1a5f9 100644 --- a/ganv/Port.hpp +++ b/ganv/Port.hpp @@ -56,6 +56,7 @@ public: METHOD0(ganv_port, show_control) METHOD0(ganv_port, hide_control) METHOD1(ganv_port, set_control_is_toggle, gboolean, is_toggle) + METHOD1(ganv_port, set_control_is_integer, gboolean, is_integer) METHOD1(ganv_port, set_control_value, float, value) METHOD1(ganv_port, set_control_min, float, min) METHOD1(ganv_port, set_control_max, float, max) diff --git a/ganv/port.h b/ganv/port.h index ff258cb..9775ac6 100644 --- a/ganv/port.h +++ b/ganv/port.h @@ -67,6 +67,10 @@ ganv_port_set_control_is_toggle(GanvPort* port, gboolean is_toggle); void +ganv_port_set_control_is_integer(GanvPort* port, + gboolean is_integer); + +void ganv_port_set_control_value(GanvPort* port, float value); |