![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "gui/splash.h"#include "common/darktable.h"#include "common/file_location.h"#include "common/l10n.h"#include "gui/gtk.h"#include <gtk/gtk.h>#include <math.h>#include <pango/pangocairo.h>#include <stdlib.h>
Include dependency graph for splash.c:Data Structures | |
| struct | dt_splash_t |
| struct | dt_splash_slide_t |
Typedefs | |
| typedef struct dt_splash_t | dt_splash_t |
| typedef struct dt_splash_slide_t | dt_splash_slide_t |
Functions | |
| static gboolean | _splash_env_is_truthy (const char *value) |
| static gboolean | _splash_is_disabled (void) |
| void | dt_gui_splash_set_transient_for (GtkWidget *parent) |
| static void | _splash_force_show (void) |
| static void | _splash_clear_slide_cache (void) |
| static void | _splash_add_css (const char *data) |
| static gchar * | _splash_build_data_path (const char *subpath) |
| static gchar * | _splash_build_author_list (guint max_names) |
| static GtkWidget * | _splash_shadow_label_new (const gchar *text, const gchar *name, const gchar *shadow_name, GtkWidget **out_main) |
| static void | _splash_shadow_label_set_text (GtkWidget *label, const gchar *text) |
| static dt_splash_slide_t * | _splash_slide_new (const gchar *path, const gchar *author) |
| static void | _splash_slide_free (gpointer data) |
| static gboolean | _splash_draw (GtkWidget *widget, cairo_t *cr, gpointer user_data) |
| static gboolean | _splash_slide_advance (gpointer user_data) |
| static void | _splash_load_authors (void) |
| static void | _splash_load_slides (void) |
| static void | _splash_update_message (const gchar *message) |
| static gchar * | _splash_capitalize_name (const char *name) |
| static gboolean | _splash_logo_set_from_path (GtkWidget *logo, const char *path, int target_size, int scale_factor) |
| static GtkWidget * | _splash_create_logo (int target_size, int scale_factor, gchar **out_path) |
| static void | _splash_update_logo_for_scale (void) |
| static void | _splash_scale_factor_changed (GObject *object, GParamSpec *pspec, gpointer user_data) |
| void | dt_gui_splash_init (void) |
| void | dt_gui_splash_update (const char *message) |
| void | dt_gui_splash_updatef (const char *format,...) |
| void | dt_gui_splash_close (void) |
Variables | |
| static dt_splash_t * | splash = NULL |
| typedef struct dt_splash_slide_t dt_splash_slide_t |
| typedef struct dt_splash_t dt_splash_t |
|
static |
References dt_splash_t::css, and splash.
Referenced by dt_gui_splash_init().
|
static |
References dt_splash_t::authors, FALSE, i, name, and splash.
Referenced by dt_gui_splash_init().
|
static |
References dt_loc_get_datadir(), and PATH_MAX.
Referenced by _splash_load_slides().
|
static |
Referenced by dt_gui_splash_init().
|
static |
References _splash_logo_set_from_path(), dt_loc_get_datadir(), dt_loc_get_sharedir(), FALSE, i, PATH_MAX, and TRUE.
Referenced by dt_gui_splash_init().
|
static |
References _splash_clear_slide_cache(), dt_splash_slide_t::author, dt_splash_t::current_slide, dt_free, error(), FALSE, height, dt_splash_slide_t::path, dt_splash_t::slide_cache_height, dt_splash_t::slide_cache_index, dt_splash_t::slide_cache_scale, dt_splash_t::slide_cache_width, dt_splash_t::slide_pixbuf, dt_splash_t::slides, splash, width, and x.
Referenced by dt_gui_splash_init().
|
static |
References FALSE, TRUE, and value.
Referenced by _splash_is_disabled().
References dt_splash_t::drawing, dt_splash_t::shown, splash, TRUE, and dt_splash_t::window.
Referenced by _splash_update_message(), and dt_gui_splash_init().
|
static |
References _splash_env_is_truthy().
Referenced by dt_gui_splash_init().
References dt_splash_t::authors, dt_free, dt_loc_get_datadir(), i, PATH_MAX, and splash.
Referenced by dt_gui_splash_init().
References _splash_build_data_path(), _splash_slide_new(), dt_free, i, name, dt_splash_t::slides, and splash.
Referenced by dt_gui_splash_init().
|
static |
References error(), FALSE, and TRUE.
Referenced by _splash_create_logo(), and _splash_update_logo_for_scale().
|
static |
References _splash_update_logo_for_scale(), and void().
Referenced by dt_gui_splash_init().
|
static |
References name.
Referenced by dt_gui_splash_init().
Referenced by _splash_update_message().
|
static |
References _splash_clear_slide_cache(), dt_splash_t::current_slide, dt_splash_t::drawing, dt_splash_t::slides, and splash.
Referenced by dt_gui_splash_init().
|
static |
References dt_splash_slide_t::author, dt_free, and dt_splash_slide_t::path.
Referenced by dt_gui_splash_init().
|
static |
References dt_splash_slide_t::author, and dt_splash_slide_t::path.
Referenced by _splash_load_slides().
References _splash_logo_set_from_path(), dt_splash_t::logo, dt_splash_t::logo_path, dt_splash_t::logo_scale_factor, splash, and dt_splash_t::window.
Referenced by _splash_scale_factor_changed(), and dt_gui_splash_init().
|
static |
References _splash_force_show(), _splash_shadow_label_set_text(), dt_splash_t::drawing, FALSE, i, dt_splash_t::label_message, and splash.
Referenced by dt_gui_splash_update(), and dt_gui_splash_updatef().
References _splash_clear_slide_cache(), dt_splash_t::authors, dt_splash_t::css, dt_free, dt_splash_t::logo_path, dt_splash_t::slide_timeout_id, dt_splash_t::slides, splash, TRUE, and dt_splash_t::window.
Referenced by dt_init().
References _splash_add_css(), _splash_build_author_list(), _splash_capitalize_name(), _splash_create_logo(), _splash_draw(), _splash_force_show(), _splash_is_disabled(), _splash_load_authors(), _splash_load_slides(), _splash_scale_factor_changed(), _splash_shadow_label_new(), _splash_slide_advance(), _splash_slide_free(), _splash_update_logo_for_scale(), dt_splash_t::authors, dt_splash_t::css, darktable_package_string, dt_splash_t::drawing, dt_free, FALSE, dt_splash_t::label_message, dt_splash_t::logo, dt_splash_t::logo_path, dt_splash_t::logo_scale_factor, PACKAGE_NAME, dt_splash_t::shown, dt_splash_t::slide_cache_index, dt_splash_t::slide_timeout_id, dt_splash_t::slides, splash, TRUE, and dt_splash_t::window.
References splash, TRUE, and dt_splash_t::window.
Referenced by _init_widgets().
| void dt_gui_splash_update | ( | const char * | message | ) |
References _splash_update_message(), and splash.
| void dt_gui_splash_updatef | ( | const char * | format, |
| ... | |||
| ) |
References _splash_update_message(), dt_free, and splash.
|
static |
Referenced by _splash_add_css(), _splash_build_author_list(), _splash_clear_slide_cache(), _splash_draw(), _splash_force_show(), _splash_load_authors(), _splash_load_slides(), _splash_slide_advance(), _splash_update_logo_for_scale(), _splash_update_message(), dt_gui_splash_close(), dt_gui_splash_init(), dt_gui_splash_set_transient_for(), dt_gui_splash_update(), and dt_gui_splash_updatef().