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.
|
- #pragma once
- #include "app/common.hpp"
- #include "widget/OpaqueWidget.hpp"
- #include "widget/FramebufferWidget.hpp"
- #include "widget/SvgWidget.hpp"
-
-
- namespace rack {
- namespace app {
-
-
- struct SvgButton : widget::OpaqueWidget {
- widget::FramebufferWidget *fb;
- widget::SvgWidget *sw;
- std::vector<std::shared_ptr<Svg>> frames;
-
- SvgButton();
- void addFrame(std::shared_ptr<Svg> svg);
- void onDragStart(const event::DragStart &e) override;
- void onDragEnd(const event::DragEnd &e) override;
- void onDragDrop(const event::DragDrop &e) override;
- };
-
-
- DEPRECATED typedef SvgButton SVGButton;
-
-
- } // namespace app
- } // namespace rack
|