diff --git a/Makefile b/Makefile index 3a2369e..1cf2604 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ SOURCES = src/Simple.cpp \ utils/WavWriter.cpp \ utils/StateMachine.cpp \ utils/Path.cpp \ - utils/TextDisplay.cpp \ + utils/TextDisplay.cpp \ utils/VuMeter.cpp \ utils/write_wav.c @@ -20,18 +20,6 @@ FLAGS += -I"." include ../../plugin.mk -ifeq ($(ARCH), lin) - LDFLAGS += -L../../dep/lib -lglfw -endif - -ifeq ($(ARCH), mac) - LDFLAGS += -L../../dep/lib -lglfw -endif - -ifeq ($(ARCH), win) - LDFLAGS += -L../../dep/lib -lglfw3dll -endif - dist: all ifndef VERSION $(error VERSION must be defined when making distributables) diff --git a/src/Recorder.cpp b/src/Recorder.cpp index 64a157f..47cb3a9 100644 --- a/src/Recorder.cpp +++ b/src/Recorder.cpp @@ -306,7 +306,6 @@ bool RecorderWidget::selectOutputFile() { setOutputFilePath(Recorder::NoneLabel); } - glfwFocusWindow(rack::gWindow); return result; } diff --git a/src/Simple.cpp b/src/Simple.cpp index 33938ab..a9fb9fd 100644 --- a/src/Simple.cpp +++ b/src/Simple.cpp @@ -7,11 +7,13 @@ rack::Plugin* plugin; void init(rack::Plugin *p) { plugin = p; - plugin->slug = "IO-Simple"; + p->slug = "IO-Simple"; #ifdef VERSION p->version = TOSTRING(VERSION); #endif + p->website = "https://iohannrabeson.github.io/VCVRack-Simple/"; + p->addModel(rack::createModel("Simple", "IO-ButtonTrigger", "Button Trigger", rack::UTILITY_TAG)); p->addModel(rack::createModel("Simple", "IO-ClockDivider", "Clock Divider", rack::CLOCK_TAG)); p->addModel(rack::createModel("Simple", "IO-Recorder", "Recorder", rack::UTILITY_TAG));