7#ifndef __GUI_WIDGETS_MAIN_WINDOW_H__
8#define __GUI_WIDGETS_MAIN_WINDOW_H__
14#include "gtk_wrapper.h"
15#include "libpanel_wrapper.h"
17#define MAIN_WINDOW_WIDGET_TYPE (main_window_widget_get_type ())
28typedef struct _TopBarWidget TopBarWidget;
38#define MAIN_WINDOW zrythm_app->main_window
48typedef struct _MainWindowWidget
50 AdwApplicationWindow parent_instance;
52 PanelToggleButton * start_dock_switcher;
53 AdwWindowTitle * window_title;
54 PanelToggleButton * end_dock_switcher;
58 AdwSplitButton * undo_btn;
59 AdwSplitButton * redo_btn;
61 GtkBox * header_start_box;
62 GtkBox * header_end_box;
71 AdwToastOverlay * toast_overlay;
48typedef struct _MainWindowWidget {
…};
The main window of Zrythm.
bool log_has_pending_warnings
Whether log has pending warnings (if true, the log viewer button will have an emblem until clicked).
bool setup
Whether set up already or not.
bool preferences_opened
Whether preferences window is opened.
Contains all of the info that will be serialized into a project file.