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.
|
- #include "app/SvgScrew.hpp"
-
-
- namespace rack {
- namespace app {
-
-
- SvgScrew::SvgScrew() {
- fb = new widget::FramebufferWidget;
- addChild(fb);
-
- sw = new widget::SvgWidget;
- fb->addChild(sw);
- }
-
-
- void SvgScrew::setSvg(std::shared_ptr<Svg> svg) {
- sw->setSvg(svg);
- fb->box.size = sw->box.size;
- box.size = sw->box.size;
- }
-
-
- } // namespace app
- } // namespace rack
|