summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
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 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);