Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
bounce_dialog.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
3 *
4 * SPDX-License-Identifier: LicenseRef-ZrythmLicense
5 */
6
13#ifndef __GUI_WIDGETS_BOUNCE_DIALOG_H__
14#define __GUI_WIDGETS_BOUNCE_DIALOG_H__
15
16#include "gtk_wrapper.h"
17
18#define BOUNCE_DIALOG_WIDGET_TYPE (bounce_dialog_widget_get_type ())
19G_DECLARE_FINAL_TYPE (
21 bounce_dialog_widget,
22 Z,
23 BOUNCE_DIALOG_WIDGET,
24 GtkDialog)
25
26typedef struct _BounceStepSelectorWidget BounceStepSelectorWidget;
27
38{
39 BOUNCE_DIALOG_REGIONS,
40 BOUNCE_DIALOG_TRACKS,
41};
42
46typedef struct _BounceDialogWidget
47{
48 GtkDialog parent_instance;
49 GtkButton * cancel_btn;
50 GtkButton * bounce_btn;
51 GtkCheckButton * bounce_with_parents;
52 GtkCheckButton * disable_after_bounce;
53 GtkBox * bounce_step_box;
54 BounceStepSelectorWidget * bounce_step_selector;
55 GtkSpinButton * tail_spin;
56
58
62
63 Position start_pos;
64
65 char * bounce_name;
67
72bounce_dialog_widget_new (BounceDialogWidgetType type, const char * bounce_name);
73
78#endif
BounceDialogWidget * bounce_dialog_widget_new(BounceDialogWidgetType type, const char *bounce_name)
Creates a bounce dialog.
BounceDialogWidgetType
Type of bounce.
The export dialog.
int bounce_to_file
Whether to bounce to file instead of on a new audio track (TODO, or make it a gsetting).
A Position is made up of bars.beats.sixteenths.ticks.
Definition position.h:124