Audacity  2.2.0
EqualizationPanel Class Referencefinal

EqualizationPanel is used with EqualizationDialog and controls a graph for EffectEqualization. We should look at amalgamating the various graphing code, such as provided by FreqWindow and FilterPanel. More...

#include <Equalization.h>

Inheritance diagram for EqualizationPanel:
wxTabTraversalWrapper< Base >

Public Member Functions

 EqualizationPanel (EffectEqualization *effect, wxWindow *parent)
 
 ~EqualizationPanel ()
 
bool AcceptsFocus () const
 
bool AcceptsFocusFromKeyboard () const
 
void ForceRecalc ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Private Member Functions

void Recalc ()
 
void OnMouseEvent (wxMouseEvent &event)
 
void OnCaptureLost (wxMouseCaptureLostEvent &event)
 
void OnPaint (wxPaintEvent &event)
 
void OnSize (wxSizeEvent &event)
 

Private Attributes

wxWindow * mParent
 
EffectEqualizationmEffect
 
std::unique_ptr< EnvelopeEditormLinEditor
 
std::unique_ptr< EnvelopeEditormLogEditor
 
bool mRecalcRequired
 
std::unique_ptr< wxBitmap > mBitmap
 
wxRect mEnvRect
 
int mWidth
 
int mHeight
 
Floats mOutr
 
Floats mOuti
 

Detailed Description

EqualizationPanel is used with EqualizationDialog and controls a graph for EffectEqualization. We should look at amalgamating the various graphing code, such as provided by FreqWindow and FilterPanel.

Constructor & Destructor Documentation

EqualizationPanel::EqualizationPanel ( EffectEqualization effect,
wxWindow *  parent 
)
EqualizationPanel::~EqualizationPanel ( )

Member Function Documentation

bool EqualizationPanel::AcceptsFocus ( ) const
inline
bool EqualizationPanel::AcceptsFocusFromKeyboard ( ) const
inline
void EqualizationPanel::ForceRecalc ( )
void EqualizationPanel::OnCaptureLost ( wxMouseCaptureLostEvent &  event)
private
void EqualizationPanel::OnSize ( wxSizeEvent &  event)
private

Member Data Documentation

std::unique_ptr<wxBitmap> EqualizationPanel::mBitmap
private

Referenced by OnPaint().

EffectEqualization* EqualizationPanel::mEffect
private

Referenced by OnMouseEvent(), OnPaint(), and Recalc().

wxRect EqualizationPanel::mEnvRect
private

Referenced by OnMouseEvent(), and OnPaint().

int EqualizationPanel::mHeight
private

Referenced by OnPaint().

std::unique_ptr<EnvelopeEditor> EqualizationPanel::mLinEditor
private

Referenced by OnMouseEvent().

std::unique_ptr<EnvelopeEditor> EqualizationPanel::mLogEditor
private

Referenced by OnMouseEvent().

Floats EqualizationPanel::mOuti
private

Referenced by Recalc().

Floats EqualizationPanel::mOutr
private

Referenced by OnPaint(), and Recalc().

wxWindow* EqualizationPanel::mParent
private
bool EqualizationPanel::mRecalcRequired
private

Referenced by ForceRecalc(), and OnPaint().

int EqualizationPanel::mWidth
private

Referenced by OnPaint().


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