aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-06-04 08:50:01 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-06-04 08:50:01 +0200
commit5bfbc4227536d596a6e60d41f13cc9f7785d2e09 (patch)
tree9077e253a3fbea45d9cc33655b11eebe9d2035b9 /include
parent05b10165702a7e87ecf71cc1838829402b9d798c (diff)
downloadsynthpod-5bfbc4227536d596a6e60d41f13cc9f7785d2e09.tar.xz
Enable save/restore of side/bottombar visibility.
Diffstat (limited to 'include')
-rw-r--r--include/synthpod_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/synthpod_private.h b/include/synthpod_private.h
index af4fb8f1..27e2c5c2 100644
--- a/include/synthpod_private.h
+++ b/include/synthpod_private.h
@@ -361,6 +361,8 @@ struct _reg_t {
reg_item_t node_position_y;
reg_item_t graph_position_x;
reg_item_t graph_position_y;
+ reg_item_t column_enabled;
+ reg_item_t row_enabled;
reg_item_t port_refresh;
reg_item_t bundle_load;
reg_item_t bundle_save;
@@ -651,6 +653,8 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map)
_register(&regs->synthpod.node_position_y, world, map, SYNTHPOD_PREFIX"nodePositionY");
_register(&regs->synthpod.graph_position_x, world, map, SYNTHPOD_PREFIX"graphPositionX");
_register(&regs->synthpod.graph_position_y, world, map, SYNTHPOD_PREFIX"graphPositionY");
+ _register(&regs->synthpod.column_enabled, world, map, SYNTHPOD_PREFIX"columnEnabled");
+ _register(&regs->synthpod.row_enabled, world, map, SYNTHPOD_PREFIX"rowEnabled");
_register(&regs->synthpod.port_refresh, world, map, SYNTHPOD_PREFIX"portRefresh");
_register(&regs->synthpod.bundle_load, world, map, SYNTHPOD_PREFIX"bundleLoad");
_register(&regs->synthpod.bundle_save, world, map, SYNTHPOD_PREFIX"bundleSave");
@@ -906,6 +910,8 @@ sp_regs_deinit(reg_t *regs)
_unregister(&regs->synthpod.node_position_y);
_unregister(&regs->synthpod.graph_position_x);
_unregister(&regs->synthpod.graph_position_y);
+ _unregister(&regs->synthpod.column_enabled);
+ _unregister(&regs->synthpod.row_enabled);
_unregister(&regs->synthpod.port_refresh);
_unregister(&regs->synthpod.bundle_load);
_unregister(&regs->synthpod.bundle_save);