VCV Rack API
v2
Loading...
Searching...
No Matches
ChoiceButton.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
ui/common.hpp
>
3
#include <
ui/Button.hpp
>
4
5
6
namespace
rack
{
7
namespace
ui {
8
9
12
struct
ChoiceButton
:
Button
{
13
void
draw
(
const
DrawArgs
& args)
override
;
14
};
15
16
17
}
// namespace ui
18
}
// namespace rack
Button.hpp
rack
Root namespace for the Rack API.
Definition
AudioDisplay.hpp:9
rack::ui::Button
A clickable button with text.
Definition
Button.hpp:18
rack::ui::ChoiceButton
Button with a dropdown icon on its right.
Definition
ChoiceButton.hpp:12
rack::ui::ChoiceButton::draw
void draw(const DrawArgs &args) override
Draws the widget to the NanoVG context.
rack::widget::Widget::DrawArgs
Definition
Widget.hpp:141
common.hpp
include
ui
ChoiceButton.hpp
Generated by
1.12.0