gui/widgets/arranger_object.h file

Contents

ArrangerObject related functions for the GUI.

Functions

auto arranger_object_is_fade_in(ArrangerObject* self, const int x, const int y, int only_handle, int only_outer) -> int
Returns if the current position is for moving the fade in mark.
auto arranger_object_is_fade_out(ArrangerObject* self, const int x, const int y, int only_handle, int only_outer) -> int
Returns if the current position is for moving the fade out mark.
auto arranger_object_is_resize_l(ArrangerObject* self, const int x) -> int
Returns if the current position is for resizing L.
auto arranger_object_is_resize_r(ArrangerObject* self, const int x) -> int
Returns if the current position is for resizing R.
auto arranger_object_is_resize_up(ArrangerObject* self, const int x, const int y) -> int
Returns if the current position is for resizing up (eg, Velocity).
auto arranger_object_is_resize_loop(ArrangerObject* self, const int y) -> int
Returns if the current position is for resizing loop.
auto arranger_object_should_show_cut_lines(ArrangerObject* self, int alt_pressed) -> int
Returns if arranger_object widgets should show cut lines.
auto arranger_object_get_full_rect_x_for_region_child(ArrangerObject* self, ZRegion* region, GdkRectangle* full_rect) -> int
Gets the full rectangle for a linked object.
auto arranger_object_get_draw_rectangle(ArrangerObject* self, GdkRectangle* parent_rect, GdkRectangle* full_rect, GdkRectangle* draw_rect) -> int
Gets the draw rectangle based on the given full rectangle of the arranger object.
void arranger_object_draw(ArrangerObject* self, ArrangerWidget* arranger, cairo_t* cr, GdkRectangle* rect)
Draws the given object.
void arranger_object_queue_redraw(ArrangerObject* self)
Queues a redraw in the area covered by this object.