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.

ProgressBar.hpp 352B

123456789101112131415161718192021
  1. #pragma once
  2. #include <ui/common.hpp>
  3. #include <widget/Widget.hpp>
  4. #include <Quantity.hpp>
  5. namespace rack {
  6. namespace ui {
  7. struct ProgressBar : widget::Widget {
  8. /** Not owned. Stores the progress value and label. */
  9. Quantity* quantity = NULL;
  10. ProgressBar();
  11. void draw(const DrawArgs& args) override;
  12. };
  13. } // namespace ui
  14. } // namespace rack