
* Setup PawPaw and let it be used for CI extra deps * Fix ci file * Update readme * Fix a typo * Fix another typo * Let PawPaw handle the build setup/env * Fix typo * One more fix * Update AudibleInstruments Signed-off-by: falkTX <falktx@falktx.com> * Cleanup/Improve CardinalModuleWidget hackery Signed-off-by: falkTX <falktx@falktx.com> * Use LTO in PawPaw, fix build setup again Signed-off-by: falkTX <falktx@falktx.com> * Install libglib2.0-dev on CI static builds; Fix Prism conflicts Signed-off-by: falkTX <falktx@falktx.com> * Investigate why CI fails to install arch ports Signed-off-by: falkTX <falktx@falktx.com> * Ignore glib/fluidsynth for now Signed-off-by: falkTX <falktx@falktx.com> * Cleanup Signed-off-by: falkTX <falktx@falktx.com> * Fix a typo Signed-off-by: falkTX <falktx@falktx.com> * Fix another typo Signed-off-by: falkTX <falktx@falktx.com> * Use -m32 in linux-i686 builds Signed-off-by: falkTX <falktx@falktx.com> * Try using g++-multilib instead of g++-i686-linux-gnu Signed-off-by: falkTX <falktx@falktx.com> * Force fix macOS build * Use shasum5.28
35 lines
1 KiB
C++
35 lines
1 KiB
C++
/*
|
|
* DISTRHO Cardinal Plugin
|
|
* Copyright (C) 2021 Filipe Coelho <falktx@falktx.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation; either version 3 of
|
|
* the License, or any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* For a full copy of the GNU General Public License see the LICENSE file.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include_next <rack.hpp>
|
|
|
|
#ifdef BUILDING_PLUGIN_MODULES
|
|
namespace rack {
|
|
namespace app {
|
|
struct CardinalModuleWidget : ModuleWidget {
|
|
CardinalModuleWidget() : ModuleWidget() {}
|
|
DEPRECATED CardinalModuleWidget(engine::Module* module) : ModuleWidget() {
|
|
setModule(module);
|
|
}
|
|
void onButton(const ButtonEvent& e) override;
|
|
};
|
|
}
|
|
}
|
|
# define ModuleWidget CardinalModuleWidget
|
|
#endif
|