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.

19 lines
365B

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