Little "Dark Mode" Utils

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-12-07 11:30:51 +00:00
parent 26477c4e56
commit 62ffd2ce4e
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
2 changed files with 8 additions and 1 deletions

@ -1 +1 @@
Subproject commit 8aac0f6d3e897355a17d163a8d6f42b7f9f2e3b3
Subproject commit 63e6d85d7142f6d42351effe0589ba61a419dd9f

View file

@ -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: