14#ifndef __AUDACITY_CONTROL_TOOLBAR__
15#define __AUDACITY_CONTROL_TOOLBAR__
44 void Create(wxWindow *parent)
override;
47 void OnKeyEvent(wxKeyEvent & event);
51 void OnRewind(wxCommandEvent & evt);
52 void OnPlay(wxCommandEvent & evt);
53 void OnStop(wxCommandEvent & evt);
55 void OnFF(wxCommandEvent & evt);
56 void OnPause(wxCommandEvent & evt);
57 void OnLoop(wxCommandEvent & evt);
58 void OnIdle(wxIdleEvent & event);
62 Straight, Looped, CutPreview, Scrub, Seek
66 void SetPlay(
bool down, PlayAppearance appearance = PlayAppearance::Straight);
74 void Repaint(wxDC *dc)
override;
81 void StartScrollingIfPreferred();
82 void StartScrolling();
86 void UpdateStatusBar();
88 void ArrangeButtons();
93 ID_PAUSE_BUTTON = 11000,
118 DECLARE_EVENT_TABLE()
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
An explicitly nonlocalized string, not meant for the user to see.
Holds a msgid for the translation catalog; may also bind format arguments.
PROJECT_FILE_IO_API wxString Find(const FilePath &path)
Services * Get()
Fetch the global instance, or nullptr if none is yet installed.