Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
ZrythmApp Struct Reference

The global struct. More...

#include <zrythm_app.h>

Collaboration diagram for ZrythmApp:

Data Fields

GtkApplication parent
 
GtkSettings * default_settings
 Default settings (got from gtk_settings_get_default()).
 
MainWindowWidgetmain_window
 Main window.
 
GThread * gtk_thread
 The GTK thread where the main GUI loop runs.
 
UiCachesui_caches
 
bool init_finished
 Flag to set when initialization has finished.
 
GreeterWidgetgreeter
 Greeter 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.
 
guint project_autosave_source_id
 

Detailed Description

The global struct.

Contains data that is only relevant to the GUI or command line.

Definition at line 59 of file zrythm_app.h.

Field Documentation

◆ appimage_runtime_path

char* ZrythmApp::appimage_runtime_path

AppImage runtime path, if AppImage build.

Definition at line 131 of file zrythm_app.h.

◆ argc

int ZrythmApp::argc

CLI args.

Definition at line 127 of file zrythm_app.h.

◆ argv

char** ZrythmApp::argv

Definition at line 128 of file zrythm_app.h.

◆ audio_backend

char* ZrythmApp::audio_backend

Audio backend passed with –audio-backend=, if any.

Definition at line 100 of file zrythm_app.h.

◆ buf_size

int ZrythmApp::buf_size

Buffer size passed with –buf-size=, if any.

Definition at line 107 of file zrythm_app.h.

◆ bug_report_dialog

BugReportDialogWidget* ZrythmApp::bug_report_dialog

Currently opened bug report dialog.

Definition at line 144 of file zrythm_app.h.

◆ default_settings

GtkSettings* ZrythmApp::default_settings

Default settings (got from gtk_settings_get_default()).

Definition at line 67 of file zrythm_app.h.

◆ greeter

GreeterWidget* ZrythmApp::greeter

Greeter screen.

Definition at line 87 of file zrythm_app.h.

◆ gtk_thread

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 78 of file zrythm_app.h.

◆ have_svg_loader

bool ZrythmApp::have_svg_loader

Definition at line 96 of file zrythm_app.h.

◆ init_finished

bool ZrythmApp::init_finished

Flag to set when initialization has finished.

Definition at line 84 of file zrythm_app.h.

◆ is_first_run

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 94 of file zrythm_app.h.

◆ main_window

MainWindowWidget* ZrythmApp::main_window

Main window.

Definition at line 70 of file zrythm_app.h.

◆ midi_backend

char* ZrythmApp::midi_backend

MIDI backend passed with –audio-backend=, if any.

Definition at line 104 of file zrythm_app.h.

◆ num_startup_errors

int ZrythmApp::num_startup_errors

Definition at line 118 of file zrythm_app.h.

◆ output_file

char* ZrythmApp::output_file

Output file passed with –output.

Definition at line 121 of file zrythm_app.h.

◆ parent

GtkApplication ZrythmApp::parent

Definition at line 61 of file zrythm_app.h.

◆ pretty_print

bool ZrythmApp::pretty_print

Whether to pretty-print.

Definition at line 124 of file zrythm_app.h.

◆ project_autosave_source_id

guint ZrythmApp::project_autosave_source_id

Definition at line 146 of file zrythm_app.h.

◆ project_load_message_queue

GAsyncQueue* ZrythmApp::project_load_message_queue

Queue for messages to be shown when the project loads.

Definition at line 141 of file zrythm_app.h.

◆ rt_priority_message_shown

bool ZrythmApp::rt_priority_message_shown

Flag used to only show the RT priority message once.

Definition at line 135 of file zrythm_app.h.

◆ samplerate

int ZrythmApp::samplerate

Samplerate passed with –samplerate=, if any.

Definition at line 111 of file zrythm_app.h.

◆ startup_errors

char* ZrythmApp::startup_errors[24]

Messages to show when the main window is shown.

Definition at line 117 of file zrythm_app.h.

◆ ui_caches

UiCaches* ZrythmApp::ui_caches

Definition at line 80 of file zrythm_app.h.


The documentation for this struct was generated from the following file: