diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2018-06-04 08:50:01 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2018-06-04 08:50:01 +0200 |
commit | 5bfbc4227536d596a6e60d41f13cc9f7785d2e09 (patch) | |
tree | 9077e253a3fbea45d9cc33655b11eebe9d2035b9 /include | |
parent | 05b10165702a7e87ecf71cc1838829402b9d798c (diff) | |
download | synthpod-5bfbc4227536d596a6e60d41f13cc9f7785d2e09.tar.xz |
Enable save/restore of side/bottombar visibility.
Diffstat (limited to 'include')
-rw-r--r-- | include/synthpod_private.h | 6 |
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(®s->synthpod.node_position_y, world, map, SYNTHPOD_PREFIX"nodePositionY"); _register(®s->synthpod.graph_position_x, world, map, SYNTHPOD_PREFIX"graphPositionX"); _register(®s->synthpod.graph_position_y, world, map, SYNTHPOD_PREFIX"graphPositionY"); + _register(®s->synthpod.column_enabled, world, map, SYNTHPOD_PREFIX"columnEnabled"); + _register(®s->synthpod.row_enabled, world, map, SYNTHPOD_PREFIX"rowEnabled"); _register(®s->synthpod.port_refresh, world, map, SYNTHPOD_PREFIX"portRefresh"); _register(®s->synthpod.bundle_load, world, map, SYNTHPOD_PREFIX"bundleLoad"); _register(®s->synthpod.bundle_save, world, map, SYNTHPOD_PREFIX"bundleSave"); @@ -906,6 +910,8 @@ sp_regs_deinit(reg_t *regs) _unregister(®s->synthpod.node_position_y); _unregister(®s->synthpod.graph_position_x); _unregister(®s->synthpod.graph_position_y); + _unregister(®s->synthpod.column_enabled); + _unregister(®s->synthpod.row_enabled); _unregister(®s->synthpod.port_refresh); _unregister(®s->synthpod.bundle_load); _unregister(®s->synthpod.bundle_save); |