Browse Source

Fix plug light colors

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
dac26ce0a7
2 changed files with 6 additions and 6 deletions
  1. +2
    -2
      include/componentlibrary.hpp
  2. +4
    -4
      src/app/PortWidget.cpp

+ 2
- 2
include/componentlibrary.hpp View File

@@ -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_CYAN = nvgRGB(0x22, 0xe6, 0xef);
static const NVGcolor SCHEME_BLUE = nvgRGB(0x29, 0xb2, 0xef); static const NVGcolor SCHEME_BLUE = nvgRGB(0x29, 0xb2, 0xef);
static const NVGcolor SCHEME_PURPLE = nvgRGB(0xd5, 0x2b, 0xed); 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 // Knobs


+ 4
- 4
src/app/PortWidget.cpp View File

@@ -11,11 +11,11 @@ namespace rack {


struct PlugLight : MultiLightWidget { struct PlugLight : MultiLightWidget {
PlugLight() { 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); box.size = math::Vec(8, 8);
bgColor = color::BLACK_TRANSPARENT;
bgColor = SCHEME_BLACK_TRANSPARENT;
} }
}; };




Loading…
Cancel
Save