65 Registry::GroupItem<SnapRegistryTraits>,
66 SnapRegistryGroupData,
70 using Extension::Extension;
118 Registry::GroupItem<SnapRegistryTraits>, void, const Identifier&
120 using Extension::Extension;
124 Callable::UniqueMaker<SnapFunctionSuperGroup>();
Functions and classes that generate callable objects.
constexpr auto SnapFunctionGroup
SNAPPING_API SnapMode ReadSnapMode()
std::unique_ptr< SnapRegistryItem > TimeInvariantSnapFunction(const Identifier &functionId, const TranslatableString &label, double multiplier)
constexpr auto SnapFunctionItems
SNAPPING_API StringSetting SnapToSetting
SNAPPING_API EnumSetting< SnapMode > SnapModeSetting
std::function< double(const AudacityProject &)> MultiplierFunctor
SNAPPING_API Identifier ReadSnapTo()
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Adapts EnumSettingBase to a particular enumeration type.
An explicitly nonlocalized string, not meant for the user to see.
Generates classes whose instances register items at construction.
Specialization of Setting for strings.
Holds a msgid for the translation catalog; may also bind format arguments.
PROJECT_FILE_IO_API wxString Find(const FilePath &path)
constexpr auto UniqueMaker()
Generate variadic factory functions.
Extend Base with extra fields, in a second, protected base class.
Common abstract base class for items that are not groups.
const TranslatableString label
const TranslatableString & Label() const
virtual SnapResult SingleStep(const AudacityProject &project, double time, bool upwards) const =0
const TranslatableString label
virtual SnapResult Snap(const AudacityProject &project, double time, bool nearest) const =0
Primary template for a list of arbitrary types.