gui/widgets/timeline_arranger.h file

Contents

Timeline arranger API.

Functions

auto timeline_arranger_widget_get_track_lane_at_y(ArrangerWidget* self, double y) -> TrackLane*
Gets hit TrackLane at y.
auto timeline_arranger_widget_get_track_at_y(ArrangerWidget* self, double y) -> Track*
Gets the Track at y.
auto timeline_arranger_widget_get_at_at_y(ArrangerWidget* self, double y) -> AutomationTrack*
Returns the hit AutomationTrack at y.
void timeline_arranger_widget_set_select_type(ArrangerWidget* self, double y)
Determines the selection time (objects/range) and sets it.
void timeline_arranger_widget_create_region(ArrangerWidget* self, const RegionType type, Track* track, TrackLane* lane, AutomationTrack* at, const Position* pos)
Create a ZRegion at the given Position in the given Track's given TrackLane.
void timeline_arranger_widget_create_chord_or_scale(ArrangerWidget* self, Track* track, double y, const Position* pos)
Wrapper for timeline_arranger_widget_create_chord() or timeline_arranger_widget_create_scale().
void timeline_arranger_widget_create_scale(ArrangerWidget* self, Track* track, const Position* pos)
Create a ScaleObject at the given Position in the given Track.
void timeline_arranger_widget_create_marker(ArrangerWidget* self, Track* track, const Position* pos)
Create a Marker at the given Position in the given Track.
auto timeline_arranger_widget_snap_regions_l(ArrangerWidget* self, Position* pos, int dry_run) -> int
Snaps both the transients (to show in the GUI) and the actual regions.
auto timeline_arranger_widget_snap_regions_r(ArrangerWidget* self, Position* pos, int dry_run) -> int
Snaps both the transients (to show in the GUI) and the actual regions.
void timeline_arranger_widget_scroll_to(ArrangerWidget* self, Position* pos)
Scroll to the given position.
auto timeline_arranger_move_regions_to_new_tracks(ArrangerWidget* self, const int vis_track_diff) -> int
Move the selected Regions to the new Track.
auto timeline_arranger_move_regions_to_new_lanes(ArrangerWidget* self, const int diff) -> int
Move the selected Regions to new Lanes.
void timeline_arranger_widget_set_cut_lines_visible(ArrangerWidget* self)
Hides the cut dashed line from hovered regions and redraws them.
void timeline_arranger_widget_remove_children(ArrangerWidget* self)
To be called when pinning/unpinning.
void timeline_arranger_widget_show_context_menu(ArrangerWidget* self, double x, double y)
Show context menu at x, y.
void timeline_arranger_widget_fade_up(ArrangerWidget* self, double offset_y, int fade_in)
Fade up/down.