VCV Rack API v2
Loading...
Searching...
No Matches
rack::componentlibrary::LightSlider< TBase, TLightBase > Struct Template Reference

An SvgSlider with an attached light. More...

#include <componentlibrary.hpp>

Inheritance diagram for rack::componentlibrary::LightSlider< TBase, TLightBase >:
[legend]
Collaboration diagram for rack::componentlibrary::LightSlider< TBase, TLightBase >:
[legend]

Public Member Functions

 LightSlider ()
 
app::ModuleLightWidgetgetLight ()
 
void step () override
 

Public Attributes

app::ModuleLightWidgetlight
 

Detailed Description

template<typename TBase, typename TLightBase = RedLight>
struct rack::componentlibrary::LightSlider< TBase, TLightBase >

An SvgSlider with an attached light.

Construct with createLightParamCentered() helper function.

Constructor & Destructor Documentation

◆ LightSlider()

template<typename TBase , typename TLightBase = RedLight>
rack::componentlibrary::LightSlider< TBase, TLightBase >::LightSlider ( )
inline

Member Function Documentation

◆ getLight()

template<typename TBase , typename TLightBase = RedLight>
app::ModuleLightWidget * rack::componentlibrary::LightSlider< TBase, TLightBase >::getLight ( )
inline

◆ step()

template<typename TBase , typename TLightBase = RedLight>
void rack::componentlibrary::LightSlider< TBase, TLightBase >::step ( )
inlineoverride

Member Data Documentation

◆ light

template<typename TBase , typename TLightBase = RedLight>
app::ModuleLightWidget* rack::componentlibrary::LightSlider< TBase, TLightBase >::light

The documentation for this struct was generated from the following file: