Zrythm
a highly automated and intuitive digital audio workstation
|
The Zrythm GTK application. More...
#include "zrythm-config.h"
#include <memory>
#include "utils/types.h"
#include <adwaita.h>
#include "gtk_wrapper.h"
#include <zix/sem.h>
Go to the source code of this file.
Data Structures | |
struct | ZrythmAppUiMessage |
UI message for the message queue. More... | |
struct | ZrythmApp |
The global struct. More... | |
Macros | |
#define | ZRYTHM_APP_TYPE (zrythm_app_get_type ()) |
#define | ZRYTHM_APP_IS_GTK_THREAD (zrythm_app && zrythm_app->gtk_thread == g_thread_self ()) |
Functions | |
TYPEDEF_STRUCT_UNDERSCORED (MainWindowWidget) | |
TYPEDEF_STRUCT_UNDERSCORED (BugReportDialogWidget) | |
TYPEDEF_STRUCT_UNDERSCORED (GreeterWidget) | |
TYPEDEF_STRUCT (UiCaches) | |
ZrythmAppUiMessage * | zrythm_app_ui_message_new (GtkMessageType type, const char *msg) |
void | zrythm_app_ui_message_free (ZrythmAppUiMessage *self) |
ZrythmApp * | zrythm_app_new (int argc, const char **argv) |
Creates the Zrythm GApplication. | |
void | zrythm_app_set_font_scale (ZrythmApp *self, double font_scale) |
void | zrythm_app_check_for_updates (ZrythmApp *self) |
Handles the logic for checking for updates on startup. | |
int | zrythm_app_prompt_for_project_func (ZrythmApp *self) |
Unlike the init thread, this will run in the main GTK thread. | |
ZrythmApp ** | zrythm_app_get (void) |
Returns a pointer to the global zrythm_app. | |
bool | zrythm_app_check_and_show_trial_limit_error (ZrythmApp *self) |
Shows the trial limitation error message. | |
void * | zrythm_app_init_thread (ZrythmApp *self) |
void | zrythm_exit_response_callback (AdwDialog *dialog, gpointer user_data) |
To be used to exit Zrythm using the "response" signal on a message dialog. | |
Variables | |
ZrythmApp * | zrythm_app |
Global variable, should be available to all files. | |
The Zrythm GTK application.
Definition in file zrythm_app.h.
#define ZRYTHM_APP_IS_GTK_THREAD (zrythm_app && zrythm_app->gtk_thread == g_thread_self ()) |
Definition at line 27 of file zrythm_app.h.
#define ZRYTHM_APP_TYPE (zrythm_app_get_type ()) |
Definition at line 24 of file zrythm_app.h.