VCV Rack API v2
Loading...
Searching...
No Matches
rack::componentlibrary Namespace Reference

Library of Rack components: knobs, ports, lights, switches, buttons, etc. More...

Classes

struct  TSvgLight
struct  TGrayModuleLightWidget
struct  TWhiteLight
struct  TRedLight
struct  TGreenLight
struct  TBlueLight
struct  TYellowLight
struct  TGreenRedLight
 Reads two adjacent lightIds, so lightId and lightId + 1 must be defined. More...
struct  TRedGreenBlueLight
struct  LargeLight
 Based on the size of 5mm LEDs. More...
struct  MediumLight
 Based on the size of 3mm LEDs. More...
struct  SmallLight
 Based on the size of 2mm LEDs. More...
struct  TinyLight
 Based on the size of 1mm LEDs. More...
struct  LargeSimpleLight
 Based on the size of 5mm LEDs. More...
struct  MediumSimpleLight
 Based on the size of 3mm LEDs. More...
struct  SmallSimpleLight
 Based on the size of 2mm LEDs. More...
struct  TinySimpleLight
 Based on the size of 1mm LEDs. More...
struct  RectangleLight
struct  VCVBezelLight
 A light for displaying on top of VCVBezel. More...
struct  PB61303Light
 A light to displayed over PB61303. More...
struct  RoundKnob
struct  RoundBlackKnob
struct  RoundSmallBlackKnob
struct  RoundLargeBlackKnob
struct  RoundBigBlackKnob
struct  RoundHugeBlackKnob
struct  RoundBlackSnapKnob
struct  Davies1900hKnob
struct  Davies1900hWhiteKnob
struct  Davies1900hBlackKnob
struct  Davies1900hRedKnob
struct  Davies1900hLargeWhiteKnob
struct  Davies1900hLargeBlackKnob
struct  Davies1900hLargeRedKnob
struct  Rogan
struct  Rogan6PSWhite
struct  Rogan5PSGray
struct  Rogan3PSBlue
struct  Rogan3PSRed
struct  Rogan3PSGreen
struct  Rogan3PSWhite
struct  Rogan3PBlue
struct  Rogan3PRed
struct  Rogan3PGreen
struct  Rogan3PWhite
struct  Rogan2SGray
struct  Rogan2PSBlue
struct  Rogan2PSRed
struct  Rogan2PSGreen
struct  Rogan2PSWhite
struct  Rogan2PBlue
struct  Rogan2PRed
struct  Rogan2PGreen
struct  Rogan2PWhite
struct  Rogan1PSBlue
struct  Rogan1PSRed
struct  Rogan1PSGreen
struct  Rogan1PSWhite
struct  Rogan1PBlue
struct  Rogan1PRed
struct  Rogan1PGreen
struct  Rogan1PWhite
struct  SynthTechAlco
struct  Trimpot
struct  BefacoBigKnob
struct  BefacoTinyKnob
struct  BefacoSlidePot
struct  VCVSlider
struct  LightSlider
 An SvgSlider with an attached light. More...
struct  VCVSliderLight
struct  VCVLightSlider
struct  LEDSliderGreen
 Deprecated. More...
struct  LEDSliderRed
struct  LEDSliderYellow
struct  LEDSliderBlue
struct  LEDSliderWhite
struct  PJ301MPort
struct  DarkPJ301MPort
struct  ThemedPJ301MPort
struct  PJ3410Port
struct  CL1362Port
struct  MomentarySwitch
struct  NKK
struct  CKSS
struct  CKSSThree
struct  CKSSThreeHorizontal
struct  CKD6
struct  TL1105
struct  VCVButton
struct  VCVLatch
struct  LightButton
struct  VCVLightLatch
struct  BefacoSwitch
struct  BefacoPush
struct  VCVBezel
struct  VCVBezelLatch
struct  VCVLightBezel
struct  VCVLightBezelLatch
struct  PB61303
struct  ScrewSilver
struct  ScrewBlack
struct  ThemedScrew
struct  SegmentDisplay
struct  AudioButton_ADAT
struct  AudioButton_USB_B
struct  MidiButton_MIDI_DIN

Typedefs

using SvgLight = TSvgLight<>
using GrayModuleLightWidget = TGrayModuleLightWidget<>
using WhiteLight = TWhiteLight<>
using RedLight = TRedLight<>
using GreenLight = TGreenLight<>
using BlueLight = TBlueLight<>
using YellowLight = TYellowLight<>
using GreenRedLight = TGreenRedLight<>
using RedGreenBlueLight = TRedGreenBlueLight<>
template<typename TBase>
using LEDBezelLight = VCVBezelLight<TBase>
using LEDSlider = VCVSlider
template<typename TBase>
using LEDSliderLight = VCVSliderLight<TBase>
template<typename TLightBase = RedLight>
using LEDLightSlider = VCVLightSlider<TLightBase>
using LEDButton = VCVButton
template<typename TLight = WhiteLight>
using VCVLightButton = LightButton<VCVButton, TLight>
template<typename TLight>
using LEDLightButton = VCVLightButton<TLight>
 Deprecated alias.
