VCV Rack API
v2
Loading...
Searching...
No Matches
Tooltip.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
widget/Widget.hpp
>
3
#include <
ui/common.hpp
>
4
5
6
namespace
rack
{
7
namespace
ui {
8
9
10
struct
Tooltip
:
widget::Widget
{
11
std::string
text
;
12
13
void
step
()
override
;
14
void
draw
(
const
DrawArgs
& args)
override
;
15
};
16
17
18
}
// namespace ui
19
}
// namespace rack
Widget.hpp
rack
Root namespace for the Rack API.
Definition
AudioDisplay.hpp:9
rack::ui::Tooltip
Definition
Tooltip.hpp:10
rack::ui::Tooltip::text
std::string text
Definition
Tooltip.hpp:11
rack::ui::Tooltip::step
void step() override
Advances the module by one frame.
rack::ui::Tooltip::draw
void draw(const DrawArgs &args) override
Draws the widget to the NanoVG context.
rack::widget::Widget::DrawArgs
Definition
Widget.hpp:141
rack::widget::Widget
A node in the 2D scene graph.
Definition
Widget.hpp:21
common.hpp
include
ui
Tooltip.hpp
Generated by
1.12.0