44#include <wx/tooltip.h>
53#include "../widgets/AButton.h"
55#include "../commands/CommandContext.h"
56#include "../commands/CommandManager.h"
57#include "../commands/CommandDispatch.h"
62#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
75#ifdef OPTION_SYNC_LOCK_BUTTON
85#ifdef OPTION_SYNC_LOCK_BUTTON
94#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
95 { ETBZoomToggleID,
wxT(
"ZoomToggle"),
XO(
"Zoom Toggle") },
102#ifdef OPTION_SYNC_LOCK_BUTTON
103 { ETBSyncLockID,
wxT(
"SyncLock"),
XO(
"Sync-Lock Tracks") },
132#ifdef OPTION_SYNC_LOCK_BUTTON
133 auto action = [
this]() {
184 XO(
"Zoom to Selection"));
188#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
189 AddButton(bmpZoomToggle, bmpZoomToggle, bmpZoomToggleDisabled, ETBZoomToggleID,
195 XO(
"Trim audio outside selection"));
197 XO(
"Silence audio selection"));
199#ifdef OPTION_SYNC_LOCK_BUTTON
200 AddButton(bmpSyncLockTracksUp, bmpSyncLockTracksDown, bmpSyncLockTracksUp, ETBSyncLockID,
201 XO(
"Sync-Lock Tracks"),
true);
213#ifdef EXPERIMENTAL_ZOOM_TOGGLE_BUTTON
220#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.