Browse Source

Little "Dark Mode" Utils

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.02
falkTX 3 years ago
parent
commit
62ffd2ce4e
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 8 additions and 1 deletions
  1. +1
    -1
      plugins/LittleUtils
  2. +7
    -0
      src/override/dep.cpp

+ 1
- 1
plugins/LittleUtils

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

+ 7
- 0
src/override/dep.cpp 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:


Loading…
Cancel
Save