Loading [MathJax]/jax/input/TeX/config.js
VCV Rack API v2
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
MenuLabel.hpp
Go to the documentation of this file.
1#pragma once
2#include <ui/common.hpp>
3#include <ui/MenuEntry.hpp>
4
5
6namespace rack {
7namespace ui {
8
9
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
Common graphical user interface widgets.
Definition Model.hpp:13
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Definition MenuLabel.hpp:10
std::string text
Definition MenuLabel.hpp:11
void step() override
Advances the module by one frame.
void draw(const DrawArgs &args) override
Draws the widget to the NanoVG context.
Definition Widget.hpp:141