You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
374B

  1. #pragma once
  2. #include "common.hpp"
  3. #include "MultiLightWidget.hpp"
  4. namespace rack {
  5. /** A MultiLightWidget that points to a module's Light or a range of lights
  6. Will access firstLightId, firstLightId + 1, etc. for each added color
  7. */
  8. struct ModuleLightWidget : MultiLightWidget {
  9. Module *module = NULL;
  10. int firstLightId;
  11. void step() override;
  12. };
  13. } // namespace rack