|  | Audacity 3.2.0
    | 
| Functions | |
| double | GetZoomOfSelection (const AudacityProject &project) | 
| double | GetZoomOfPreset (const AudacityProject &project, int preset) | 
| void | OnZoomIn (const CommandContext &context) | 
| void | OnZoomNormal (const CommandContext &context) | 
| void | OnZoomOut (const CommandContext &context) | 
| void | OnZoomSel (const CommandContext &context) | 
| void | OnZoomToggle (const CommandContext &context) | 
| void | OnZoomFit (const CommandContext &context) | 
| void | OnZoomFitV (const CommandContext &context) | 
| void | OnCollapseAllTracks (const CommandContext &context) | 
| void | OnExpandAllTracks (const CommandContext &context) | 
| void | OnGoSelStart (const CommandContext &context) | 
| void | OnGoSelEnd (const CommandContext &context) | 
| void | OnShowExtraMenus (const CommandContext &context) | 
| void | OnShowClipping (const CommandContext &context) | 
| void | OnShowRMS (const CommandContext &context) | 
| auto | ViewMenu () | 
| Variables | |
| AttachedItem | sAttachment1 { Indirect(ViewMenu()) } | 
| double anonymous_namespace{ViewMenus.cpp}::GetZoomOfPreset | ( | const AudacityProject & | project, | 
| int | preset | ||
| ) | 
Definition at line 55 of file ViewMenus.cpp.
References Viewport::Get(), ZoomInfo::GetDefaultZoom(), ZoomInfo::GetMaxZoom(), GetZoomOfSelection(), WaveChannelViewConstants::kMaxZoom, WaveChannelViewConstants::kZoom100ths, WaveChannelViewConstants::kZoom10ths, WaveChannelViewConstants::kZoom20ths, WaveChannelViewConstants::kZoom4To1, WaveChannelViewConstants::kZoom500ths, WaveChannelViewConstants::kZoom50ths, WaveChannelViewConstants::kZoom5ths, WaveChannelViewConstants::kZoomDefault, WaveChannelViewConstants::kZoomMilliSeconds, WaveChannelViewConstants::kZoomMinutes, WaveChannelViewConstants::kZoomSamples, WaveChannelViewConstants::kZoomSeconds, WaveChannelViewConstants::kZoomToFit, WaveChannelViewConstants::kZoomToSelection, preset, and project.
Referenced by OnZoomToggle().
| double anonymous_namespace{ViewMenus.cpp}::GetZoomOfSelection | ( | const AudacityProject & | project | ) | 
Definition at line 28 of file ViewMenus.cpp.
References ViewInfo::Get(), Viewport::Get(), and project.
Referenced by GetZoomOfPreset(), and OnZoomSel().
| void anonymous_namespace{ViewMenus.cpp}::OnCollapseAllTracks | ( | const CommandContext & | context | ) | 
Definition at line 211 of file ViewMenus.cpp.
References Viewport::CollapseAllTracks(), ProjectHistory::Get(), Viewport::Get(), ProjectHistory::ModifyState(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnExpandAllTracks | ( | const CommandContext & | context | ) | 
Definition at line 218 of file ViewMenus.cpp.
References Viewport::ExpandAllTracks(), ProjectHistory::Get(), Viewport::Get(), ProjectHistory::ModifyState(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnGoSelEnd | ( | const CommandContext & | context | ) | 
Definition at line 239 of file ViewMenus.cpp.
References ViewInfo::Get(), Viewport::Get(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnGoSelStart | ( | const CommandContext & | context | ) | 
Definition at line 225 of file ViewMenus.cpp.
References ViewInfo::Get(), Viewport::Get(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnShowClipping | ( | const CommandContext & | context | ) | 
Definition at line 265 of file ViewMenus.cpp.
References audacity::BasicSettings::Flush(), CommandManager::Get(), TrackPanel::Get(), gPrefs, CommandContext::project, project, ShowClippingPref(), and BoolSetting::Toggle().
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnShowExtraMenus | ( | const CommandContext & | context | ) | 
Definition at line 253 of file ViewMenus.cpp.
References audacity::BasicSettings::Flush(), CommandManager::Get(), gPrefs, CommandContext::project, project, audacity::BasicSettings::Read(), MenuCreator::RebuildAllMenuBars(), audacity::BasicSettings::Write(), and wxT().
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnShowRMS | ( | const CommandContext & | context | ) | 
Definition at line 277 of file ViewMenus.cpp.
References audacity::BasicSettings::Flush(), TrackPanel::Get(), gPrefs, ToolManager::ModifyAllProjectToolbarMenus(), CommandContext::project, project, ShowRMSPref(), and BoolSetting::Toggle().
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnZoomFit | ( | const CommandContext & | context | ) | 
Definition at line 196 of file ViewMenus.cpp.
References Viewport::Get(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnZoomFitV | ( | const CommandContext & | context | ) | 
Definition at line 203 of file ViewMenus.cpp.
References ProjectHistory::Get(), Viewport::Get(), ProjectHistory::ModifyState(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnZoomIn | ( | const CommandContext & | context | ) | 
Definition at line 126 of file ViewMenus.cpp.
References AudioIO::Get(), ProjectAudioIO::Get(), Viewport::Get(), TrackPanel::Get(), ProjectAudioIO::GetAudioIOToken(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnZoomNormal | ( | const CommandContext & | context | ) | 
Definition at line 147 of file ViewMenus.cpp.
References Viewport::Get(), TrackPanel::Get(), ZoomInfo::GetDefaultZoom(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnZoomOut | ( | const CommandContext & | context | ) | 
Definition at line 156 of file ViewMenus.cpp.
References Viewport::Get(), CommandContext::project, and project.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnZoomSel | ( | const CommandContext & | context | ) | 
Definition at line 163 of file ViewMenus.cpp.
References ViewInfo::Get(), Viewport::Get(), GetZoomOfSelection(), CommandContext::project, project, and ViewInfo::selectedRegion.
Referenced by ViewMenu().
| void anonymous_namespace{ViewMenus.cpp}::OnZoomToggle | ( | const CommandContext & | context | ) | 
Definition at line 172 of file ViewMenus.cpp.
References ViewInfo::Get(), Viewport::Get(), TrackPanel::Get(), GetZoomOfPreset(), CommandContext::project, project, TracksPrefs::Zoom1Choice(), and TracksPrefs::Zoom2Choice().
Referenced by ViewMenu().
| auto anonymous_namespace{ViewMenus.cpp}::ViewMenu | ( | ) | 
Definition at line 297 of file ViewMenus.cpp.
References AlwaysEnabledFlag, MenuRegistry::Options::CheckTest(), MenuRegistry::Command, MenuRegistry::Menu, OnCollapseAllTracks(), OnExpandAllTracks(), OnGoSelEnd(), OnGoSelStart(), OnShowClipping(), OnShowExtraMenus(), OnShowRMS(), OnZoomFit(), OnZoomFitV(), OnZoomIn(), OnZoomNormal(), OnZoomOut(), OnZoomSel(), OnZoomToggle(), MenuRegistry::Section, ShowClippingPref(), ShowRMSPref(), TimeSelectedFlag(), TracksExistFlag(), wxT(), XO(), XXO(), ZoomInAvailableFlag(), and ZoomOutAvailableFlag().
| AttachedItem anonymous_namespace{ViewMenus.cpp}::sAttachment1 { Indirect(ViewMenu()) } | 
Definition at line 353 of file ViewMenus.cpp.