Loading [MathJax]/jax/output/HTML-CSS/config.js
VCV Rack API v2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
OptionButton.hpp
Go to the documentation of this file.
1#pragma once
2#include <ui/common.hpp>
3#include <ui/RadioButton.hpp>
4
5
6namespace rack {
7namespace ui {
8
9
13 void draw(const DrawArgs& args) override;
14};
15
16
17} // namespace ui
18} // namespace rack
Common graphical user interface widgets.
Definition Model.hpp:13
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Behaves like a RadioButton and appears with a checkmark beside text.
Definition OptionButton.hpp:12
void draw(const DrawArgs &args) override
Draws the widget to the NanoVG context.
Toggles a Quantity between 1.0 and 0.0 when clicked.
Definition RadioButton.hpp:12
Definition Widget.hpp:141