Gin
Loading...
Searching...
No Matches
HorizontalFader Class Reference

Horizontal slider wth text for controlling a param. More...

#include <gin_horizontalfader.h>

Inheritance diagram for HorizontalFader:

Public Member Functions

 HorizontalFader (Parameter *parameter, bool fromCentre=false)
void resized () override
void parentHierarchyChanged () override
Public Member Functions inherited from ParamComponent
 ParamComponent (Parameter *parameter)
 ~ParamComponent () override
juce::String getUid ()
void setTooltip (const juce::String &newTooltip) override
virtual bool allowClicksOn (const juce::Component &)

Protected Attributes

juce::Label name
Readout value
PluginSlider fader
Protected Attributes inherited from ParamComponent
Parameter * parameter = nullptr

Additional Inherited Members

Public Types inherited from ParamComponent
using Ptr = ParamComponent*

Detailed Description

Horizontal slider wth text for controlling a param.

Constructor & Destructor Documentation

◆ HorizontalFader()

HorizontalFader::HorizontalFader ( Parameter * parameter,
bool fromCentre = false )

Member Function Documentation

◆ resized()

void HorizontalFader::resized ( )
override

◆ parentHierarchyChanged()

void HorizontalFader::parentHierarchyChanged ( )
override

References fader, name, and value.

Member Data Documentation

◆ name

juce::Label HorizontalFader::name
protected

Referenced by parentHierarchyChanged().

◆ value

Readout HorizontalFader::value
protected

Referenced by parentHierarchyChanged().

◆ fader

PluginSlider HorizontalFader::fader
protected

Referenced by parentHierarchyChanged().


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