Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
timeline_ruler.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2018-2019, 2024 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
9
10#ifndef __GUI_WIDGETS_TIMELINE_RULER_H__
11#define __GUI_WIDGETS_TIMELINE_RULER_H__
12
13#include "gui/backend/gtk_widgets/gtk_wrapper.h"
15
16typedef struct _RulerRangeWidget RulerRangeWidget;
17typedef struct _RulerMarkerWidget RulerMarkerWidget;
18
24
25#define MW_RULER MW_TIMELINE_PANEL->ruler
26
30void
32 RulerWidget * self,
33 gdouble start_x,
34 gdouble start_y,
35 int height);
36
40void
41timeline_ruler_on_drag_end (RulerWidget * self);
42
46void
48 RulerWidget * self,
49 gdouble offset_x,
50 gdouble offset_y);
51
55
56#endif
void timeline_ruler_on_drag_update(RulerWidget *self, gdouble offset_x, gdouble offset_y)
Called from ruler drag update.
void timeline_ruler_on_drag_begin_no_marker_hit(RulerWidget *self, gdouble start_x, gdouble start_y, int height)
Called from ruler drag begin.
void timeline_ruler_on_drag_end(RulerWidget *self)
Called from ruler drag end.
Ruler parent class.