Audacity  2.2.2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FreqPlot Class Referencefinal

Works with FreqWindow to dsplay a spectrum plot of the waveform. This class actually does the graph display. More...

#include <FreqWindow.h>

Inheritance diagram for FreqPlot:

Public Member Functions

 FreqPlot (wxWindow *parent, wxWindowID winid)
 
bool AcceptsFocus () const
 

Private Member Functions

void OnPaint (wxPaintEvent &event)
 
void OnErase (wxEraseEvent &event)
 
void OnMouseEvent (wxMouseEvent &event)
 

Private Attributes

FreqWindowfreqWindow
 

Detailed Description

Works with FreqWindow to dsplay a spectrum plot of the waveform. This class actually does the graph display.

Has a feature that finds peaks and reports their value as you move the mouse around.

Definition at line 106 of file FreqWindow.h.

Constructor & Destructor Documentation

FreqPlot::FreqPlot ( wxWindow *  parent,
wxWindowID  winid 
)

Definition at line 1124 of file FreqWindow.cpp.

1125 : wxWindow(parent, winid)
1126 {
1127  freqWindow = (FreqWindow *) parent;
1128 }
FreqWindow * freqWindow
Definition: FreqWindow.h:120
Displays a spectrum plot of the waveform. Has options for selecting parameters of the plot...
Definition: FreqWindow.h:125

Member Function Documentation

bool FreqPlot::AcceptsFocus ( ) const

Definition at line 1130 of file FreqWindow.cpp.

1131 {
1132  return false;
1133 }
void FreqPlot::OnErase ( wxEraseEvent &  event)
private

Definition at line 1135 of file FreqWindow.cpp.

1136 {
1137  // Ignore it to prevent flashing
1138 }
void FreqPlot::OnMouseEvent ( wxMouseEvent &  event)
private

Definition at line 1145 of file FreqWindow.cpp.

References freqWindow, and FreqWindow::PlotMouseEvent().

1146 {
1147  freqWindow->PlotMouseEvent(event);
1148 }
FreqWindow * freqWindow
Definition: FreqWindow.h:120
void PlotMouseEvent(wxMouseEvent &event)
Definition: FreqWindow.cpp:815
void FreqPlot::OnPaint ( wxPaintEvent &  event)
private

Definition at line 1140 of file FreqWindow.cpp.

References freqWindow, and FreqWindow::PlotPaint().

1141 {
1142  freqWindow->PlotPaint(evt);
1143 }
FreqWindow * freqWindow
Definition: FreqWindow.h:120
void PlotPaint(wxPaintEvent &event)
Definition: FreqWindow.cpp:877

Member Data Documentation

FreqWindow* FreqPlot::freqWindow
private

Definition at line 120 of file FreqWindow.h.

Referenced by OnMouseEvent(), and OnPaint().


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