![]() |
Audacity 3.2.0
|
Classes | |
| struct | MenuItem |
Typedefs | |
| using | MenuItems = std::vector< MenuItem > |
Functions | |
| double | FindScrubbingSpeed (const ViewInfo &viewInfo, double maxScrubSpeed, double screen, double timeAtMouse) |
| double | FindSeekSpeed (const ViewInfo &viewInfo, double maxScrubSpeed, double screen, double timeAtMouse) |
| const MenuItems & | menuItems () |
| const MenuItem & | FindMenuItem (bool seek) |
| bool | ReadScrubEnabledPref () |
| void | WriteScrubEnabledPref (bool value) |
| auto | ToolbarMenu () |
| auto | KeyboardScrubbingItems () |
Variables | |
| static const wxChar * | scrubEnabledPrefName = wxT("/QuickPlay/ScrubbingEnabled") |
| static const auto | finder |
| AttachedItem | sAttachment { Indirect(ToolbarMenu()), wxT("Transport/Basic") } |
| AttachedItem | sAttachment2 |
| using anonymous_namespace{Scrubbing.cpp}::MenuItems = typedef std::vector< MenuItem > |
Definition at line 258 of file Scrubbing.cpp.
|
inline |
Definition at line 292 of file Scrubbing.cpp.
References details::begin(), details::end(), menuItems(), and anonymous_namespace{Scrubbing.cpp}::MenuItem::seek.
Referenced by Scrubber::GetUntranslatedStateString().
| double anonymous_namespace{Scrubbing.cpp}::FindScrubbingSpeed | ( | const ViewInfo & | viewInfo, |
| double | maxScrubSpeed, | ||
| double | screen, | ||
| double | timeAtMouse | ||
| ) |
Definition at line 61 of file Scrubbing.cpp.
References TracksPrefs::GetPinnedHeadPositionPreference(), ZoomInfo::hpos, and min().
Referenced by Scrubber::FindScrubSpeed().
| double anonymous_namespace{Scrubbing.cpp}::FindSeekSpeed | ( | const ViewInfo & | viewInfo, |
| double | maxScrubSpeed, | ||
| double | screen, | ||
| double | timeAtMouse | ||
| ) |
Definition at line 103 of file Scrubbing.cpp.
References TracksPrefs::GetPinnedHeadPositionPreference(), ZoomInfo::hpos, and min().
Referenced by Scrubber::FindScrubSpeed().
| auto anonymous_namespace{Scrubbing.cpp}::KeyboardScrubbingItems | ( | ) |
Definition at line 1151 of file Scrubbing.cpp.
References CanStopAudioStreamFlag(), CaptureNotBusyFlag(), MenuRegistry::Command, finder, MenuRegistry::Items, Scrubber::OnKeyboardScrubBackwards(), Scrubber::OnKeyboardScrubForwards(), wxT(), and XXO().
| const MenuItems & anonymous_namespace{Scrubbing.cpp}::menuItems | ( | ) |
Definition at line 259 of file Scrubbing.cpp.
References AlwaysEnabledFlag, CaptureNotBusyFlag(), HasWaveDataFlag(), Scrubber::OnScrub(), Scrubber::OnSeek(), Scrubber::OnToggleScrubRuler(), Scrubber::Scrubs(), Scrubber::Seeks(), Scrubber::ShowsBar(), wxT(), XO(), and XXO().
Referenced by Scrubber::CheckMenuItems(), FindMenuItem(), MenuHelper::PopulateEffectsMenu(), Scrubber::PopulatePopupMenu(), and ToolbarMenu().
| bool anonymous_namespace{Scrubbing.cpp}::ReadScrubEnabledPref | ( | ) |
Definition at line 942 of file Scrubbing.cpp.
References gPrefs, audacity::BasicSettings::Read(), and scrubEnabledPrefName.
Referenced by Scrubber::UpdatePrefs().
| auto anonymous_namespace{Scrubbing.cpp}::ToolbarMenu | ( | ) |
Definition at line 1127 of file Scrubbing.cpp.
References MenuRegistry::Options::CheckTest(), MenuRegistry::Command, finder, MenuRegistry::Menu, menuItems(), project, anonymous_namespace{wxCommandTargets.cpp}::scope, and XXO().
| void anonymous_namespace{Scrubbing.cpp}::WriteScrubEnabledPref | ( | bool | value | ) |
Definition at line 950 of file Scrubbing.cpp.
References gPrefs, scrubEnabledPrefName, and audacity::BasicSettings::Write().
Referenced by Scrubber::OnToggleScrubRuler().
|
static |
Definition at line 1122 of file Scrubbing.cpp.
Referenced by CommandManager::Populator::AddGlobalCommand(), CommandManager::Populator::AddItem(), CommandManager::Populator::AddItemList(), MenuRegistry::CommandGroupItem::CommandGroupItem(), Effect::Delegate(), AudacityApplicationLogic::DoEffect(), EffectBase::DoEffect(), CommandManager::DoRepeatProcess(), CommandManager::ExecuteCommand(), MenuRegistry::FinderScope::FinderScope(), KeyboardScrubbingItems(), CommandManager::Populator::NewIdentifier(), ToolbarMenu(), and TrackPanel::TrackPanel().
| AttachedItem anonymous_namespace{Scrubbing.cpp}::sAttachment { Indirect(ToolbarMenu()), wxT("Transport/Basic") } |
Definition at line 1149 of file Scrubbing.cpp.
| AttachedItem anonymous_namespace{Scrubbing.cpp}::sAttachment2 |
Definition at line 1168 of file Scrubbing.cpp.
|
static |
Definition at line 940 of file Scrubbing.cpp.
Referenced by ReadScrubEnabledPref(), and WriteScrubEnabledPref().