From 94885efdc52220202e5f57f001a365500a480322 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 2 Sep 2017 01:57:02 -0400 Subject: [PATCH] Made cable colors a bit less grim (removed gray and dark gray) --- src/app/WireWidget.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/app/WireWidget.cpp b/src/app/WireWidget.cpp index 2194be46..83ef38c7 100644 --- a/src/app/WireWidget.cpp +++ b/src/app/WireWidget.cpp @@ -68,21 +68,21 @@ static void drawWire(NVGcontext *vg, Vec pos1, Vec pos2, NVGcolor color, float t } -static const NVGcolor wireColors[8] = { +static const NVGcolor wireColors[6] = { nvgRGB(0xc9, 0xb7, 0x0e), // yellow nvgRGB(0xc9, 0x18, 0x47), // red nvgRGB(0x0c, 0x8e, 0x15), // green nvgRGB(0x09, 0x86, 0xad), // blue nvgRGB(0x44, 0x44, 0x44), // black - nvgRGB(0x66, 0x66, 0x66), // gray - nvgRGB(0x88, 0x88, 0x88), // light gray + // nvgRGB(0x66, 0x66, 0x66), // gray + // nvgRGB(0x88, 0x88, 0x88), // light gray nvgRGB(0xaa, 0xaa, 0xaa), // white }; static int lastWireColorId = -1; WireWidget::WireWidget() { - lastWireColorId = (lastWireColorId + 1) % 8; + lastWireColorId = (lastWireColorId + 1) % 6; color = wireColors[lastWireColorId]; }