Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
playhead_scroll_buttons.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2020-2021 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
10
11#ifndef __GUI_WIDGETS_PLAYHEAD_SCROLL_BUTTONS_H__
12#define __GUI_WIDGETS_PLAYHEAD_SCROLL_BUTTONS_H__
13
14#include "gui/backend/gtk_widgets/gtk_wrapper.h"
15
21
22#define PLAYHEAD_SCROLL_BUTTONS_WIDGET_TYPE \
23 (playhead_scroll_buttons_widget_get_type ())
24G_DECLARE_FINAL_TYPE (
25 PlayheadScrollButtonsWidget,
26 playhead_scroll_buttons_widget,
27 Z,
28 PLAYHEAD_SCROLL_BUTTONS_WIDGET,
29 GtkWidget)
30
31#define MW_PLAYHEAD_SCROLL_BUTTONS MW_HOME_TOOLBAR->snap_box
32
33typedef struct _PlayheadScrollButtonsWidget
34{
35 GtkWidget parent_instance;
36 GtkToggleButton * scroll_edges;
37 GtkToggleButton * follow;
38} PlayheadScrollButtonsWidget;
39
43
44#endif