Audacity 3.2.0
SelectUtilities.h
Go to the documentation of this file.
1/**********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 SelectUtilities.h
6
7 Paul Licameli split from SelectMenus.h
8
9 **********************************************************************/
10
11#ifndef __AUDACITY_SELECT_UTILITIES__
12#define __AUDACITY_SELECT_UTILITIES__
13
14class AudacityProject;
15class Track;
17
19namespace SelectUtilities {
20
21AUDACITY_DLL_API void DoSelectTimeAndTracks(
22 AudacityProject &project, bool bAllTime, bool bAllTracks);
23AUDACITY_DLL_API void SelectAllIfNone( AudacityProject &project );
24AUDACITY_DLL_API bool SelectAllIfNoneAndAllowed( AudacityProject &project );
25AUDACITY_DLL_API void SelectNone( AudacityProject &project );
26AUDACITY_DLL_API void DoListSelection(AudacityProject &project, Track &t,
27 bool shift, bool ctrl, bool modifyState);
28AUDACITY_DLL_API void DoSelectAll( AudacityProject &project );
29AUDACITY_DLL_API void DoSelectAllAudio( AudacityProject &project );
30AUDACITY_DLL_API void DoSelectSomething( AudacityProject &project );
31
32AUDACITY_DLL_API void ActivatePlayRegion(AudacityProject &project);
33AUDACITY_DLL_API void InactivatePlayRegion(AudacityProject &project);
34AUDACITY_DLL_API void TogglePlayRegion(AudacityProject &project);
35AUDACITY_DLL_API void ClearPlayRegion(AudacityProject &project);
37
39
41AUDACITY_DLL_API void OnSetRegion(AudacityProject &project,
42 bool left, bool selection, const TranslatableString &dialogTitle);
43}
44
45#endif
const auto project
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition: Project.h:90
Abstract base class for an object holding data associated with points on a time axis.
Definition: Track.h:110
Holds a msgid for the translation catalog; may also bind format arguments.
Namespace for functions for Select menu.
void DoSelectSomething(AudacityProject &project)
void SelectNone(AudacityProject &project)
bool SelectAllIfNoneAndAllowed(AudacityProject &project)
void SetPlayRegionToSelection(AudacityProject &project)
void DoListSelection(AudacityProject &project, Track &t, bool shift, bool ctrl, bool modifyState)
void DoSelectAllAudio(AudacityProject &project)
void ActivatePlayRegion(AudacityProject &project)
void DoSelectAll(AudacityProject &project)
void OnSetRegion(AudacityProject &project, bool left, bool selection, const TranslatableString &dialogTitle)
Adjust left or right of selection or play region.
void InactivatePlayRegion(AudacityProject &project)
void SelectAllIfNone(AudacityProject &project)
void ClearPlayRegion(AudacityProject &project)
void TogglePlayRegion(AudacityProject &project)
void DoSelectTimeAndTracks(AudacityProject &project, bool bAllTime, bool bAllTracks)