From b758ca84c1a7c95e3519edcd51548c3fc58d81b4 Mon Sep 17 00:00:00 2001 From: Stephane Letz Date: Fri, 24 Jul 2020 20:02:05 +0200 Subject: [PATCH] Cleanup, documentation. --- src/FaustEngine.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/FaustEngine.cpp b/src/FaustEngine.cpp index 7c9967c..d6c00bb 100644 --- a/src/FaustEngine.cpp +++ b/src/FaustEngine.cpp @@ -29,6 +29,8 @@ #include #include +#include +#include #include #include @@ -92,7 +94,7 @@ struct RackUI : public GenericUI { *zone = block->switches[index-1]; - // And set the color to red when on + // And set the color to red when ON block->switchLights[index-1][0] = *zone; }); } @@ -112,7 +114,7 @@ struct RackUI : public GenericUI if (button == 1.0 && (button != fCheckBoxes[zone].fLastButton)) { // Switch button state *zone = !*zone; - // And set the color + // And set the color to white when ON block->switchLights[index-1][0] = *zone; block->switchLights[index-1][1] = *zone; block->switchLights[index-1][2] = *zone;