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
410B

  1. #pragma once
  2. #include "app/common.hpp"
  3. #include "widgets/TransparentWidget.hpp"
  4. namespace rack {
  5. struct LightWidget : TransparentWidget {
  6. NVGcolor bgColor = nvgRGBA(0, 0, 0, 0);
  7. NVGcolor color = nvgRGBA(0, 0, 0, 0);
  8. NVGcolor borderColor = nvgRGBA(0, 0, 0, 0);
  9. void draw(NVGcontext *vg) override;
  10. virtual void drawLight(NVGcontext *vg);
  11. virtual void drawHalo(NVGcontext *vg);
  12. };
  13. } // namespace rack