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 <widget/OpaqueWidget.hpp>
#include <ui/common.hpp>
namespace rack {
namespace ui {
/** Parent must be a ScrollWidget */
struct Scrollbar : widget::OpaqueWidget {
	struct Internal;
	Internal* internal;
	bool vertical = false;
	Scrollbar();
	~Scrollbar();
	void draw(const DrawArgs& args) override;
	void onButton(const ButtonEvent& e) override;
	void onDragStart(const DragStartEvent& e) override;
	void onDragEnd(const DragEndEvent& e) override;
	void onDragMove(const DragMoveEvent& e) override;
};
DEPRECATED typedef Scrollbar ScrollBar;
} // namespace ui
} // namespace rack
 |