Add back AnimatedCircuits, dark mode now on plugin side
This commit is contained in:
parent
7f98c0731c
commit
60af9ac43b
6 changed files with 8 additions and 23 deletions
|
@ -56,12 +56,6 @@ static const struct {
|
|||
{ "/21kHz/res/Panels/D_Inf.svg", {}, -1 },
|
||||
{ "/21kHz/res/Panels/PalmLoop.svg", {}, -1 },
|
||||
{ "/21kHz/res/Panels/TachyonEntangler.svg", {}, -1 },
|
||||
// CC-BY-NC-SA-4.0, logo is meant to be removed and name changed on derivative works
|
||||
/* Pending https://github.com/AnimatedCircuits/RackModules/issues/7
|
||||
{ "/AnimatedCircuits/res/FoldingLight.svg", {}, -1 },
|
||||
{ "/AnimatedCircuits/res/LFoldLight.svg", {}, -1 },
|
||||
{ "/AnimatedCircuits/res/Knob_Black_Light_21.svg", {}, -1 },
|
||||
*/
|
||||
// Custom, runtime dark mode used with permission
|
||||
{ "/AudibleInstruments/res/Blinds.svg", {}, -1 },
|
||||
{ "/AudibleInstruments/res/Braids.svg", {}, -1 },
|
||||
|
@ -271,13 +265,6 @@ static inline bool invertPaint(NSVGpaint& paint, const char* const svgFileToInve
|
|||
return true;
|
||||
}
|
||||
|
||||
// Special case for AnimatedCircuits logo
|
||||
if (paint.color == 0xff303030 && svgFileToInvert != nullptr && std::strncmp(svgFileToInvert, "/AnimatedCircuits/", 18) == 0)
|
||||
{
|
||||
paint.color = 0xffefefef;
|
||||
return true;
|
||||
}
|
||||
|
||||
// Special case for JW-Modules colors
|
||||
if (svgFileToInvert != nullptr && std::strncmp(svgFileToInvert, "/JW-Modules/", 12) == 0)
|
||||
{
|
||||
|
@ -342,8 +329,6 @@ static inline bool invertPaint(NSVGpaint& paint, const char* const svgFileToInve
|
|||
case 0xff0095fe:
|
||||
case 0xff4d9a4d:
|
||||
case 0xff4d4d9a:
|
||||
// AnimatedCircuits FoldingLight.svg
|
||||
case 0xffa0783c:
|
||||
return false;
|
||||
// pure black (convert to not quite pure white)
|
||||
case 0xff000000:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue