#pragma once #include #include #include namespace rack { namespace app { /** A MultiLightWidget that points to a module's Light or a range of lights Will access firstLightId, firstLightId + 1, etc. for each added color */ struct ModuleLightWidget : MultiLightWidget { engine::Module* module = NULL; int firstLightId; void step() override; }; } // namespace app } // namespace rack