VCV Rack API
v2
Loading...
Searching...
No Matches
RailWidget.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <
app/common.hpp
>
3
#include <
widget/TransparentWidget.hpp
>
4
5
6
namespace
rack
{
7
namespace
app {
8
9
10
struct
RailWidget
:
widget::TransparentWidget
{
11
struct
Internal;
12
Internal*
internal
;
13
14
RailWidget
();
15
~RailWidget
();
16
void
step
()
override
;
17
void
draw
(
const
DrawArgs
& args)
override
;
18
};
19
20
21
}
// namespace app
22
}
// namespace rack
TransparentWidget.hpp
common.hpp
rack
Root namespace for the Rack API.
Definition
AudioDisplay.hpp:9
rack::app::RailWidget
Definition
RailWidget.hpp:10
rack::app::RailWidget::~RailWidget
~RailWidget()
rack::app::RailWidget::step
void step() override
Advances the module by one frame.
rack::app::RailWidget::internal
Internal * internal
Definition
RailWidget.hpp:12
rack::app::RailWidget::RailWidget
RailWidget()
rack::app::RailWidget::draw
void draw(const DrawArgs &args) override
Draws the widget to the NanoVG context.
rack::widget::TransparentWidget
A Widget that does not respond to events and does not pass events to children.
Definition
TransparentWidget.hpp:10
rack::widget::Widget::DrawArgs
Definition
Widget.hpp:141
include
app
RailWidget.hpp
Generated by
1.12.0