44#include <wx/tooltip.h>
52#include "../widgets/AButton.h"
56#include "../commands/CommandDispatch.h"
61#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
74#ifdef OPTION_SYNC_LOCK_BUTTON
84#ifdef OPTION_SYNC_LOCK_BUTTON
93#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
94 { ETBZoomToggleID,
wxT(
"ZoomToggle"),
XO(
"Zoom Toggle") },
101#ifdef OPTION_SYNC_LOCK_BUTTON
102 { ETBSyncLockID,
wxT(
"SyncLock"),
XO(
"Sync-Lock Tracks") },
131#ifdef OPTION_SYNC_LOCK_BUTTON
132 auto action = [
this]() {
183 XO(
"Zoom to Selection"));
187#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
188 AddButton(bmpZoomToggle, bmpZoomToggle, bmpZoomToggleDisabled, ETBZoomToggleID,
194 XO(
"Trim audio outside selection"));
196 XO(
"Silence audio selection"));
198#ifdef OPTION_SYNC_LOCK_BUTTON
199 AddButton(bmpSyncLockTracksUp, bmpSyncLockTracksDown, bmpSyncLockTracksUp, ETBSyncLockID,
200 XO(
"Sync-Lock Tracks"),
true);
212#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
219#ifdef OPTION_SYNC_LOCK_BUTTON
wxEVT_COMMAND_BUTTON_CLICKED
XXO("&Cut/Copy/Paste Toolbar")
BoolSetting SyncLockTracks
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.
bool Read(T *pVar) const
overload of Read returning a boolean that is true if the value was previously defined */
wxColour & Colour(int iIndex)
Holds a msgid for the translation catalog; may also bind format arguments.