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"
 - #include "Quantity.hpp"
 - 
 - 
 - namespace rack {
 - namespace ui {
 - 
 - 
 - struct Button : widget::OpaqueWidget {
 - 	std::string text;
 - 	BNDwidgetState state = BND_DEFAULT;
 - 	/** Not owned. Tracks the pressed state of the button.*/
 - 	Quantity *quantity = NULL;
 - 
 - 	Button();
 - 	void draw(const DrawArgs &args) override;
 - 	void onEnter(const widget::EnterEvent &e) override;
 - 	void onLeave(const widget::LeaveEvent &e) override;
 - 	void onDragStart(const widget::DragStartEvent &e) override;
 - 	void onDragEnd(const widget::DragEndEvent &e) override;
 - 	void onDragDrop(const widget::DragDropEvent &e) override;
 - };
 - 
 - 
 - } // namespace ui
 - } // namespace rack
 
 
  |