Zrythm
a highly automated and intuitive digital audio workstation
|
The global struct. More...
#include <zrythm_app.h>
Data Fields | |
GtkApplication | parent |
GtkSettings * | default_settings |
Default settings (got from gtk_settings_get_default()). | |
MainWindowWidget * | main_window |
Main window. | |
GThread * | gtk_thread |
The GTK thread where the main GUI loop runs. | |
UiCaches * | ui_caches |
GThread * | init_thread |
Initialization thread. | |
ZixSem | progress_status_lock |
Semaphore for setting the progress in the splash screen from a non-gtk thread. | |
bool | init_finished |
Flag to set when initialization has finished. | |
char | status [800] |
Status text to be used in the splash screen. | |
SplashWindowWidget * | splash |
Splash screen. | |
bool | is_first_run |
True if this is the first time Zrythm is runh. | |
bool | have_svg_loader |
char * | audio_backend |
Audio backend passed with –audio-backend=, if any. | |
char * | midi_backend |
MIDI backend passed with –audio-backend=, if any. | |
int | buf_size |
Buffer size passed with –buf-size=, if any. | |
int | samplerate |
Samplerate passed with –samplerate=, if any. | |
char * | startup_errors [24] |
Messages to show when the main window is shown. | |
int | num_startup_errors |
char * | output_file |
Output file passed with –output. | |
bool | pretty_print |
Whether to pretty-print. | |
int | argc |
CLI args. | |
char ** | argv |
char * | appimage_runtime_path |
AppImage runtime path, if AppImage build. | |
bool | rt_priority_message_shown |
Flag used to only show the RT priority message once. | |
GAsyncQueue * | project_load_message_queue |
Queue for messages to be shown when the project loads. | |
BugReportDialogWidget * | bug_report_dialog |
Currently opened bug report dialog. | |
The global struct.
Contains data that is only relevant to the GUI or command line.
Definition at line 65 of file zrythm_app.h.
char* ZrythmApp::appimage_runtime_path |
AppImage runtime path, if AppImage build.
Definition at line 149 of file zrythm_app.h.
int ZrythmApp::argc |
CLI args.
Definition at line 145 of file zrythm_app.h.
char** ZrythmApp::argv |
Definition at line 146 of file zrythm_app.h.
char* ZrythmApp::audio_backend |
Audio backend passed with –audio-backend=, if any.
Definition at line 118 of file zrythm_app.h.
int ZrythmApp::buf_size |
Buffer size passed with –buf-size=, if any.
Definition at line 125 of file zrythm_app.h.
BugReportDialogWidget* ZrythmApp::bug_report_dialog |
Currently opened bug report dialog.
Definition at line 162 of file zrythm_app.h.
GtkSettings* ZrythmApp::default_settings |
Default settings (got from gtk_settings_get_default()).
Definition at line 73 of file zrythm_app.h.
GThread* ZrythmApp::gtk_thread |
The GTK thread where the main GUI loop runs.
This is stored for identification purposes in other threads.
Definition at line 84 of file zrythm_app.h.
bool ZrythmApp::have_svg_loader |
Definition at line 114 of file zrythm_app.h.
bool ZrythmApp::init_finished |
Flag to set when initialization has finished.
Definition at line 97 of file zrythm_app.h.
GThread* ZrythmApp::init_thread |
Initialization thread.
Definition at line 89 of file zrythm_app.h.
bool ZrythmApp::is_first_run |
True if this is the first time Zrythm is runh.
This remains true even after setting the corresponding GSettings value.
Definition at line 112 of file zrythm_app.h.
MainWindowWidget* ZrythmApp::main_window |
Main window.
Definition at line 76 of file zrythm_app.h.
char* ZrythmApp::midi_backend |
MIDI backend passed with –audio-backend=, if any.
Definition at line 122 of file zrythm_app.h.
int ZrythmApp::num_startup_errors |
Definition at line 136 of file zrythm_app.h.
char* ZrythmApp::output_file |
Output file passed with –output.
Definition at line 139 of file zrythm_app.h.
GtkApplication ZrythmApp::parent |
Definition at line 67 of file zrythm_app.h.
bool ZrythmApp::pretty_print |
Whether to pretty-print.
Definition at line 142 of file zrythm_app.h.
ZixSem ZrythmApp::progress_status_lock |
Semaphore for setting the progress in the splash screen from a non-gtk thread.
Definition at line 93 of file zrythm_app.h.
GAsyncQueue* ZrythmApp::project_load_message_queue |
Queue for messages to be shown when the project loads.
Definition at line 159 of file zrythm_app.h.
bool ZrythmApp::rt_priority_message_shown |
Flag used to only show the RT priority message once.
Definition at line 153 of file zrythm_app.h.
int ZrythmApp::samplerate |
Samplerate passed with –samplerate=, if any.
Definition at line 129 of file zrythm_app.h.
SplashWindowWidget* ZrythmApp::splash |
Splash screen.
Definition at line 104 of file zrythm_app.h.
char* ZrythmApp::startup_errors[24] |
Messages to show when the main window is shown.
Definition at line 135 of file zrythm_app.h.
char ZrythmApp::status[800] |
Status text to be used in the splash screen.
Definition at line 101 of file zrythm_app.h.
UiCaches* ZrythmApp::ui_caches |
Definition at line 86 of file zrythm_app.h.