From dac26ce0a76d39d95e8b84f92a849587a5c48b2a Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 27 Jan 2019 08:01:21 -0500 Subject: [PATCH] Fix plug light colors --- include/componentlibrary.hpp | 4 ++-- src/app/PortWidget.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/componentlibrary.hpp b/include/componentlibrary.hpp index 415601d8..effff446 100644 --- a/include/componentlibrary.hpp +++ b/include/componentlibrary.hpp @@ -19,8 +19,8 @@ static const NVGcolor SCHEME_GREEN = nvgRGB(0x90, 0xc7, 0x3e); static const NVGcolor SCHEME_CYAN = nvgRGB(0x22, 0xe6, 0xef); static const NVGcolor SCHEME_BLUE = nvgRGB(0x29, 0xb2, 0xef); static const NVGcolor SCHEME_PURPLE = nvgRGB(0xd5, 0x2b, 0xed); -static const NVGcolor SCHEME_LIGHT_PANEL = nvgRGB(0xe6, 0xe6, 0xe6); -static const NVGcolor SCHEME_DARK_PANEL = nvgRGB(0x17, 0x17, 0x17); +static const NVGcolor SCHEME_LIGHT_GRAY = nvgRGB(0xe6, 0xe6, 0xe6); +static const NVGcolor SCHEME_DARK_GRAY = nvgRGB(0x17, 0x17, 0x17); //////////////////// // Knobs diff --git a/src/app/PortWidget.cpp b/src/app/PortWidget.cpp index 54c3fd53..8ce90bff 100644 --- a/src/app/PortWidget.cpp +++ b/src/app/PortWidget.cpp @@ -11,11 +11,11 @@ namespace rack { struct PlugLight : MultiLightWidget { PlugLight() { - addBaseColor(color::GREEN); - addBaseColor(color::RED); - addBaseColor(color::BLUE); + addBaseColor(SCHEME_GREEN); + addBaseColor(SCHEME_RED); + addBaseColor(SCHEME_BLUE); box.size = math::Vec(8, 8); - bgColor = color::BLACK_TRANSPARENT; + bgColor = SCHEME_BLACK_TRANSPARENT; } };