Zrythm
a highly automated and intuitive digital audio workstation
|
Selections to be used for the AudioArrangerWidget's current selections, copying, undoing, etc. More...
#include <gui/backend/audio_selections.h>
Public Member Functions | |
void | audio_selections_set_has_range (AudioSelections *self, bool has_range) |
Sets whether a range selection exists and sends events to update the UI. | |
Data Fields | |
ArrangerSelections | base |
bool | has_selection |
Whether or not a selection exists. | |
Position | sel_start |
Selected range. | |
Position | sel_end |
int | pool_id |
Audio pool ID of the associated audio file, used during serialization. | |
RegionIdentifier | region_id |
Identifier of the current region. | |
Data Fields inherited from ArrangerSelections | |
ArrangerSelectionsType | type |
Type of selections. | |
int | magic |
Selections to be used for the AudioArrangerWidget's current selections, copying, undoing, etc.
Definition at line 33 of file audio_selections.h.
ArrangerSelections AudioSelections::base |
Definition at line 35 of file audio_selections.h.
bool AudioSelections::has_selection |
Whether or not a selection exists.
Definition at line 38 of file audio_selections.h.
int AudioSelections::pool_id |
Audio pool ID of the associated audio file, used during serialization.
Set to -1 if unused.
Definition at line 61 of file audio_selections.h.
RegionIdentifier AudioSelections::region_id |
Identifier of the current region.
Other types of selections don't need this since their objects refer to it.
Definition at line 69 of file audio_selections.h.
Position AudioSelections::sel_end |
Definition at line 53 of file audio_selections.h.
Position AudioSelections::sel_start |
Selected range.
The start position must always be before the end position.
Start position is included in the range, end position is excluded.
Definition at line 52 of file audio_selections.h.