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.

17 lines
256B

  1. #pragma once
  2. #include "ui/Button.hpp"
  3. namespace rack {
  4. struct ChoiceButton : Button {
  5. void draw(NVGcontext *vg) override {
  6. bndChoiceButton(vg, 0.0, 0.0, box.size.x, box.size.y, BND_CORNER_NONE, state, -1, text.c_str());
  7. }
  8. };
  9. } // namespace rack