57:
ToolBar(project,
XO(
"Time"), ID(), true),
77 return *
static_cast<TimeToolBar*
>(toolManager.GetToolBar(
ID()));
93 auto format = formats.GetAudioTimeFormat();
134 SetMaxSize(wxDefaultSize);
135 SetMinSize(wxDefaultSize);
149 wxSize sz = GetSize();
180 SetSize(GetBestSize().x, GetSize().y);
221 SetSize(GetBestSize().x, GetSize().y);
230 SetMinSize(wxDefaultSize);
231 SetMaxSize(wxDefaultSize);
247 minSize.x +=
outer.x;
261 maxSize.x +=
outer.x;
268 maxSize.y =
IsDocked() ? minH : wxDefaultCoord;
291 SetMinSize(wxDefaultSize);
292 SetMaxSize(wxDefaultSize);
309 SetSize(GetBestSize().x, GetSize().y);
342 if (sizerBR.x >= timeBR.x && sizerBR.y >= timeBR.y) {
346 }
while (h < maxDigitH && sizerBR.x >= timeBR.x && sizerBR.y >= timeBR.y);
350 else if (sizerBR.x < timeBR.x || sizerBR.y < timeBR.y) {
354 }
while (h >=
minDigitH && (sizerBR.x < timeBR.x || sizerBR.y < timeBR.y));
372 if (projectAudioIO.IsAudioActive()) {
374 audioTime = gAudioIO->GetStreamTime();
398 XXO(
"&Time Toolbar"),
static const wxPoint2DDouble outer[]
XXO("&Cut/Copy/Paste Toolbar")
EVT_COMMAND(wxID_ANY, EVT_FREQUENCYTEXTCTRL_UPDATED, LabelDialog::OnFreqUpdate) LabelDialog
an object holding per-project preferred sample rate
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
An explicitly nonlocalized string, not meant for the user to see.
FormatStrings GetBuiltinFormat(const int index)
NumericFormatSymbol GetBuiltinName(const int index)
static NumericFormatSymbol HoursMinsSecondsFormat()
bool SetFormatString(const FormatStrings &formatString)
void SetReadOnly(bool readOnly=true)
void SetSampleRate(double sampleRate)
void SetDigitSize(int width, int height)
void SetName(const TranslatableString &name)
void SetValue(double newValue)
Subscription Subscribe(Callback callback)
Connect a callback to the Publisher; later-connected are called earlier.
static ProjectAudioIO & Get(AudacityProject &project)
static ProjectRate & Get(AudacityProject &project)
static ViewInfo & Get(AudacityProject &project)