VCV Rack API v2
Loading...
Searching...
No Matches
MidiDisplay.hpp
Go to the documentation of this file.
1#pragma once
2#include <app/common.hpp>
3#include <app/LedDisplay.hpp>
4#include <ui/Menu.hpp>
5#include <app/SvgButton.hpp>
6#include <midi.hpp>
7
8
9namespace rack {
10namespace app {
11
12
15 void onAction(const ActionEvent& e) override;
16 void step() override;
17};
18
19
22 void onAction(const ActionEvent& e) override;
23 void step() override;
24};
25
26
29 void onAction(const ActionEvent& e) override;
30 void step() override;
31};
32
33
42
43
48 void onAction(const ActionEvent& e) override;
49};
50
51
56
57
58} // namespace app
59} // namespace rack
void appendMidiMenu(ui::Menu *menu, midi::Port *port)
Appends menu items to the given menu with driver, device, etc.
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Definition LedDisplay.hpp:22
Definition LedDisplay.hpp:17
Definition LedDisplay.hpp:12
A virtual MIDI port graphic that displays an MIDI menu when clicked.
Definition MidiDisplay.hpp:45
void onAction(const ActionEvent &e) override
midi::Port * port
Definition MidiDisplay.hpp:46
void setMidiPort(midi::Port *port)
Definition MidiDisplay.hpp:27
void onAction(const ActionEvent &e) override
midi::Port * port
Definition MidiDisplay.hpp:28
void step() override
Advances the module by one frame.
Definition MidiDisplay.hpp:20
void step() override
Advances the module by one frame.
midi::Port * port
Definition MidiDisplay.hpp:21
void onAction(const ActionEvent &e) override
Definition MidiDisplay.hpp:34
LedDisplaySeparator * driverSeparator
Definition MidiDisplay.hpp:36
MidiDeviceChoice * deviceChoice
Definition MidiDisplay.hpp:37
MidiChannelChoice * channelChoice
Definition MidiDisplay.hpp:39
LedDisplaySeparator * deviceSeparator
Definition MidiDisplay.hpp:38
MidiDriverChoice * driverChoice
Definition MidiDisplay.hpp:35
void setMidiPort(midi::Port *port)
Definition MidiDisplay.hpp:13
void step() override
Advances the module by one frame.
void onAction(const ActionEvent &e) override
midi::Port * port
Definition MidiDisplay.hpp:14
Definition SvgButton.hpp:13
A handle to a Device, typically owned by modules to have shared access to a single Device.
Definition midi.hpp:195
Definition Menu.hpp:11
Occurs after a certain action is triggered on a Widget.
Definition Widget.hpp:445