Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
home_toolbar.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2019-2022 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __GUI_WIDGETS_HOME_TOOLBAR_H__
11#define __GUI_WIDGETS_HOME_TOOLBAR_H__
12
13#include <adwaita.h>
14#include <gtk/gtk.h>
15
16#define HOME_TOOLBAR_WIDGET_TYPE (home_toolbar_widget_get_type ())
17G_DECLARE_FINAL_TYPE (
19 home_toolbar_widget,
20 Z,
21 HOME_TOOLBAR_WIDGET,
22 GtkBox)
23
24typedef struct _ToolboxWidget ToolboxWidget;
25typedef struct _ButtonWithMenuWidget ButtonWithMenuWidget;
26
33#define MW_HOME_TOOLBAR MW_HEADER->home_toolbar
34
38typedef struct _HomeToolbarWidget
39{
40 GtkBox parent_instance;
41 AdwSplitButton * undo_btn;
42 AdwSplitButton * redo_btn;
43 GtkButton * cut;
44 GtkButton * copy;
45 GtkButton * paste;
46 GtkButton * duplicate;
47 GtkButton * delete;
48 GtkButton * nudge_left;
49 GtkButton * nudge_right;
50 GtkButton * clear_selection;
51 GtkButton * select_all;
52 GtkButton * loop_selection;
53 ToolboxWidget * toolbox;
55
56void
57home_toolbar_widget_refresh_undo_redo_buttons (HomeToolbarWidget * self);
58
59void
60home_toolbar_widget_setup (HomeToolbarWidget * self);
61
66#endif
The Home toolbar in the top.