From 64daa49989e77c1dae5ed6a551f14a3f1ca8b306 Mon Sep 17 00:00:00 2001 From: eres-j Date: Sat, 11 Nov 2017 23:04:51 +0200 Subject: [PATCH] Update to Rack v0.5.0. --- Makefile | 2 +- res/CleanRingModulator.svg | 23 ++--------------------- src/JE.cpp | 13 ++++++++----- 3 files changed, 11 insertions(+), 27 deletions(-) diff --git a/Makefile b/Makefile index 81bf965..38d6eb6 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ SOURCES += $(wildcard components/*.cpp) SOURCES += $(wildcard utils/*.cpp) SOURCES += $(wildcard widgets/*.cpp) -FLAGS += -I. -DJE_VERSION=0.0.1 -DMANUFACTURE_SLUG="JulienEres" -DMANUFACTURE_NAME="Julien Eres" +FLAGS += -I. -DJE_VERSION=0.5.0 -DJE_MANUFACTURER="Julien Eres" include ../../plugin.mk diff --git a/res/CleanRingModulator.svg b/res/CleanRingModulator.svg index 066a557..ddf93fe 100644 --- a/res/CleanRingModulator.svg +++ b/res/CleanRingModulator.svg @@ -10,32 +10,13 @@ xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" - width="39.551998mm" - height="100.54166mm" + width="149.487873" + height="380.00003" viewBox="0 0 39.551999 100.54167" version="1.1" id="svg4541" sodipodi:docname="CleanRingModulator.svg" inkscape:version="0.92.2 (5c3e80d, 2017-08-06)"> - - - - - - - slug = "JE"; - plugin->name = TOSTRING(MANUFACTURE_NAME); - //plugin->version = TOSTRING(JE_VERSION); + plugin->version = TOSTRING(JE_VERSION); + plugin->website = "https://github.com/eres-j/VCVRack-plugin-JE"; + plugin->manual = "https://github.com/eres-j/VCVRack-plugin-JE"; - rack::createModel(p, - /*TOSTRING(MANUFACTURE_SLUG), TOSTRING(MANUFACTURE_NAME),*/ - "RingModulator", "Ring Modulator"); + p->addModel(rack::createModel( + TOSTRING(JE_MANUFACTURER), + "RingModulator", "Ring Modulator", + rack::EFFECT_TAG, rack::RING_MODULATOR_TAG + )); }