Audacity  2.2.0
ContrastDialog Class Referencefinal

#include <Contrast.h>

Inheritance diagram for ContrastDialog:
wxTabTraversalWrapper< Base >

Public Member Functions

 ContrastDialog (wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &pos)
 
 ~ContrastDialog ()
 
- Public Member Functions inherited from wxTabTraversalWrapper< Base >
template<typename... Args>
 wxTabTraversalWrapper (Args &&...args)
 
 ~wxTabTraversalWrapper ()
 

Public Attributes

wxButton * m_pButton_UseCurrentF
 
wxButton * m_pButton_UseCurrentB
 
wxButton * m_pButton_GetURL
 
wxButton * m_pButton_Export
 
wxButton * m_pButton_Reset
 
wxButton * m_pButton_Close
 
NumericTextCtrlmForegroundStartT
 
NumericTextCtrlmForegroundEndT
 
NumericTextCtrlmBackgroundStartT
 
NumericTextCtrlmBackgroundEndT
 
double mT0
 
double mT1
 
double mProjectRate
 
double mStartTimeF
 
double mEndTimeF
 
double mStartTimeB
 
double mEndTimeB
 

Private Member Functions

void OnGetURL (wxCommandEvent &event)
 
void OnExport (wxCommandEvent &event)
 
void OnGetForeground (wxCommandEvent &event)
 
void OnGetBackground (wxCommandEvent &event)
 
void results ()
 
void OnReset (wxCommandEvent &event)
 
void OnClose (wxCommandEvent &event)
 
void OnChar (wxKeyEvent &event)
 
bool GetDB (float &dB)
 
void SetStartAndEndTime ()
 

Private Attributes

wxTextCtrl * mForegroundRMSText
 
wxTextCtrl * mBackgroundRMSText
 
wxTextCtrl * mPassFailText
 
wxTextCtrl * mDiffText
 
float foregrounddB
 
float backgrounddB
 
bool mForegroundIsDefined
 
bool mBackgroundIsDefined
 
double mT0orig
 
double mT1orig
 
bool mDoBackground
 
double length
 

Constructor & Destructor Documentation

ContrastDialog::~ContrastDialog ( )

Member Function Documentation

bool ContrastDialog::GetDB ( float &  dB)
private
void ContrastDialog::OnChar ( wxKeyEvent &  event)
private

Referenced by ContrastDialog(), and ~ContrastDialog().

void ContrastDialog::OnClose ( wxCommandEvent &  event)
private

References OnReset().

void ContrastDialog::OnGetURL ( wxCommandEvent &  event)
private
void ContrastDialog::SetStartAndEndTime ( )
private

Member Data Documentation

float ContrastDialog::backgrounddB
private

Referenced by OnExport(), OnGetBackground(), and results().

float ContrastDialog::foregrounddB
private

Referenced by OnExport(), OnGetForeground(), and results().

double ContrastDialog::length
private
wxButton* ContrastDialog::m_pButton_Close
wxButton* ContrastDialog::m_pButton_Export
wxButton* ContrastDialog::m_pButton_GetURL
wxButton* ContrastDialog::m_pButton_Reset
wxButton* ContrastDialog::m_pButton_UseCurrentB

Referenced by OnGetBackground().

wxButton* ContrastDialog::m_pButton_UseCurrentF

Referenced by OnGetForeground().

NumericTextCtrl* ContrastDialog::mBackgroundEndT

Referenced by OnExport(), OnGetBackground(), and OnReset().

bool ContrastDialog::mBackgroundIsDefined
private
wxTextCtrl* ContrastDialog::mBackgroundRMSText
private

Referenced by OnReset(), results(), and ~ContrastDialog().

NumericTextCtrl* ContrastDialog::mBackgroundStartT

Referenced by OnExport(), OnGetBackground(), and OnReset().

wxTextCtrl* ContrastDialog::mDiffText
private

Referenced by OnReset(), results(), and ~ContrastDialog().

bool ContrastDialog::mDoBackground
private
double ContrastDialog::mEndTimeB
double ContrastDialog::mEndTimeF
NumericTextCtrl* ContrastDialog::mForegroundEndT

Referenced by OnExport(), OnGetForeground(), and OnReset().

bool ContrastDialog::mForegroundIsDefined
private
wxTextCtrl* ContrastDialog::mForegroundRMSText
private

Referenced by OnReset(), results(), and ~ContrastDialog().

NumericTextCtrl* ContrastDialog::mForegroundStartT

Referenced by OnExport(), OnGetForeground(), and OnReset().

wxTextCtrl* ContrastDialog::mPassFailText
private

Referenced by OnReset(), results(), and ~ContrastDialog().

double ContrastDialog::mProjectRate
double ContrastDialog::mStartTimeB
double ContrastDialog::mStartTimeF
double ContrastDialog::mT0

Referenced by GetDB(), and SetStartAndEndTime().

double ContrastDialog::mT0orig
private
double ContrastDialog::mT1

Referenced by GetDB(), and SetStartAndEndTime().

double ContrastDialog::mT1orig
private

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