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/FramebufferWidget.hpp>
 - #include <widget/SvgWidget.hpp>
 - #include <app/CircularShadow.hpp>
 - #include <app/Switch.hpp>
 - 
 - 
 - namespace rack {
 - namespace app {
 - 
 - 
 - /** A ParamWidget with multiple frames corresponding to its value */
 - struct SvgSwitch : Switch {
 - 	widget::FramebufferWidget* fb;
 - 	CircularShadow* shadow;
 - 	widget::SvgWidget* sw;
 - 	std::vector<std::shared_ptr<window::Svg>> frames;
 - 
 - 	SvgSwitch();
 - 	/** Adds an SVG file to represent the next switch position */
 - 	void addFrame(std::shared_ptr<window::Svg> svg);
 - 	void onChange(const ChangeEvent& e) override;
 - };
 - 
 - 
 - DEPRECATED typedef SvgSwitch SVGSwitch;
 - 
 - 
 - } // namespace app
 - } // namespace rack
 
 
  |