diff options
author | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-04-18 21:59:56 +0200 |
---|---|---|
committer | Hanspeter Portner <dev@open-music-kontrollers.ch> | 2017-04-18 21:59:56 +0200 |
commit | 97405a1cb1e5caecf92d6727e21cd66d508c337f (patch) | |
tree | 52dab5afc3f13c3a6a8c1cf67313d573c10c31d4 /include | |
parent | db0d3b93e0dfb57e8d1b42c92665b0585eb2bcc9 (diff) | |
download | synthpod-97405a1cb1e5caecf92d6727e21cd66d508c337f.tar.xz |
nk: prototype module position saving.
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 522268e0..7809caa3 100644 --- a/include/synthpod_private.h +++ b/include/synthpod_private.h @@ -348,6 +348,8 @@ struct _reg_t { reg_item_t module_visible; reg_item_t module_disabled; reg_item_t module_profiling; + reg_item_t module_position_x; + reg_item_t module_position_y; reg_item_t port_refresh; reg_item_t port_connected; reg_item_t port_subscribed; @@ -597,6 +599,8 @@ sp_regs_init(reg_t *regs, LilvWorld *world, LV2_URID_Map *map) _register(®s->synthpod.module_visible, world, map, SYNTHPOD_PREFIX"moduleVisible"); _register(®s->synthpod.module_disabled, world, map, SYNTHPOD_PREFIX"moduleDisabled"); _register(®s->synthpod.module_profiling, world, map, SYNTHPOD_PREFIX"moduleProfiling"); + _register(®s->synthpod.module_position_x, world, map, SYNTHPOD_PREFIX"modulePositionX"); + _register(®s->synthpod.module_position_y, world, map, SYNTHPOD_PREFIX"modulePositionY"); _register(®s->synthpod.port_refresh, world, map, SYNTHPOD_PREFIX"portRefresh"); _register(®s->synthpod.port_connected, world, map, SYNTHPOD_PREFIX"portConnect"); _register(®s->synthpod.port_subscribed, world, map, SYNTHPOD_PREFIX"portSubscribe"); @@ -815,6 +819,8 @@ sp_regs_deinit(reg_t *regs) _unregister(®s->synthpod.module_visible); _unregister(®s->synthpod.module_disabled); _unregister(®s->synthpod.module_profiling); + _unregister(®s->synthpod.module_position_x); + _unregister(®s->synthpod.module_position_y); _unregister(®s->synthpod.port_refresh); _unregister(®s->synthpod.port_connected); _unregister(®s->synthpod.port_subscribed); |