Gin
Public Types | Public Member Functions | List of all members
LevelMeter Class Reference

Draws a simple level meter. More...

Inherits juce::Component, and juce::Timer.

Public Types

enum  ColourIds { lineColourId = 0x1291e10 , backgroundColourId = 0x1291e11 , meterColourId = 0x1291e12 }
 

Public Member Functions

 LevelMeter (const LevelTracker &, juce::NormalisableRange< float > r={-60, 0})
 
 ~LevelMeter () override
 
void setTopDown (bool td)
 

Detailed Description

Draws a simple level meter.

Member Enumeration Documentation

◆ ColourIds

Enumerator
lineColourId 
backgroundColourId 
meterColourId 

Constructor & Destructor Documentation

◆ LevelMeter()

LevelMeter::LevelMeter ( const LevelTracker ,
juce::NormalisableRange< float >  r = {-60, 0} 
)

◆ ~LevelMeter()

LevelMeter::~LevelMeter ( )
override

Member Function Documentation

◆ setTopDown()

void LevelMeter::setTopDown ( bool  td)

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