Audacity  2.2.0
FreqGauge Class Referencefinal

#include <FreqWindow.h>

Inheritance diagram for FreqGauge:

Public Member Functions

 FreqGauge (wxWindow *parent)
 
void SetRange (int range, int bar=12, int gap=3)
 
void SetValue (int value)
 
void Reset ()
 

Private Attributes

wxRect mRect
 
int mRange
 
int mCur
 
int mLast
 
int mInterval
 
int mBar
 
int mGap
 
int mMargin
 

Constructor & Destructor Documentation

FreqGauge::FreqGauge ( wxWindow *  parent)

References mRange.

Member Function Documentation

void FreqGauge::Reset ( )

References mRange.

Referenced by SpectrumAnalyst::Calculate().

void FreqGauge::SetRange ( int  range,
int  bar = 12,
int  gap = 3 
)

References gap, mBar, mGap, mInterval, mLast, mMargin, mRange, and mRect.

Referenced by SpectrumAnalyst::Calculate().

void FreqGauge::SetValue ( int  value)

References mBar, mCur, mGap, mInterval, mLast, mMargin, and mRect.

Referenced by SpectrumAnalyst::Calculate().

Member Data Documentation

int FreqGauge::mBar
private

Referenced by SetRange(), and SetValue().

int FreqGauge::mCur
private

Referenced by SetValue().

int FreqGauge::mGap
private

Referenced by SetRange(), and SetValue().

int FreqGauge::mInterval
private

Referenced by SetRange(), and SetValue().

int FreqGauge::mLast
private

Referenced by SetRange(), and SetValue().

int FreqGauge::mMargin
private

Referenced by SetRange(), and SetValue().

int FreqGauge::mRange
private

Referenced by FreqGauge(), Reset(), and SetRange().

wxRect FreqGauge::mRect
private

Referenced by SetRange(), and SetValue().


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