10#ifndef __ACTIONS_TRACKLIST_SELECTIONS_H__
11#define __ACTIONS_TRACKLIST_SELECTIONS_H__
22#define TRACKLIST_SELECTIONS (PROJECT->tracklist_selections)
86tracklist_selections_add_track (
92tracklist_selections_add_tracks_in_range (
122tracklist_selections_contains_uninstantiated_plugin (
126tracklist_selections_contains_undeletable_track (
130tracklist_selections_contains_uncopyable_track (
181tracklist_selections_contains_enabled_track (
192tracklist_selections_contains_track_index (
197tracklist_selections_remove_track (
The backend for a timeline track.
NONNULL_ARGS(1) int undo_manager_undo(UndoManager *self
Undo last action.
void tracklist_selections_clear(TracklistSelections *self, const bool fire_events)
Clears the selections.
void tracklist_selections_select_all(TracklistSelections *ts, int visible_only)
Selects all Track's.
Track * tracklist_selections_get_lowest_track(TracklistSelections *self)
Gets lowest track in the selections.
bool tracklist_selections_contains_non_automatable_track(const TracklistSelections *self)
Returns whether the tracklist selections contains a track that cannot have automation lanes.
void tracklist_selections_select_foldable_children(TracklistSelections *self)
Make sure all children of foldable tracks in the selection are also selected.
void tracklist_selections_print(TracklistSelections *self)
For debugging.
bool tracklist_selections_contains_muted_track(TracklistSelections *self, bool muted)
Returns whether the selections contain a muted track if muted is true or an unmuted track if muted is...
bool tracklist_selections_contains_listened_track(TracklistSelections *self, bool listened)
Returns whether the selections contain a listened track if listened is true or an unlistened track if...
void tracklist_selections_select_last_visible(TracklistSelections *ts)
Selects the last visible track after clearing the selections.
void tracklist_selections_select_single(TracklistSelections *ts, Track *track, bool fire_events)
Selects a single track after clearing the selections.
void tracklist_selections_handle_click(Track *track, bool ctrl, bool shift, bool dragged)
Handle a click selection.
void tracklist_selections_mark_for_bounce(TracklistSelections *ts, bool with_parents, bool mark_master)
Marks the tracks to be bounced.
TracklistSelections * tracklist_selections_new(bool is_project)
bool tracklist_selections_contains_soloed_track(TracklistSelections *self, bool soloed)
Returns whether the selections contain a soloed track if soloed is true or an unsoloed track if soloe...
void tracklist_selections_sort(TracklistSelections *self, bool asc)
Sorts the tracks by position.
Track * tracklist_selections_get_highest_track(TracklistSelections *self)
Gets highest track in the selections.
void tracklist_selections_toggle_visibility(TracklistSelections *ts)
Toggle visibility of the selected tracks.
bool tracklist_selections_contains_track(TracklistSelections *self, Track *track)
Returns if the Track is selected or not.
TracklistSelections * tracklist_selections_clone(TracklistSelections *src, GError **error)
Clone the struct for copying, undoing, etc.
void tracklist_selections_toggle_pinned(TracklistSelections *ts)
Toggle pin/unpin of the selected tracks.
void tracklist_selections_post_deserialize(TracklistSelections *self)
To be called after receiving tracklist selections from the clipboard.
Track to be inserted into the Project's Tracklist.
Selections to be used for the tracklist's current selections, copying, undoing, etc.
bool free_tracks
Flag to free tracks even if these are the project selections (e.g.
Track * tracks[600]
Selected Tracks.
bool is_project
Whether these are the project selections.