46#include <wx/tooltip.h>
52#include "../ProjectSettings.h"
53#include "../ProjectWindow.h"
54#include "../tracks/ui/Scrubbing.h"
56#include "../widgets/AButton.h"
88 bool multiToolActive =
false;
89 gPrefs->Read(
wxT(
"/GUI/ToolBars/Tools/MultiToolActive"), &multiToolActive);
96 project.Bind(EVT_PROJECT_SETTINGS_CHANGE,
104 "mismatch in number of tools" );
146 static const struct Entry {
157 for (
const auto &
entry : table) {
181 bmpRecoloredDownSmall,
182 bmpRecoloredUpHiliteSmall,
183 bmpRecoloredDownSmall,
186 wxDefaultPosition,
true,
217 auto pButton =
mTool[iTool];
218 if (pButton->IsDown())
245 gPrefs->Write(
wxT(
"/GUI/ToolBars/Tools/MultiToolActive"),
271#include "../TrackPanel.h"
317 auto &project = context.
project;
323 trackPanel.Refresh(
false);
328 auto &project = context.
project;
333 trackPanel.Refresh(
false);
358 wxT(
"Optional/Extra/Part1"),
wxEVT_COMMAND_BUTTON_CLICKED
AttachedItem sAttachment2
constexpr CommandFlag AlwaysEnabledFlag
XXO("&Cut/Copy/Paste Toolbar")
static ProjectFileIORegistry::AttributeWriterEntry entry
static Settings & settings()
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
AudacityProject & project
ComponentInterfaceSymbol pairs a persistent string identifier used internally with an optional,...
virtual bool Flush(bool bCurrentOnly=false) wxOVERRIDE
An explicitly nonlocalized string, not meant for the user to see.
static ProjectSettings & Get(AudacityProject &project)
static ProjectWindow & Get(AudacityProject &project)
void RedrawProject(const bool bForceWaveTracks=false)
wxColour & Colour(int iIndex)
wxSize ImageSize(int iIndex)
void Refresh(bool eraseBackground=true, const wxRect *rect=(const wxRect *) NULL) override
static TrackPanel & Get(AudacityProject &project)
Holds a msgid for the translation catalog; may also bind format arguments.
std::shared_ptr< BaseItem > BaseItemSharedPtr