Audacity 3.2.0
|
#include <SnapUtils.h>
Static Public Member Functions | |
static Registry::GroupItem< SnapRegistryTraits > & | Registry () |
static void | Visit (const SnapRegistryVisitor &visitor) |
static const SnapRegistryItem * | Find (const Identifier &id) |
static SnapResult | Snap (const Identifier &id, const AudacityProject &project, double time, bool nearest) |
static SnapResult | SingleStep (const Identifier &id, const AudacityProject &project, double time, bool upwards) |
Definition at line 101 of file SnapUtils.h.
|
static |
Definition at line 121 of file SnapUtils.cpp.
References Registry::detail::BaseItem::name, Registry(), and Registry::Visit().
Referenced by anonymous_namespace{SnappingToolBar.cpp}::GetSnapToLabel(), SingleStep(), and Snap().
|
static |
Definition at line 104 of file SnapUtils.cpp.
References anonymous_namespace{SnapUtils.cpp}::PathStart.
Referenced by Find(), and Visit().
|
static |
Definition at line 158 of file SnapUtils.cpp.
References Find(), and project.
Referenced by BarStepCase(), ProjectSnap::SingleStep(), and TimeStepCase().
|
static |
Definition at line 146 of file SnapUtils.cpp.
References Find(), and project.
Referenced by BeatsCase(), ProjectSnap::SnapTime(), TEST_CASE(), and TimeCase().
|
static |
Definition at line 110 of file SnapUtils.cpp.
References anonymous_namespace{SnapUtils.cpp}::PathStart, Registry(), and Registry::VisitWithFunctions().
Referenced by anonymous_namespace{SnappingToolBar.cpp}::SnapModePopup::Init(), and anonymous_namespace{SnappingToolBar.cpp}::SnapModePopup::OnPopup().