VCV Rack API v2
rack::componentlibrary Namespace Reference

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

Classes

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

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
 
using LEDSliderHorizontal = VCVSliderHorizontal
 
template<typename TBase >
using LEDSliderLight = VCVSliderLight< TBase >
 
template<typename TLightBase = RedLight>
using LEDLightSlider = VCVLightSlider< TLightBase >
 
template<typename TLightBase = RedLight>
using LEDLightSliderHorizontal = VCVLightSliderHorizontal< TLightBase >
 
using LEDButton = VCVButton
 
template<typename TLight >
using LEDLightButton = VCVLightButton< TLight >
 
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 = typedef VCVBezelLight<TBase>

◆ LEDSlider

◆ LEDSliderHorizontal

◆ LEDSliderLight

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

◆ LEDLightSlider

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

◆ LEDLightSliderHorizontal

template<typename TLightBase = RedLight>
using rack::componentlibrary::LEDLightSliderHorizontal = typedef VCVLightSliderHorizontal<TLightBase>

◆ LEDButton

◆ LEDLightButton

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

◆ LEDBezel

◆ LEDLightBezel

template<typename TLightBase = WhiteLight>
using rack::componentlibrary::LEDLightBezel = typedef 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