Loading [MathJax]/extensions/tex2jax.js
VCV Rack API
v2
Toggle main menu visibility
Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
Variables
a
b
c
d
f
g
h
i
k
l
m
o
p
r
s
t
u
v
w
y
Typedefs
a
b
c
d
e
f
g
h
i
k
l
p
r
s
t
v
w
y
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
b
c
h
i
l
m
n
o
p
r
t
u
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
l
n
o
p
r
s
t
v
w
Functions
Macros
_
a
b
c
d
e
f
g
i
l
n
p
r
s
t
v
w
▼
VCV Rack API
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
include
▼
app
►
AudioDisplay.hpp
►
Browser.hpp
►
CableWidget.hpp
►
CircularShadow.hpp
►
common.hpp
►
Knob.hpp
►
LedDisplay.hpp
►
LightWidget.hpp
►
MenuBar.hpp
►
MidiDisplay.hpp
►
ModuleLightWidget.hpp
►
ModuleWidget.hpp
►
MultiLightWidget.hpp
►
ParamWidget.hpp
►
PortWidget.hpp
►
RackScrollWidget.hpp
►
RackWidget.hpp
►
RailWidget.hpp
►
Scene.hpp
►
SliderKnob.hpp
►
SvgButton.hpp
►
SvgKnob.hpp
►
SvgPanel.hpp
►
SvgPort.hpp
►
SvgScrew.hpp
►
SvgSlider.hpp
►
SvgSwitch.hpp
►
Switch.hpp
►
TipWindow.hpp
►
dsp
►
engine
►
plugin
►
simd
►
ui
►
widget
►
window
arch.hpp
►
asset.hpp
►
audio.hpp
►
color.hpp
►
common.hpp
►
componentlibrary.hpp
►
context.hpp
►
gamepad.hpp
►
helpers.hpp
►
history.hpp
►
keyboard.hpp
►
library.hpp
►
logger.hpp
►
math.hpp
►
midi.hpp
►
midiloopback.hpp
►
mutex.hpp
►
network.hpp
►
patch.hpp
►
plugin.hpp
►
Quantity.hpp
►
rack.hpp
►
random.hpp
►
rtaudio.hpp
►
rtmidi.hpp
►
settings.hpp
►
string.hpp
►
system.hpp
►
tag.hpp
►
weakptr.hpp
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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
};
10
struct
RailWidget
:
widget::TransparentWidget
{
…
};
19
20
21
}
// namespace app
22
}
// namespace rack
TransparentWidget.hpp
common.hpp
rack::app
Rack's custom UI widgets that control the Rack state and engine.
Definition
AudioDisplay.hpp:10
rack
Root namespace for the Rack API.
Definition
AudioDisplay.hpp:9
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.13.2