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(
27 AudacityProject &project, Track *t,
28 bool shift, bool ctrl, bool modifyState );
29AUDACITY_DLL_API void DoSelectAll( AudacityProject &project );
30AUDACITY_DLL_API void DoSelectAllAudio( AudacityProject &project );
31AUDACITY_DLL_API void DoSelectSomething( AudacityProject &project );
32
33AUDACITY_DLL_API void ActivatePlayRegion(AudacityProject &project);
34AUDACITY_DLL_API void InactivatePlayRegion(AudacityProject &project);
35AUDACITY_DLL_API void TogglePlayRegion(AudacityProject &project);
36AUDACITY_DLL_API void ClearPlayRegion(AudacityProject &project);
37AUDACITY_DLL_API void SetPlayRegionToSelection(AudacityProject &project);
38
40
42AUDACITY_DLL_API void OnSetRegion(AudacityProject &project,
43 bool left, bool selection, const TranslatableString &dialogTitle);
44}
45
46#endif
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:225
Holds a msgid for the translation catalog; may also bind format arguments.
Namespace for functions for Select menu.
void DoListSelection(AudacityProject &project, Track *t, bool shift, bool ctrl, bool modifyState)
void DoSelectSomething(AudacityProject &project)
void SelectNone(AudacityProject &project)
bool SelectAllIfNoneAndAllowed(AudacityProject &project)
void SetPlayRegionToSelection(AudacityProject &project)
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)