Audacity 3.2.0
|
EffectScienFilterPanel is used with EffectScienFilter and controls a graph for EffectScienFilter. More...
#include <ScienFilter.h>
Public Member Functions | |
EffectScienFilterPanel (wxWindow *parent, wxWindowID winid, EffectScienFilter *effect, double lo, double hi) | |
virtual | ~EffectScienFilterPanel () |
bool | AcceptsFocus () const |
bool | AcceptsFocusFromKeyboard () const |
void | SetFreqRange (double lo, double hi) |
void | SetDbRange (double min, double max) |
Public Member Functions inherited from wxPanelWrapper | |
wxPanelWrapper () | |
wxPanelWrapper (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel")) | |
bool | Create (wxWindow *parent, wxWindowID winid=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, const TranslatableString &name=XO("Panel")) |
void | SetLabel (const TranslatableString &label) |
void | SetName (const TranslatableString &name) |
void | SetToolTip (const TranslatableString &toolTip) |
void | SetName () |
Public Member Functions inherited from wxTabTraversalWrapper< wxPanel > | |
wxTabTraversalWrapper (Args &&... args) | |
wxTabTraversalWrapper (const wxTabTraversalWrapper &)=delete | |
wxTabTraversalWrapper (wxTabTraversalWrapper &&)=delete | |
wxTabTraversalWrapper & | operator= (const wxTabTraversalWrapper &)=delete |
wxTabTraversalWrapper & | operator= (wxTabTraversalWrapper &&)=delete |
Private Member Functions | |
void | OnPaint (wxPaintEvent &evt) |
void | OnSize (wxSizeEvent &evt) |
Private Attributes | |
EffectScienFilter * | mEffect |
wxWindow * | mParent |
double | mLoFreq |
double | mHiFreq |
double | mDbMin |
double | mDbMax |
std::unique_ptr< wxBitmap > | mBitmap |
wxRect | mEnvRect |
int | mWidth |
int | mHeight |
Friends | |
class | EffectScienFilter |
EffectScienFilterPanel is used with EffectScienFilter and controls a graph for EffectScienFilter.
Definition at line 87 of file ScienFilter.h.
EffectScienFilterPanel::EffectScienFilterPanel | ( | wxWindow * | parent, |
wxWindowID | winid, | ||
EffectScienFilter * | effect, | ||
double | lo, | ||
double | hi | ||
) |
Definition at line 452 of file ScienFilter.cpp.
|
virtual |
Definition at line 471 of file ScienFilter.cpp.
bool EffectScienFilterPanel::AcceptsFocus | ( | ) | const |
Definition at line 489 of file ScienFilter.cpp.
bool EffectScienFilterPanel::AcceptsFocusFromKeyboard | ( | ) | const |
Definition at line 494 of file ScienFilter.cpp.
|
private |
Definition at line 504 of file ScienFilter.cpp.
References ThemeBase::Colour(), Ruler::DrawGrid(), ScienFilterBase::FilterMagnAtFreq(), AColor::Line(), LINEAR_TO_DB, mBitmap, mDbMax, mDbMin, EffectScienFilter::mdBRuler, mEffect, mEnvRect, EffectScienFilter::mfreqRuler, mHeight, mHiFreq, mLoFreq, mWidth, RulerPanel::ruler, and theTheme.
|
private |
Definition at line 499 of file ScienFilter.cpp.
void EffectScienFilterPanel::SetDbRange | ( | double | min, |
double | max | ||
) |
Definition at line 482 of file ScienFilter.cpp.
References mDbMax, mDbMin, and min().
Referenced by EffectScienFilter::TransferGraphLimitsFromWindow().
void EffectScienFilterPanel::SetFreqRange | ( | double | lo, |
double | hi | ||
) |
|
friend |
Definition at line 122 of file ScienFilter.h.
|
private |
Definition at line 117 of file ScienFilter.h.
Referenced by OnPaint().
|
private |
Definition at line 115 of file ScienFilter.h.
Referenced by OnPaint(), and SetDbRange().
|
private |
Definition at line 114 of file ScienFilter.h.
Referenced by OnPaint(), and SetDbRange().
|
private |
Definition at line 108 of file ScienFilter.h.
Referenced by OnPaint().
|
private |
Definition at line 118 of file ScienFilter.h.
Referenced by OnPaint().
|
private |
Definition at line 120 of file ScienFilter.h.
Referenced by OnPaint().
|
private |
Definition at line 112 of file ScienFilter.h.
Referenced by OnPaint(), and SetFreqRange().
|
private |
Definition at line 111 of file ScienFilter.h.
Referenced by OnPaint(), and SetFreqRange().
|
private |
Definition at line 109 of file ScienFilter.h.
|
private |
Definition at line 119 of file ScienFilter.h.
Referenced by OnPaint().