![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "common/atomic.h"#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:Go to the source code of this file.
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 |
| typedef struct _added_gui_thread_t _added_gui_thread_t |
the proxy functions
| typedef struct _cancellable_gui_thread_t _cancellable_gui_thread_t |
| typedef struct _destroyed_gui_thread_t _destroyed_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 |
| typedef struct dt_lib_backgroundjob_element_t dt_lib_backgroundjob_element_t |
|
static |
Definition at line 176 of file backgroundjobs.c.
References _instance_unref(), dt_lib_backgroundjob_element_t::destroyed, dt_free, dt_gui_add_class(), DT_GUI_BOX_SPACING, FALSE, dt_lib_backgroundjob_element_t::hbox, dt_lib_backgroundjob_element_t::label, dt_lib_backgroundjob_element_t::progressbar, TRUE, and dt_lib_backgroundjob_element_t::widget.
Referenced by _lib_backgroundjobs_added().
|
static |
Definition at line 312 of file backgroundjobs.c.
References _instance_unref(), _lib_backgroundjobs_cancel_callback_new(), dt_free, dtgtk_button_new(), dtgtk_cairo_paint_cancel(), FALSE, and IS_NULL_PTR.
Referenced by _lib_backgroundjobs_cancellable().
|
static |
Definition at line 259 of file backgroundjobs.c.
References _instance_unref(), dt_free, dt_gui_container_has_children(), FALSE, and TRUE.
Referenced by _lib_backgroundjobs_destroyed().
|
static |
Definition at line 72 of file backgroundjobs.c.
References dt_atomic_add_int(), IS_NULL_PTR, and dt_lib_backgroundjob_element_t::refcount.
Referenced by _lib_backgroundjobs_added(), _lib_backgroundjobs_cancellable(), _lib_backgroundjobs_message_updated(), and _lib_backgroundjobs_updated().
|
static |
Definition at line 79 of file backgroundjobs.c.
References dt_atomic_sub_int(), dt_free, IS_NULL_PTR, and dt_lib_backgroundjob_element_t::refcount.
Referenced by _added_gui_thread(), _cancellable_gui_thread(), _destroyed_gui_thread(), _update_gui_thread(), and _update_message_gui_thread().
|
static |
Definition at line 221 of file backgroundjobs.c.
References _added_gui_thread(), _instance_ref(), dt_atomic_set_int(), dt_free, IS_NULL_PTR, dt_lib_backgroundjob_element_t::refcount, and dt_lib_module_t::widget.
Referenced by gui_init().
Definition at line 300 of file backgroundjobs.c.
References darktable_t::control, darktable, and dt_control_progress_cancel().
Referenced by _cancellable_gui_thread().
|
static |
Definition at line 330 of file backgroundjobs.c.
References _cancellable_gui_thread(), _instance_ref(), darktable_t::control, darktable, IS_NULL_PTR, and dt_control_t::running.
Referenced by gui_init().
|
static |
Definition at line 290 of file backgroundjobs.c.
References _destroyed_gui_thread(), and IS_NULL_PTR.
Referenced by gui_init().
|
static |
Definition at line 394 of file backgroundjobs.c.
References _instance_ref(), _update_message_gui_thread(), darktable_t::control, darktable, IS_NULL_PTR, and dt_control_t::running.
|
static |
Referenced by gui_init().
|
static |
Definition at line 362 of file backgroundjobs.c.
References _instance_ref(), _update_gui_thread(), darktable_t::control, darktable, IS_NULL_PTR, dt_control_t::running, and value.
Referenced by gui_init().
|
static |
Definition at line 350 of file backgroundjobs.c.
References _instance_unref(), dt_free, FALSE, and IS_NULL_PTR.
Referenced by _lib_backgroundjobs_updated().
|
static |
Definition at line 381 of file backgroundjobs.c.
References _instance_unref(), dt_free, FALSE, and IS_NULL_PTR.
Referenced by _lib_backgroundjobs_message_updated().
| uint32_t container | ( | dt_lib_module_t * | self | ) |
Definition at line 106 of file backgroundjobs.c.
References DT_UI_CONTAINER_PANEL_LEFT_BOTTOM.
Referenced by _build_complete_ui(), _build_embedded_profile(), _build_primaries_ui(), _build_simple_ui(), _init_widgets(), _lib_plugin_header_button_press(), _remove_child(), _toggle_expanded(), _ui_init_panel_bottom(), _ui_init_panel_container_bottom(), _ui_init_panel_container_center(), _ui_init_panel_container_top(), _ui_init_panel_left(), _ui_init_panel_right(), _ui_init_panel_top(), dt_gui_container_destroy_children(), dt_gui_container_first_child(), dt_gui_container_has_children(), dt_gui_container_nth_child(), dt_gui_container_num_children(), dt_gui_container_remove_children(), dt_iop_gui_init_blending_body(), dt_ui_init_main_table(), init_tab_general(), and init_tab_presets().
| int expandable | ( | dt_lib_module_t * | self | ) |
Definition at line 116 of file backgroundjobs.c.
| void gui_cleanup | ( | dt_lib_module_t * | self | ) |
Definition at line 154 of file backgroundjobs.c.
References dt_control_t::added, dt_control_t::cancellable, darktable_t::control, darktable, dt_control_t::destroyed, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_control_t::mutex, dt_control_t::progress_system, dt_control_t::proxy, and dt_control_t::updated.
| void gui_init | ( | dt_lib_module_t * | self | ) |
Definition at line 121 of file backgroundjobs.c.
References _lib_backgroundjobs_added(), _lib_backgroundjobs_cancellable(), _lib_backgroundjobs_destroyed(), _lib_backgroundjobs_message_updated(), _lib_backgroundjobs_updated(), dt_control_t::added, dt_control_t::cancellable, darktable_t::control, darktable, dt_control_t::destroyed, dt_control_progress_cancellable(), dt_control_progress_get_gui_data(), dt_control_progress_get_message(), dt_control_progress_get_progress(), dt_control_progress_has_progress_bar(), dt_control_progress_set_gui_data(), dt_free, DT_GUI_BOX_SPACING, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_control_t::list, dt_control_t::message_updated, dt_control_t::mutex, dt_control_t::progress_system, dt_control_t::proxy, TRUE, dt_control_t::updated, and dt_lib_module_t::widget.
| const char * name | ( | struct dt_lib_module_t * | self | ) |
Definition at line 95 of file backgroundjobs.c.
| int position | ( | ) |
Definition at line 111 of file backgroundjobs.c.
Referenced by _darkroom_edge_pan_velocity(), _filmstrip_get_row_ids(), _filmstrip_is_rowid_visible(), _get_position_from_screen(), _grid_get_row_ids(), _grid_is_rowid_visible(), _list_find_by_position(), _search_entry_key_pressed(), dt_bauhaus_draw_baseline(), dtgtk_gradient_slider_multivalue_set_stop(), dtgtk_gradient_slider_set_stop(), and PermutohedralLattice< D, VD >::splat().
| const char ** views | ( | dt_lib_module_t * | self | ) |
Definition at line 100 of file backgroundjobs.c.
References v.
Referenced by _create_one_button(), dt_dev_toolbox_create(), dt_lib_init_module(), dt_lib_is_visible_in_view(), dt_lib_unload_module(), and dt_view_manager_module_toolbox_add().