using LEDBezel = VCVBezel
template<typename TLightBase = WhiteLight>
using LEDLightBezel = VCVLightBezel<TLightBase>

Variables

static const NVGcolor SCHEME_BLACK_TRANSPARENT = nvgRGBA(0x00, 0x00, 0x00, 0x00)
static const NVGcolor SCHEME_BLACK = nvgRGB(0x00, 0x00, 0x00)
static const NVGcolor SCHEME_WHITE = nvgRGB(0xff, 0xff, 0xff)
static const NVGcolor SCHEME_RED = nvgRGB(0xed, 0x2c, 0x24)
static const NVGcolor SCHEME_ORANGE = nvgRGB(0xf2, 0xb1, 0x20)
static const NVGcolor SCHEME_YELLOW = nvgRGB(0xff, 0xd7, 0x14)
static const NVGcolor SCHEME_GREEN = nvgRGB(0x90, 0xc7, 0x3e)
static const NVGcolor SCHEME_CYAN = nvgRGB(0x22, 0xe6, 0xef)
static const NVGcolor SCHEME_BLUE = nvgRGB(0x29, 0xb2, 0xef)
static const NVGcolor SCHEME_PURPLE = nvgRGB(0xd5, 0x2b, 0xed)
static const NVGcolor SCHEME_LIGHT_GRAY = nvgRGB(0xe6, 0xe6, 0xe6)
static const NVGcolor SCHEME_DARK_GRAY = nvgRGB(0x17, 0x17, 0x17)

Detailed Description

Library of Rack components: knobs, ports, lights, switches, buttons, etc.

See LICENSE.md for legal details about using Rack component graphics in your Rack plugin.

Typedef Documentation

◆ SvgLight

◆ GrayModuleLightWidget

◆ WhiteLight

◆ RedLight

◆ GreenLight

◆ BlueLight

◆ YellowLight

◆ GreenRedLight

◆ RedGreenBlueLight

◆ LEDBezelLight

template<typename TBase>
using rack::componentlibrary::LEDBezelLight = VCVBezelLight<TBase>

◆ LEDSlider

◆ LEDSliderLight

template<typename TBase>
using rack::componentlibrary::LEDSliderLight = VCVSliderLight<TBase>

◆ LEDLightSlider

template<typename TLightBase = RedLight>
using rack::componentlibrary::LEDLightSlider = VCVLightSlider<TLightBase>

◆ LEDButton

◆ VCVLightButton

template<typename TLight = WhiteLight>
using rack::componentlibrary::VCVLightButton = LightButton<VCVButton, TLight>

◆ LEDLightButton

template<typename TLight>
using rack::componentlibrary::LEDLightButton = VCVLightButton<TLight>

Deprecated alias.

◆ LEDBezel

◆ LEDLightBezel

template<typename TLightBase = WhiteLight>
using rack::componentlibrary::LEDLightBezel = VCVLightBezel<TLightBase>

Variable Documentation

◆ SCHEME_BLACK_TRANSPARENT

const NVGcolor rack::componentlibrary::SCHEME_BLACK_TRANSPARENT = nvgRGBA(0x00, 0x00, 0x00, 0x00)
static

◆ SCHEME_BLACK

const NVGcolor rack::componentlibrary::SCHEME_BLACK = nvgRGB(0x00, 0x00, 0x00)
static

◆ SCHEME_WHITE

const NVGcolor rack::componentlibrary::SCHEME_WHITE = nvgRGB(0xff, 0xff, 0xff)
static

◆ SCHEME_RED

const NVGcolor rack::componentlibrary::SCHEME_RED = nvgRGB(0xed, 0x2c, 0x24)
static

◆ SCHEME_ORANGE

const NVGcolor rack::componentlibrary::SCHEME_ORANGE = nvgRGB(0xf2, 0xb1, 0x20)
static

◆ SCHEME_YELLOW

const NVGcolor rack::componentlibrary::SCHEME_YELLOW = nvgRGB(0xff, 0xd7, 0x14)
static

◆ SCHEME_GREEN

const NVGcolor rack::componentlibrary::SCHEME_GREEN = nvgRGB(0x90, 0xc7, 0x3e)
static

◆ SCHEME_CYAN

const NVGcolor rack::componentlibrary::SCHEME_CYAN = nvgRGB(0x22, 0xe6, 0xef)
static

◆ SCHEME_BLUE

const NVGcolor rack::componentlibrary::SCHEME_BLUE = nvgRGB(0x29, 0xb2, 0xef)
static

◆ SCHEME_PURPLE

const NVGcolor rack::componentlibrary::SCHEME_PURPLE = nvgRGB(0xd5, 0x2b, 0xed)
static

◆ SCHEME_LIGHT_GRAY

const NVGcolor rack::componentlibrary::SCHEME_LIGHT_GRAY = nvgRGB(0xe6, 0xe6, 0xe6)
static

◆ SCHEME_DARK_GRAY

const NVGcolor rack::componentlibrary::SCHEME_DARK_GRAY = nvgRGB(0x17, 0x17, 0x17)
static