| @@ -33,6 +33,7 @@ BUILD_CXX_FLAGS += -DnsvgParseFromFile=nsvgParseFromFileCardinal | |||||
| RACK_FILES += AsyncDialog.cpp | RACK_FILES += AsyncDialog.cpp | ||||
| RACK_FILES += CardinalModuleWidget.cpp | RACK_FILES += CardinalModuleWidget.cpp | ||||
| RACK_FILES += custom/Browser.cpp | |||||
| RACK_FILES += custom/asset.cpp | RACK_FILES += custom/asset.cpp | ||||
| RACK_FILES += custom/dep.cpp | RACK_FILES += custom/dep.cpp | ||||
| RACK_FILES += custom/library.cpp | RACK_FILES += custom/library.cpp | ||||
| @@ -68,6 +69,7 @@ IGNORED_FILES += Rack/src/plugin.cpp | |||||
| IGNORED_FILES += Rack/src/rtaudio.cpp | IGNORED_FILES += Rack/src/rtaudio.cpp | ||||
| IGNORED_FILES += Rack/src/rtmidi.cpp | IGNORED_FILES += Rack/src/rtmidi.cpp | ||||
| IGNORED_FILES += Rack/src/app/AudioDisplay.cpp | IGNORED_FILES += Rack/src/app/AudioDisplay.cpp | ||||
| IGNORED_FILES += Rack/src/app/Browser.cpp | |||||
| IGNORED_FILES += Rack/src/app/MenuBar.cpp | IGNORED_FILES += Rack/src/app/MenuBar.cpp | ||||
| IGNORED_FILES += Rack/src/app/MidiDisplay.cpp | IGNORED_FILES += Rack/src/app/MidiDisplay.cpp | ||||
| IGNORED_FILES += Rack/src/app/ModuleWidget.cpp | IGNORED_FILES += Rack/src/app/ModuleWidget.cpp | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * DISTRHO Cardinal Plugin | * DISTRHO Cardinal Plugin | ||||
| * Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2021-2026 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -15,17 +15,14 @@ | |||||
| * For a full copy of the GNU General Public License see the LICENSE file. | * For a full copy of the GNU General Public License see the LICENSE file. | ||||
| */ | */ | ||||
| #pragma once | |||||
| // little hack to force browser yellow color to cardinal red | |||||
| #define SCHEME_YELLOW SCHEME_YELLOW_OldVCV | #define SCHEME_YELLOW SCHEME_YELLOW_OldVCV | ||||
| #include_next "componentlibrary.hpp" | |||||
| #include "componentlibrary.hpp" | |||||
| #undef SCHEME_YELLOW | #undef SCHEME_YELLOW | ||||
| namespace rack { | namespace rack { | ||||
| namespace componentlibrary { | namespace componentlibrary { | ||||
| // Yellow? What's that? | |||||
| static const NVGcolor SCHEME_YELLOW = nvgRGBf(0.76f, 0.11f, 0.22f); | static const NVGcolor SCHEME_YELLOW = nvgRGBf(0.76f, 0.11f, 0.22f); | ||||
| } | } | ||||
| } | } | ||||
| #include "../src/app/Browser.cpp" | |||||