aboutsummaryrefslogtreecommitdiff
path: root/vm_ui.c
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-22 09:18:49 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2017-03-22 09:18:49 +0100
commitfc49df1567571ec280ef36a7ed35c736db418dbc (patch)
treeeb57d5cb3f63e044fe8718301acc6106f773b31b /vm_ui.c
parente2f58c1da798af3614d6e76c347db62b66cb7d83 (diff)
downloadvm.lv2-fc49df1567571ec280ef36a7ed35c736db418dbc.tar.xz
revert port min/max back to -1/1.
Diffstat (limited to 'vm_ui.c')
-rw-r--r--vm_ui.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/vm_ui.c b/vm_ui.c
index d2fa148..554956c 100644
--- a/vm_ui.c
+++ b/vm_ui.c
@@ -192,11 +192,6 @@ _set_property(plughandle_t *handle, LV2_URID property)
handle->atom_eventTransfer, atom);
}
-#define VM_MIN -0x2000
-#define VM_MAX 0x1fff
-#define VM_RNG (VM_MAX - VM_MIN)
-#define VM_VIS (VM_RNG * 1.1f)
-
static inline void
_draw_plot(struct nk_context *ctx, const float *vals, unsigned nvals)
{