#pragma once #include #include #include #include #include namespace rack { namespace app { struct PanelBorder : widget::TransparentWidget { void draw(const DrawArgs& args) override; }; struct SvgPanel : widget::Widget { widget::FramebufferWidget* fb; widget::SvgWidget* sw; PanelBorder* panelBorder; std::shared_ptr svg; SvgPanel(); void step() override; void setBackground(std::shared_ptr svg); }; DEPRECATED typedef SvgPanel SVGPanel; } // namespace app } // namespace rack