Audacity 3.2.0
Namespaces | Macros | Enumerations | Functions | Variables
FreqWindow.cpp File Reference
#include "FreqWindow.h"
#include <algorithm>
#include <wx/setup.h>
#include <wx/brush.h>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/choice.h>
#include <wx/dcclient.h>
#include <wx/dcmemory.h>
#include <wx/font.h>
#include <wx/file.h>
#include <wx/frame.h>
#include <wx/scrolbar.h>
#include <wx/slider.h>
#include <wx/statbmp.h>
#include <wx/stattext.h>
#include <wx/statusbr.h>
#include <wx/textctrl.h>
#include <wx/textfile.h>
#include <wx/wfstream.h>
#include <wx/txtstrm.h>
#include <math.h>
#include "AColor.h"
#include "AllThemeResources.h"
#include "BasicUI.h"
#include "CommonCommandFlags.h"
#include "Decibels.h"
#include "FFT.h"
#include "PitchName.h"
#include "Prefs.h"
#include "Project.h"
#include "ProjectWindows.h"
#include "SelectFile.h"
#include "ShuttleGui.h"
#include "Theme.h"
#include "ViewInfo.h"
#include "FileNames.h"
#include "WaveTrack.h"
#include "AudacityMessageBox.h"
#include "HelpSystem.h"
#include "widgets/FreqGauge.h"
#include "widgets/LinearDBFormat.h"
#include "widgets/LinearUpdater.h"
#include "widgets/LogarithmicUpdater.h"
#include "widgets/RealFormat.h"
#include "widgets/RulerPanel.h"
#include "CommandContext.h"
#include "CommandManager.h"
Include dependency graph for FreqWindow.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{FreqWindow.cpp}
 

Macros

#define FrequencyAnalysisTitle   XO("Frequency Analysis")
 
#define FREQ_WINDOW_WIDTH   480
 
#define FREQ_WINDOW_HEIGHT   330
 

Enumerations

enum  {
  FirstID = 7000 , FreqZoomSliderID , FreqPanScrollerID , FreqExportButtonID ,
  FreqAlgChoiceID , FreqSizeChoiceID , FreqFuncChoiceID , FreqAxisChoiceID ,
  ReplotButtonID , GridOnOffID
}
 

Functions

 DEFINE_EVENT_TYPE (EVT_FREQWINDOW_RECALC)
 
void anonymous_namespace{FreqWindow.cpp}::OnPlotSpectrum (const CommandContext &context)
 

Variables

static const char * ZoomIn []
 
static const char * ZoomOut []
 
AttachedWindows::RegisteredFactory anonymous_namespace{FreqWindow.cpp}::sFrequencyWindowKey
 
AttachedItem anonymous_namespace{FreqWindow.cpp}::sAttachment
 

Macro Definition Documentation

◆ FREQ_WINDOW_HEIGHT

#define FREQ_WINDOW_HEIGHT   330

Definition at line 116 of file FreqWindow.cpp.

◆ FREQ_WINDOW_WIDTH

#define FREQ_WINDOW_WIDTH   480

Definition at line 115 of file FreqWindow.cpp.

◆ FrequencyAnalysisTitle

#define FrequencyAnalysisTitle   XO("Frequency Analysis")

Definition at line 95 of file FreqWindow.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
FirstID 
FreqZoomSliderID 
FreqPanScrollerID 
FreqExportButtonID 
FreqAlgChoiceID 
FreqSizeChoiceID 
FreqFuncChoiceID 
FreqAxisChoiceID 
ReplotButtonID 
GridOnOffID 

Definition at line 99 of file FreqWindow.cpp.

99 {
100 FirstID = 7000,
101
111};
@ FreqAxisChoiceID
Definition: FreqWindow.cpp:108
@ FreqFuncChoiceID
Definition: FreqWindow.cpp:107
@ FreqPanScrollerID
Definition: FreqWindow.cpp:103
@ FreqExportButtonID
Definition: FreqWindow.cpp:104
@ ReplotButtonID
Definition: FreqWindow.cpp:109
@ FreqAlgChoiceID
Definition: FreqWindow.cpp:105
@ FreqSizeChoiceID
Definition: FreqWindow.cpp:106
@ FreqZoomSliderID
Definition: FreqWindow.cpp:102
@ GridOnOffID
Definition: FreqWindow.cpp:110
@ FirstID
Definition: FreqWindow.cpp:100

Function Documentation

◆ DEFINE_EVENT_TYPE()

DEFINE_EVENT_TYPE ( EVT_FREQWINDOW_RECALC  )

Variable Documentation

◆ ZoomIn

const char* ZoomIn[]
static
Initial value:
= {
"16 16 6 1",
" c None",
"+ c #1C1C1C",
"@ c #AEAEAE",
"# c #F7F7F7",
"$ c #CFCECC",
"* c #1C1CA0",
" ++++ ",
" @+# @$+@ ",
" + @** +@ ",
" +#@ ** #+ ",
" +@****** +@",
" + ****** +@",
" +# ** #+@",
" + ** +@@",
" +++# #+@@ ",
" +++@++++@@ ",
" +++@@ @@@@ ",
" +++@@ ",
" +++@@ ",
"+++@@ ",
"@+@@ ",
" @@ "}

Definition at line 118 of file FreqWindow.cpp.

Referenced by FrequencyPlotDialog::Populate().

◆ ZoomOut

const char* ZoomOut[]
static
Initial value:
= {
"16 16 6 1",
" c None",
"+ c #1C1C1C",
"@ c #AEAEAE",
"# c #F7F7F7",
"$ c #CFCECC",
"* c #1C1CA0",
" ++++ ",
" @+# $+@ ",
" + @@ +@ ",
" +# @ #+ ",
" +@****** +@",
" + ****** +@",
" +# #+@",
" + +@@",
" +++# #+@@ ",
" +++@++++@@ ",
" +++@@ @@@@ ",
" +++@@ ",
" +++@@ ",
"+++@@ ",
"@+@@ ",
" @@ "}

Definition at line 143 of file FreqWindow.cpp.

Referenced by FrequencyPlotDialog::Populate().