Alternative folder setup for custom files, override MenuBar.cpp
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
0a0f09bc8a
commit
88beb01572
11 changed files with 951 additions and 294 deletions
42
src/override/dep.cpp
Normal file
42
src/override/dep.cpp
Normal file
|
@ -0,0 +1,42 @@
|
|||
/*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
#include "OpenGL.hpp"
|
||||
|
||||
// fix blendish build, missing symbol in debug mode
|
||||
#ifdef DEBUG
|
||||
extern "C" {
|
||||
float bnd_clamp(float v, float mn, float mx) {
|
||||
return (v > mx)?mx:(v < mn)?mn:v;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// fix bogaudio build, another missing symbol
|
||||
#ifdef DEBUG
|
||||
namespace bogaudio {
|
||||
struct FollowerBase {
|
||||
static float efGainMaxDecibelsDebug;
|
||||
};
|
||||
float FollowerBase::efGainMaxDecibelsDebug = 12.0f;
|
||||
}
|
||||
#endif
|
||||
|
||||
// Compile those nice implementation-in-header little libraries
|
||||
#define NANOSVG_IMPLEMENTATION
|
||||
#define NANOSVG_ALL_COLOR_KEYWORDS
|
||||
#include <nanosvg.h>
|
Loading…
Add table
Add a link
Reference in a new issue