diff options
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 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 |