![]() |
VCV Rack API
v1
|
Rack-specific GUI widgets and functions that control and offer feedback for the rack state. More...
Classes | |
struct | AudioWidget |
struct | CableWidget |
struct | CircularShadow |
struct | Knob |
Implements vertical dragging behavior for ParamWidgets. More... | |
struct | LedDisplay |
struct | LedDisplayChoice |
struct | LedDisplaySeparator |
struct | LedDisplayTextField |
struct | LightWidget |
struct | MenuBar |
struct | MidiWidget |
struct | ModuleLightWidget |
A MultiLightWidget that points to a module's Light or a range of lights Will access firstLightId, firstLightId + 1, etc. More... | |
struct | ModuleWidget |
Manages an engine::Module in the rack. More... | |
struct | MultiLightWidget |
Mixes a list of colors based on a list of brightness values. More... | |
struct | PanelBorder |
struct | ParamWidget |
Manages an engine::Param on a ModuleWidget. More... | |
struct | PortWidget |
Manages an engine::Port on a ModuleWidget. More... | |
struct | RackRail |
struct | RackScrollWidget |
struct | RackWidget |
Container for ModuleWidget and CableWidget. More... | |
struct | Scene |
struct | SliderKnob |
struct | SvgButton |
struct | SvgKnob |
A knob which rotates an SVG and caches it in a framebuffer. More... | |
struct | SvgPanel |
struct | SvgPort |
struct | SvgScrew |
If you don't add these to your ModuleWidget, they will fall out of the rack... More... | |
struct | SvgSlider |
Behaves like a knob but linearly moves an widget::SvgWidget between two points. More... | |
struct | SvgSwitch |
A ParamWidget with multiple frames corresponding to its value. More... | |
struct | Switch |
A ParamWidget that represents an integer. More... | |
Functions | |
float | in2px (float in) |
Converts inch measurements to pixels. More... | |
math::Vec | in2px (math::Vec in) |
float | mm2px (float mm) |
Converts millimeter measurements to pixels. More... | |
math::Vec | mm2px (math::Vec mm) |
MenuBar * | createMenuBar () |
widget::Widget * | moduleBrowserCreate () |
Variables | |
DEPRECATED typedef SvgButton | SVGButton |
DEPRECATED typedef SvgKnob | SVGKnob |
DEPRECATED typedef SvgPanel | SVGPanel |
DEPRECATED typedef SvgPort | SVGPort |
DEPRECATED typedef SvgScrew | SVGScrew |
DEPRECATED typedef SvgSlider | SVGSlider |
DEPRECATED typedef SvgSwitch | SVGSwitch |
const std::string | APP_NAME |
const std::string | APP_VERSION |
const std::string | APP_ARCH |
const std::string | ABI_VERSION |
const std::string | API_URL |
const std::string | API_VERSION |
static const float | SVG_DPI = 75.f |
static const float | MM_PER_IN = 25.4f |
static const float | RACK_GRID_WIDTH = 15 |
static const float | RACK_GRID_HEIGHT = 380 |
static const math::Vec | RACK_GRID_SIZE = math::Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT) |
static const math::Vec | RACK_OFFSET = RACK_GRID_SIZE.mult(math::Vec(2000, 100)) |
static const math::Vec | BUS_BOARD_GRID_SIZE = math::Vec(RACK_GRID_WIDTH * 20, RACK_GRID_HEIGHT) |
Rack-specific GUI widgets and functions that control and offer feedback for the rack state.
|
inline |
Converts inch measurements to pixels.
|
inline |
Converts millimeter measurements to pixels.
MenuBar* rack::app::createMenuBar | ( | ) |
widget::Widget* rack::app::moduleBrowserCreate | ( | ) |
DEPRECATED typedef SvgButton rack::app::SVGButton |
DEPRECATED typedef SvgKnob rack::app::SVGKnob |
DEPRECATED typedef SvgPanel rack::app::SVGPanel |
DEPRECATED typedef SvgPort rack::app::SVGPort |
DEPRECATED typedef SvgScrew rack::app::SVGScrew |
DEPRECATED typedef SvgSlider rack::app::SVGSlider |
DEPRECATED typedef SvgSwitch rack::app::SVGSwitch |
const std::string rack::app::APP_NAME |
const std::string rack::app::APP_VERSION |
const std::string rack::app::APP_ARCH |
const std::string rack::app::ABI_VERSION |
const std::string rack::app::API_URL |
const std::string rack::app::API_VERSION |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |