VCV Rack API
v2
Loading...
Searching...
No Matches
MenuLabel.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
ui/common.hpp
>
3
#include <
ui/MenuEntry.hpp
>
4
5
6
namespace
rack
{
7
namespace
ui {
8
9
10
struct
MenuLabel
:
MenuEntry
{
11
std::string
text
;
12
13
void
draw
(
const
DrawArgs
& args)
override
;
14
void
step
()
override
;
15
};
16
17
18
}
// namespace ui
19
}
// namespace rack
MenuEntry.hpp
rack
Root namespace for the Rack API.
Definition
AudioDisplay.hpp:9
rack::ui::MenuEntry
Definition
MenuEntry.hpp:10
rack::ui::MenuLabel
Definition
MenuLabel.hpp:10
rack::ui::MenuLabel::text
std::string text
Definition
MenuLabel.hpp:11
rack::ui::MenuLabel::step
void step() override
Advances the module by one frame.
rack::ui::MenuLabel::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
MenuLabel.hpp
Generated by
1.12.0