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())
271#include "../TrackPanel.h"
323 trackPanel.Refresh(
false);
333 trackPanel.Refresh(
false);
358 wxT(
"Optional/Extra/Part1"),
wxEVT_COMMAND_BUTTON_CLICKED
AttachedItem sAttachment2
constexpr CommandFlag AlwaysEnabledFlag
XXO("&Cut/Copy/Paste Toolbar")
audacity::BasicSettings * gPrefs
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,...
An explicitly nonlocalized string, not meant for the user to see.
static ProjectSettings & Get(AudacityProject &project)
static ProjectWindow & Get(AudacityProject &project)
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.
virtual bool Flush() noexcept=0
virtual bool Write(const wxString &key, bool value)=0
virtual bool Read(const wxString &key, bool *value) const =0
std::unique_ptr< detail::IndirectItem< Item > > Indirect(const std::shared_ptr< Item > &ptr)
A convenience function.
std::shared_ptr< BaseItem > BaseItemSharedPtr