![]() |
Audacity 3.2.0
|
Classes | |
struct | SeekInfo |
Enumerations | |
enum | CursorDirection { DIRECTION_LEFT = -1 , DIRECTION_RIGHT = +1 } |
enum | SelectionOperation { SELECTION_EXTEND , SELECTION_CONTRACT , CURSOR_MOVE } |
enum | TimeUnit { TIME_UNIT_SECONDS , TIME_UNIT_PIXELS } |
Functions | |
double | NearestZeroCrossing (AudacityProject &project, double t0) |
bool | OnlyHandleKeyUp (const CommandContext &context) |
void | SeekWhenAudioActive (double seekStep, wxLongLong &lastSelectionAdjustment) |
double | GridMove (AudacityProject &project, double t, int minPix) |
double | OffsetTime (AudacityProject &project, double t, double offset, TimeUnit timeUnit, int snapToTime) |
void | MoveWhenAudioInactive (AudacityProject &project, double seekStep, TimeUnit timeUnit) |
void | SeekWhenAudioInactive (AudacityProject &project, double seekStep, TimeUnit timeUnit, SelectionOperation operation) |
void | SeekLeftOrRight (AudacityProject &project, double direction, SelectionOperation operation, SeekInfo &info) |
void | DoCursorMove (AudacityProject &project, double seekStep, wxLongLong &lastSelectionAdjustment) |
void | DoBoundaryMove (AudacityProject &project, int step, SeekInfo &info) |
BaseItemSharedPtr | SelectMenu () |
BaseItemSharedPtr | ExtraSelectionMenu () |
BaseItemSharedPtr | CursorMenu () |
BaseItemSharedPtr | ExtraCursorMenu () |
BaseItemSharedPtr | ExtraSeekMenu () |
Variables | |
AttachedItem | sAttachment1 |
AttachedItem | sAttachment2 |
AttachedItem | sAttachment0 |
AttachedItem | sAttachment4 |
AttachedItem | sAttachment5 |
enum anonymous_namespace{SelectMenus.cpp}::CursorDirection |
Enumerator | |
---|---|
DIRECTION_LEFT | |
DIRECTION_RIGHT |
Definition at line 120 of file SelectMenus.cpp.
enum anonymous_namespace{SelectMenus.cpp}::SelectionOperation |
Enumerator | |
---|---|
SELECTION_EXTEND | |
SELECTION_CONTRACT | |
CURSOR_MOVE |
Definition at line 125 of file SelectMenus.cpp.
enum anonymous_namespace{SelectMenus.cpp}::TimeUnit |
Enumerator | |
---|---|
TIME_UNIT_SECONDS | |
TIME_UNIT_PIXELS |
Definition at line 131 of file SelectMenus.cpp.
BaseItemSharedPtr anonymous_namespace{SelectMenus.cpp}::CursorMenu | ( | ) |
Definition at line 1060 of file SelectMenus.cpp.
References AudioIONotBusyFlag(), CanStopAudioStreamFlag(), anonymous_namespace{TimerRecordDialog.cpp}::CanStopFlags, MenuTable::Command(), EditableTracksSelectedFlag(), findCommandHandler(), FN, CommandManager::Options::LongName(), MenuTable::Menu(), TimeSelectedFlag(), wxT(), XO(), and XXO().
void anonymous_namespace{SelectMenus.cpp}::DoBoundaryMove | ( | AudacityProject & | project, |
int | step, | ||
SeekInfo & | info | ||
) |
Definition at line 357 of file SelectMenus.cpp.
References PackedArray::end(), AudioIO::Get(), ProjectAudioIO::Get(), ProjectHistory::Get(), ViewInfo::Get(), TrackList::Get(), ProjectWindow::Get(), ProjectAudioIO::IsAudioActive(), min(), anonymous_namespace{SelectMenus.cpp}::SeekInfo::mLastSelectionAdjustment, and ProjectHistory::ModifyState().
Referenced by SelectActions::Handler::OnSelSetExtendLeft(), and SelectActions::Handler::OnSelSetExtendRight().
void anonymous_namespace{SelectMenus.cpp}::DoCursorMove | ( | AudacityProject & | project, |
double | seekStep, | ||
wxLongLong & | lastSelectionAdjustment | ||
) |
Definition at line 341 of file SelectMenus.cpp.
References ProjectAudioIO::Get(), ProjectHistory::Get(), ProjectHistory::ModifyState(), MoveWhenAudioInactive(), SeekWhenAudioActive(), and TIME_UNIT_SECONDS.
Referenced by SelectActions::Handler::OnCursorLongJumpLeft(), SelectActions::Handler::OnCursorLongJumpRight(), SelectActions::Handler::OnCursorShortJumpLeft(), and SelectActions::Handler::OnCursorShortJumpRight().
BaseItemSharedPtr anonymous_namespace{SelectMenus.cpp}::ExtraCursorMenu | ( | ) |
Definition at line 1107 of file SelectMenus.cpp.
References MenuTable::Command(), findCommandHandler(), FN, MenuTable::Menu(), TrackPanelHasFocus(), TracksExistFlag(), wxT(), and XXO().
BaseItemSharedPtr anonymous_namespace{SelectMenus.cpp}::ExtraSeekMenu | ( | ) |
Definition at line 1140 of file SelectMenus.cpp.
References AudioIOBusyFlag(), MenuTable::Command(), findCommandHandler(), FN, MenuTable::Menu(), wxT(), and XXO().
BaseItemSharedPtr anonymous_namespace{SelectMenus.cpp}::ExtraSelectionMenu | ( | ) |
Definition at line 1011 of file SelectMenus.cpp.
References AlwaysEnabledFlag, MenuTable::Command(), findCommandHandler(), FN, MenuTable::Menu(), TrackPanelHasFocus(), TracksExistFlag(), wxT(), and XXO().
double anonymous_namespace{SelectMenus.cpp}::GridMove | ( | AudacityProject & | project, |
double | t, | ||
int | minPix | ||
) |
Definition at line 164 of file SelectMenus.cpp.
References NumericConverter::Decrement(), format, ProjectNumericFormats::Get(), ProjectRate::Get(), ViewInfo::Get(), ProjectRate::GetRate(), NumericConverter::GetValue(), NumericConverter::Increment(), NumericConverter::SetValue(), and NumericConverter::TIME.
Referenced by OffsetTime().
void anonymous_namespace{SelectMenus.cpp}::MoveWhenAudioInactive | ( | AudacityProject & | project, |
double | seekStep, | ||
TimeUnit | timeUnit | ||
) |
Definition at line 206 of file SelectMenus.cpp.
References PackedArray::end(), ViewInfo::Get(), TrackList::Get(), AdornedRulerPanel::Get(), ProjectSettings::Get(), ProjectWindow::Get(), TrackPanel::Get(), min(), OffsetTime(), anonymous_namespace{TimeTrackVRulerControls.cpp}::ruler(), and settings().
Referenced by DoCursorMove(), and SeekWhenAudioInactive().
double anonymous_namespace{SelectMenus.cpp}::NearestZeroCrossing | ( | AudacityProject & | project, |
double | t0 | ||
) |
Definition at line 30 of file SelectMenus.cpp.
References fillTwo, ProjectRate::Get(), TrackList::Get(), ProjectRate::GetRate(), and min().
Referenced by SelectActions::Handler::OnZeroCrossing().
double anonymous_namespace{SelectMenus.cpp}::OffsetTime | ( | AudacityProject & | project, |
double | t, | ||
double | offset, | ||
TimeUnit | timeUnit, | ||
int | snapToTime | ||
) |
Definition at line 190 of file SelectMenus.cpp.
References ViewInfo::Get(), GridMove(), SNAP_OFF, and TIME_UNIT_SECONDS.
Referenced by MoveWhenAudioInactive(), and SeekWhenAudioInactive().
bool anonymous_namespace{SelectMenus.cpp}::OnlyHandleKeyUp | ( | const CommandContext & | context | ) |
Definition at line 105 of file SelectMenus.cpp.
References ProjectAudioIO::Get(), ProjectHistory::Get(), ProjectAudioIO::IsAudioActive(), ProjectHistory::ModifyState(), CommandContext::pEvt, and CommandContext::project.
Referenced by SelectActions::Handler::OnCursorLeft(), SelectActions::Handler::OnCursorRight(), SelectActions::Handler::OnSelContractLeft(), SelectActions::Handler::OnSelContractRight(), SelectActions::Handler::OnSelExtendLeft(), and SelectActions::Handler::OnSelExtendRight().
void anonymous_namespace{SelectMenus.cpp}::SeekLeftOrRight | ( | AudacityProject & | project, |
double | direction, | ||
SelectionOperation | operation, | ||
SeekInfo & | info | ||
) |
Definition at line 303 of file SelectMenus.cpp.
References CURSOR_MOVE, ProjectAudioIO::Get(), anonymous_namespace{SelectMenus.cpp}::SeekInfo::mLastSelectionAdjustment, anonymous_namespace{SelectMenus.cpp}::SeekInfo::mSeekLong, anonymous_namespace{SelectMenus.cpp}::SeekInfo::mSeekShort, SeekWhenAudioActive(), SeekWhenAudioInactive(), SELECTION_EXTEND, and TIME_UNIT_PIXELS.
Referenced by SelectActions::Handler::OnCursorLeft(), SelectActions::Handler::OnCursorRight(), SelectActions::Handler::OnSeekLeftLong(), SelectActions::Handler::OnSeekLeftShort(), SelectActions::Handler::OnSeekRightLong(), SelectActions::Handler::OnSeekRightShort(), SelectActions::Handler::OnSelContractLeft(), SelectActions::Handler::OnSelContractRight(), SelectActions::Handler::OnSelExtendLeft(), and SelectActions::Handler::OnSelExtendRight().
void anonymous_namespace{SelectMenus.cpp}::SeekWhenAudioActive | ( | double | seekStep, |
wxLongLong & | lastSelectionAdjustment | ||
) |
Definition at line 143 of file SelectMenus.cpp.
References AudioIO::Get().
Referenced by DoCursorMove(), and SeekLeftOrRight().
void anonymous_namespace{SelectMenus.cpp}::SeekWhenAudioInactive | ( | AudacityProject & | project, |
double | seekStep, | ||
TimeUnit | timeUnit, | ||
SelectionOperation | operation | ||
) |
Definition at line 257 of file SelectMenus.cpp.
References CURSOR_MOVE, PackedArray::end(), ViewInfo::Get(), TrackList::Get(), ProjectSettings::Get(), ProjectWindow::Get(), min(), MoveWhenAudioInactive(), OffsetTime(), SELECTION_CONTRACT, SELECTION_EXTEND, and settings().
Referenced by SeekLeftOrRight().
BaseItemSharedPtr anonymous_namespace{SelectMenus.cpp}::SelectMenu | ( | ) |
Definition at line 917 of file SelectMenus.cpp.
References AlwaysEnabledFlag, MenuTable::Command(), EditableTracksSelectedFlag(), findCommandHandler(), FN, IsSyncLockedFlag(), CommandManager::Options::LongName(), MenuTable::Menu(), MenuTable::Section(), TracksExistFlag(), WaveTracksExistFlag(), WaveTracksSelectedFlag(), wxT(), XO(), and XXO().
AttachedItem anonymous_namespace{SelectMenus.cpp}::sAttachment0 |
Definition at line 1102 of file SelectMenus.cpp.
AttachedItem anonymous_namespace{SelectMenus.cpp}::sAttachment1 |
Definition at line 1006 of file SelectMenus.cpp.
AttachedItem anonymous_namespace{SelectMenus.cpp}::sAttachment2 |
Definition at line 1053 of file SelectMenus.cpp.
AttachedItem anonymous_namespace{SelectMenus.cpp}::sAttachment4 |
Definition at line 1135 of file SelectMenus.cpp.
AttachedItem anonymous_namespace{SelectMenus.cpp}::sAttachment5 |
Definition at line 1163 of file SelectMenus.cpp.