Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
quantize_box.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2019, 2021 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
11#ifndef __GUI_WIDGETS_QUANTIZE_BOX_H__
12#define __GUI_WIDGETS_QUANTIZE_BOX_H__
13
14#include <gtk/gtk.h>
15
22#define QUANTIZE_BOX_WIDGET_TYPE (quantize_box_widget_get_type ())
23G_DECLARE_FINAL_TYPE (
25 quantize_box_widget,
26 Z,
27 QUANTIZE_BOX_WIDGET,
28 GtkBox)
29
30#define MW_QUANTIZE_BOX MW_TIMELINE_TOOLBAR->quantize_box
31
32typedef struct _SnapGridWidget SnapGridWidget;
33typedef struct SnapGrid SnapGrid;
34typedef struct QuantizeOptions QuantizeOptions;
35
36typedef struct _QuantizeBoxWidget
37{
38 GtkBox parent_instance;
39 GtkButton * quick_quantize_btn;
40 GtkButton * quantize_opts_btn;
41 QuantizeOptions * q_opts;
43
47void
49
54#endif
void quantize_box_widget_setup(QuantizeBoxWidget *self, QuantizeOptions *q_opts)
Sets up the QuantizeBoxWidget.