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
 
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.
 
SplashWindowWidgetsplash
 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.
 

Detailed Description

The global struct.

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

Definition at line 65 of file zrythm_app.h.

Field Documentation

◆ appimage_runtime_path

char* ZrythmApp::appimage_runtime_path

AppImage runtime path, if AppImage build.

Definition at line 149 of file zrythm_app.h.

◆ argc

int ZrythmApp::argc

CLI args.

Definition at line 145 of file zrythm_app.h.

◆ argv

char** ZrythmApp::argv

Definition at line 146 of file zrythm_app.h.

◆ audio_backend

char* ZrythmApp::audio_backend

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

Definition at line 118 of file zrythm_app.h.

◆ buf_size

int ZrythmApp::buf_size

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

Definition at line 125 of file zrythm_app.h.

◆ bug_report_dialog

BugReportDialogWidget* ZrythmApp::bug_report_dialog

Currently opened bug report dialog.

Definition at line 162 of file zrythm_app.h.

◆ default_settings

GtkSettings* ZrythmApp::default_settings

Default settings (got from gtk_settings_get_default()).

Definition at line 73 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 84 of file zrythm_app.h.

◆ have_svg_loader

bool ZrythmApp::have_svg_loader

Definition at line 114 of file zrythm_app.h.

◆ init_finished

bool ZrythmApp::init_finished

Flag to set when initialization has finished.

Definition at line 97 of file zrythm_app.h.

◆ init_thread

GThread* ZrythmApp::init_thread

Initialization thread.

Definition at line 89 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 112 of file zrythm_app.h.

◆ main_window

MainWindowWidget* ZrythmApp::main_window

Main window.

Definition at line 76 of file zrythm_app.h.

◆ midi_backend

char* ZrythmApp::midi_backend

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

Definition at line 122 of file zrythm_app.h.

◆ num_startup_errors

int ZrythmApp::num_startup_errors

Definition at line 136 of file zrythm_app.h.

◆ output_file

char* ZrythmApp::output_file

Output file passed with –output.

Definition at line 139 of file zrythm_app.h.

◆ parent

GtkApplication ZrythmApp::parent

Definition at line 67 of file zrythm_app.h.

◆ pretty_print

bool ZrythmApp::pretty_print

Whether to pretty-print.

Definition at line 142 of file zrythm_app.h.

◆ progress_status_lock

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.

◆ project_load_message_queue

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.

◆ rt_priority_message_shown

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.

◆ samplerate

int ZrythmApp::samplerate

Samplerate passed with –samplerate=, if any.

Definition at line 129 of file zrythm_app.h.

◆ splash

SplashWindowWidget* ZrythmApp::splash

Splash screen.

Definition at line 104 of file zrythm_app.h.

◆ startup_errors

char* ZrythmApp::startup_errors[24]

Messages to show when the main window is shown.

Definition at line 135 of file zrythm_app.h.

◆ status

char ZrythmApp::status[800]

Status text to be used in the splash screen.

Definition at line 101 of file zrythm_app.h.

◆ ui_caches

UiCaches* ZrythmApp::ui_caches

Definition at line 86 of file zrythm_app.h.


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