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.

26 lines
459B

  1. #pragma once
  2. #include "app/common.hpp"
  3. #include "ui/ScrollWidget.hpp"
  4. #include "ui/SequentialLayout.hpp"
  5. namespace rack {
  6. struct ModuleBrowser : OpaqueWidget {
  7. ScrollWidget *moduleScroll;
  8. SequentialLayout *moduleLayout;
  9. ModuleBrowser();
  10. void step() override;
  11. void draw(NVGcontext *vg) override;
  12. void onHoverKey(const event::HoverKey &e) override;
  13. };
  14. json_t *moduleBrowserToJson();
  15. void moduleBrowserFromJson(json_t *rootJ);
  16. } // namespace rack