Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
editor_ruler.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2019, 2024 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __GUI_WIDGETS_EDITOR_RULER_H__
11#define __GUI_WIDGETS_EDITOR_RULER_H__
12
13#include "gui/backend/gtk_widgets/gtk_wrapper.h"
15
21
22#define EDITOR_RULER MW_CLIP_EDITOR_INNER->ruler
23
27void
29 RulerWidget * self,
30 gdouble start_x,
31 gdouble start_y);
32
33void
34editor_ruler_on_drag_update (
35 RulerWidget * self,
36 gdouble offset_x,
37 gdouble offset_y);
38
39void
40editor_ruler_on_drag_end (RulerWidget * self);
41
42void
43editor_ruler_get_regions_in_range (
44 RulerWidget * self,
45 double x_start,
46 double x_end,
47 std::vector<Region *> &regions);
48
52
53#endif
void editor_ruler_on_drag_begin_no_marker_hit(RulerWidget *self, gdouble start_x, gdouble start_y)
Called from ruler drag begin.
Ruler parent class.