Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
backgroundjobs.c File Reference
#include "common/darktable.h"
#include "common/debug.h"
#include "common/image_cache.h"
#include "control/conf.h"
#include "control/control.h"
#include "control/progress.h"
#include "develop/develop.h"
#include "dtgtk/button.h"
#include "gui/draw.h"
#include "gui/gtk.h"
#include "libs/lib.h"
#include "libs/lib_api.h"
+ Include dependency graph for backgroundjobs.c:

Data Structures

struct  dt_lib_backgroundjob_element_t
 
struct  _added_gui_thread_t
 
struct  _destroyed_gui_thread_t
 
struct  _cancellable_gui_thread_t
 
struct  _update_gui_thread_t
 
struct  _update_label_gui_thread_t
 

Typedefs

typedef struct dt_lib_backgroundjob_element_t dt_lib_backgroundjob_element_t
 
typedef struct _added_gui_thread_t _added_gui_thread_t
 
typedef struct _destroyed_gui_thread_t _destroyed_gui_thread_t
 
typedef struct _cancellable_gui_thread_t _cancellable_gui_thread_t
 
typedef struct _update_gui_thread_t _update_gui_thread_t
 
typedef struct _update_label_gui_thread_t _update_label_gui_thread_t
 

Functions

static void_lib_backgroundjobs_added (dt_lib_module_t *self, gboolean has_progress_bar, const gchar *message)
 
static void _lib_backgroundjobs_destroyed (dt_lib_module_t *self, dt_lib_backgroundjob_element_t *instance)
 
static void _lib_backgroundjobs_cancellable (dt_lib_module_t *self, dt_lib_backgroundjob_element_t *instance, dt_progress_t *progress)
 
static void _lib_backgroundjobs_updated (dt_lib_module_t *self, dt_lib_backgroundjob_element_t *instance, double value)
 
static void _lib_backgroundjobs_message_updated (dt_lib_module_t *self, dt_lib_backgroundjob_element_t *instance, const gchar *message)
 
const char * name (struct dt_lib_module_t *self)
 
const char ** views (dt_lib_module_t *self)
 
uint32_t container (dt_lib_module_t *self)
 
int position ()
 
int expandable (dt_lib_module_t *self)
 
void gui_init (dt_lib_module_t *self)
 
void gui_cleanup (dt_lib_module_t *self)
 
static gboolean _added_gui_thread (gpointer user_data)
 
static gboolean _destroyed_gui_thread (gpointer user_data)
 
static void _lib_backgroundjobs_cancel_callback_new (GtkWidget *w, gpointer user_data)
 
static gboolean _cancellable_gui_thread (gpointer user_data)
 
static gboolean _update_gui_thread (gpointer user_data)
 
static gboolean _update_message_gui_thread (gpointer user_data)
 
static void _lib_backgroundjobs_message_updated (dt_lib_module_t *self, dt_lib_backgroundjob_element_t *instance, const char *message)
 

Typedef Documentation

◆ _added_gui_thread_t

the proxy functions

◆ _cancellable_gui_thread_t

◆ _destroyed_gui_thread_t

◆ _update_gui_thread_t

◆ _update_label_gui_thread_t

◆ dt_lib_backgroundjob_element_t

Function Documentation

◆ _added_gui_thread()

static gboolean _added_gui_thread ( gpointer  user_data)
static

References FALSE, and TRUE.

Referenced by _lib_backgroundjobs_added().

◆ _cancellable_gui_thread()

static gboolean _cancellable_gui_thread ( gpointer  user_data)
static

◆ _destroyed_gui_thread()

static gboolean _destroyed_gui_thread ( gpointer  user_data)
static

◆ _lib_backgroundjobs_added()

◆ _lib_backgroundjobs_cancel_callback_new()

static void _lib_backgroundjobs_cancel_callback_new ( GtkWidget *  w,
gpointer  user_data 
)
static

◆ _lib_backgroundjobs_cancellable()

static void _lib_backgroundjobs_cancellable ( dt_lib_module_t self,
dt_lib_backgroundjob_element_t instance,
dt_progress_t progress 
)
static

◆ _lib_backgroundjobs_destroyed()

static void _lib_backgroundjobs_destroyed ( dt_lib_module_t self,
dt_lib_backgroundjob_element_t instance 
)
static

References _destroyed_gui_thread().

Referenced by gui_init().

◆ _lib_backgroundjobs_message_updated() [1/2]

static void _lib_backgroundjobs_message_updated ( dt_lib_module_t self,
dt_lib_backgroundjob_element_t instance,
const char *  message 
)
static

◆ _lib_backgroundjobs_message_updated() [2/2]

static void _lib_backgroundjobs_message_updated ( dt_lib_module_t self,
dt_lib_backgroundjob_element_t instance,
const gchar *  message 
)
static

Referenced by gui_init().

◆ _lib_backgroundjobs_updated()

static void _lib_backgroundjobs_updated ( dt_lib_module_t self,
dt_lib_backgroundjob_element_t instance,
double  value 
)
static

◆ _update_gui_thread()

static gboolean _update_gui_thread ( gpointer  user_data)
static

References FALSE.

Referenced by _lib_backgroundjobs_updated().

◆ _update_message_gui_thread()

static gboolean _update_message_gui_thread ( gpointer  user_data)
static

References FALSE.

Referenced by _lib_backgroundjobs_message_updated().

◆ container()

◆ expandable()

int expandable ( dt_lib_module_t self)

◆ gui_cleanup()

◆ gui_init()

◆ name()

const char * name ( struct dt_lib_module_t self)

◆ position()

◆ views()