Audacity 3.2.0
Namespaces | Enumerations | Functions | Variables
SelectionBar.cpp File Reference
#include "SelectionBar.h"
#include "SelectionBarListener.h"
#include "ToolManager.h"
#include <wx/wxprec.h>
#include <wx/setup.h>
#include <wx/button.h>
#include <wx/checkbox.h>
#include <wx/combobox.h>
#include <wx/intl.h>
#include <wx/radiobut.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/valtext.h>
#include <wx/stattext.h>
#include <wx/statline.h>
#include "../AudioIO.h"
#include "AColor.h"
#include "../KeyboardCapture.h"
#include "Prefs.h"
#include "Project.h"
#include "../ProjectAudioIO.h"
#include "../ProjectSettings.h"
#include "../Snap.h"
#include "ViewInfo.h"
#include "QualitySettings.h"
#include "AllThemeResources.h"
#include "../widgets/auStaticText.h"
Include dependency graph for SelectionBar.cpp:

Go to the source code of this file.

Namespaces

namespace  anonymous_namespace{SelectionBar.cpp}
 

Enumerations

enum  {
  SelectionBarFirstID = 2700 , RateID , SnapToID , OnMenuID ,
  ChoiceID , StartTimeID , LengthTimeID , CenterTimeID ,
  EndTimeID , AudioTimeID
}
 

Functions

 IMPLEMENT_CLASS (SelectionBar, ToolBar)
 

Variables

static const wxChar * numbers []
 
static RegisteredToolbarFactory factory
 
AttachedToolBarMenuItem anonymous_namespace{SelectionBar.cpp}::sAttachment
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SelectionBarFirstID 
RateID 
SnapToID 
OnMenuID 
ChoiceID 
StartTimeID 
LengthTimeID 
CenterTimeID 
EndTimeID 
AudioTimeID 

Definition at line 79 of file SelectionBar.cpp.

79 {
81 RateID,
84
86
91
93};
@ EndTimeID
@ RateID
@ SnapToID
@ SelectionBarFirstID
@ StartTimeID
@ OnMenuID
@ AudioTimeID
@ ChoiceID
@ CenterTimeID
@ LengthTimeID

Function Documentation

◆ IMPLEMENT_CLASS()

IMPLEMENT_CLASS ( SelectionBar  ,
ToolBar   
)

Variable Documentation

◆ factory

RegisteredToolbarFactory factory
static
Initial value:
[]( AudacityProject &project ){
return ToolBar::Holder{ safenew SelectionBar{ project } }; }
}
#define safenew
Definition: MemoryX.h:10
@ SelectionBarID
Definition: ToolBar.h:82
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:89
(not quite a Toolbar) at foot of screen for setting and viewing the selection range.
Definition: SelectionBar.h:46
wxWindowPtr< ToolBar > Holder
Definition: ToolBar.h:102

Definition at line 813 of file SelectionBar.cpp.

◆ numbers

const wxChar* numbers[]
static
Initial value:
=
{
wxT("0"), wxT("1"), wxT("2"), wxT("3"), wxT("4"),
wxT("5"), wxT("6"), wxT("7"), wxT("8"), wxT("9")
}

Definition at line 73 of file SelectionBar.cpp.

Referenced by SelectionBar::Populate(), and Journal::anonymous_namespace{Journal.cpp}::VersionCheck().