aboutsummaryrefslogtreecommitdiff
path: root/include/synthpod_private.h
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-04-06 22:28:53 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-04-06 22:32:37 +0200
commit113c350e26d27a0034579fc9aa05bdf417567c99 (patch)
tree4dbcb88ae7cb89792494c28d16f01282c87b57fd /include/synthpod_private.h
parent356657c10fb934bb20c0a2ab61a85449f6f53ce5 (diff)
downloadsynthpod-113c350e26d27a0034579fc9aa05bdf417567c99.zip
synthpod-113c350e26d27a0034579fc9aa05bdf417567c99.tar.gz
synthpod-113c350e26d27a0034579fc9aa05bdf417567c99.tar.bz2
synthpod-113c350e26d27a0034579fc9aa05bdf417567c99.tar.xz
idisp: disable when canvas:graph parameter preset.
Diffstat (limited to 'include/synthpod_private.h')
-rw-r--r--include/synthpod_private.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h
index 09e803d..7f7744e 100644
--- a/include/synthpod_private.h
+++ b/include/synthpod_private.h
@@ -51,6 +51,7 @@
#include <lv2_extensions.h> // ardour inline display
#include <osc.lv2/osc.h>
+#include <canvas.lv2/canvas.h>
typedef enum _port_type_t port_type_t;
typedef enum _port_atom_type_t port_atom_type_t;
@@ -277,6 +278,10 @@ struct _reg_t {
} xpress;
struct {
+ reg_item_t graph;
+ } canvas;
+
+ struct {
reg_item_t group;
reg_item_t left;
reg_item_t right;
@@ -576,6 +581,8 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map)
_register(&regs->xpress.message, world, map, "http://open-music-kontrollers.ch/lv2/xpress#Message");
+ _register(&regs->canvas.graph, world, map, CANVAS__graph);
+
_register(&regs->group.group, world, map, LV2_PORT_GROUPS__group);
_register(&regs->group.left, world, map, LV2_PORT_GROUPS__left);
_register(&regs->group.right, world, map, LV2_PORT_GROUPS__right);
@@ -836,6 +843,8 @@ sp_regs_deinit(reg_t *regs)
_unregister(&regs->xpress.message);
+ _unregister(&regs->canvas.graph);
+
_unregister(&regs->group.group);
_unregister(&regs->group.left);
_unregister(&regs->group.right);