From 62ffd2ce4ea418389712d2a2099b3624f47e8f89 Mon Sep 17 00:00:00 2001 From: falkTX Date: Tue, 7 Dec 2021 11:30:51 +0000 Subject: [PATCH] Little "Dark Mode" Utils Signed-off-by: falkTX --- plugins/LittleUtils | 2 +- src/override/dep.cpp | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/LittleUtils b/plugins/LittleUtils index 8aac0f6..63e6d85 160000 --- a/plugins/LittleUtils +++ b/plugins/LittleUtils @@ -1 +1 @@ -Subproject commit 8aac0f6d3e897355a17d163a8d6f42b7f9f2e3b3 +Subproject commit 63e6d85d7142f6d42351effe0589ba61a419dd9f diff --git a/src/override/dep.cpp b/src/override/dep.cpp index 9387301..98e3c07 100644 --- a/src/override/dep.cpp +++ b/src/override/dep.cpp @@ -440,6 +440,12 @@ static const struct { { "/JW-Modules/Trigs.svg", {}, -1 }, { "/JW-Modules/WavHeadPanel.svg", {}, -1 }, { "/JW-Modules/XYPad.svg", {}, -1 }, + { "/LittleUtils/Bias_Semitone.svg", {}, -1 }, + { "/LittleUtils/ButtonModule.svg", {}, -1 }, + { "/LittleUtils/MulDiv.svg", {}, -1 }, + { "/LittleUtils/PulseGenerator.svg", {}, -1 }, + { "/LittleUtils/TeleportIn.svg", {}, -1 }, + { "/LittleUtils/TeleportOut.svg", {}, -1 }, }; static inline void removeShape(NSVGimage* const handle, const char* const id) @@ -548,6 +554,7 @@ static inline bool invertPaint(NSVGpaint& paint, const char* const svgFileToInve case 0xff6140da: case 0xff119ee6: case 0xff2432ed: + case 0xff0095fe: return false; // pure black (convert to not quite pure white) case 0xff000000: