file
foldable_track.hCommon logic for foldable tracks.
Contents
- Reference
Functions
- auto foldable_track_is_status(Track* self, FoldableTrackMixerStatus status) -> bool
- Used to check if soloed/muted/etc.
- auto foldable_track_is_direct_child(Track* self, Track* child) -> bool
- Returns whether
child
is a folder child ofself
. - auto foldable_track_is_child(Track* self, Track* child) -> bool
- Returns whether
child
is a folder child ofself
. - void foldable_track_add_to_size(Track* self, int delta)
- Adds to the size recursively.
Function documentation
void foldable_track_add_to_size(Track* self, int delta)
Adds to the size recursively.
This must only be called from the lowest-level foldable track.