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)
 
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)

Definition at line 1114 of file FreqWindow.cpp.

1115 : wxWindow(parent, wxID_ANY)
1116 {
1117  freqWindow = (FreqWindow *) parent;
1118 }
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 1120 of file FreqWindow.cpp.

1121 {
1122  return false;
1123 }
void FreqPlot::OnErase ( wxEraseEvent &  event)
private

Definition at line 1125 of file FreqWindow.cpp.

1126 {
1127  // Ignore it to prevent flashing
1128 }
void FreqPlot::OnMouseEvent ( wxMouseEvent &  event)
private

Definition at line 1135 of file FreqWindow.cpp.

References freqWindow, and FreqWindow::PlotMouseEvent().

1136 {
1137  freqWindow->PlotMouseEvent(event);
1138 }
FreqWindow * freqWindow
Definition: FreqWindow.h:120
void PlotMouseEvent(wxMouseEvent &event)
Definition: FreqWindow.cpp:805
void FreqPlot::OnPaint ( wxPaintEvent &  event)
private

Definition at line 1130 of file FreqWindow.cpp.

References freqWindow, and FreqWindow::PlotPaint().

1131 {
1132  freqWindow->PlotPaint(evt);
1133 }
FreqWindow * freqWindow
Definition: FreqWindow.h:120
void PlotPaint(wxPaintEvent &event)
Definition: FreqWindow.cpp:867

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: