From 4883072dcfabfe0ee5dff955250ea25b13c32563 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 2 Feb 2013 23:26:18 +0000 Subject: GUI support for integer controls. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@5034 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/Port.hpp | 1 + ganv/port.h | 4 ++++ 2 files changed, 5 insertions(+) (limited to 'ganv') 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 @@ -66,6 +66,10 @@ void 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); -- cgit v1.2.1