37 const int request_mask_display)
83 dt_iop_module_t *mod = (dt_iop_module_t *)(module->data);
210 queued->module =
module;
void dt_iop_gui_update_blendif(dt_iop_module_t *module)
The blending panel's GUI state and API, cut out of develop/blend.h.
typedef void((*dt_cache_allocate_t)(void *userdata, dt_cache_entry_t *entry))
void dt_dev_history_set_commit_gui_handler(dt_dev_history_commit_gui_handler_t handler)
void dt_dev_history_set_undo_restore_gui_handler(dt_dev_history_undo_restore_gui_handler_t handler)
int dt_dev_history_refresh_nodes_ext(dt_develop_t *dev, GList **iop, GList *history, GList **removed_gui_modules)
Refresh GUI module nodes to match history state.
void dt_dev_history_commit_item_now(dt_develop_t *dev, dt_iop_module_t *module, gboolean enable)
Commit one history item immediately – record undo, take history_mutex as writer, write through,...
void dt_dev_add_history_item_real(dt_develop_t *dev, dt_iop_module_t *module, gboolean enable, gboolean redraw)
Thread-safe wrapper around dt_dev_add_history_item_ext().
void dt_dev_history_drop_pending_commits(dt_develop_t *dev)
Discard every history commit still queued for dev, without running it.
static gboolean _drain_pending_commits(gpointer user_data)
void dt_dev_history_flush_pending_commits(dt_develop_t *dev)
Run every history commit still queued for dev, now.
static GQueue _pending_commits
void dt_dev_history_gui_init(void)
Install the history engine's GUI handlers. Called once from dt_init() beside the other handler instal...
static guint _pending_commit_source
static void _commit_gui(dt_develop_t *dev, dt_iop_module_t *module)
static void _queue_pending_commit(dt_develop_t *dev, dt_iop_module_t *module, const gboolean enable)
void dt_dev_history_gui_update(dt_develop_t *dev)
Apply history-loaded params to module GUIs.
static void _undo_restore_gui(dt_develop_t *dev, const int mask_edit_mode, const int request_mask_display)
The GTK half of the history engine, following the blend.c/blend_gui.c pattern.
void dt_dev_signal_modules_moved(dt_develop_t *dev)
void dt_dev_masks_list_change(dt_develop_t *dev)
int dt_dev_get_thumbnail_size(dt_develop_t *dev)
@ DT_DEV_PIXELPIPE_DISPLAY_MASK
static int dt_pthread_rwlock_unlock(dt_pthread_rwlock_t *rwlock)
static int dt_pthread_rwlock_wrlock(dt_pthread_rwlock_t *rwlock)
guint dt_gui_throttle_get_timeout_ms(void)
static gboolean enable(const dt_image_t *image)
gboolean dt_iop_is_hidden(dt_iop_module_t *module)
void dt_iop_gui_cleanup_module(dt_iop_module_t *module)
void dt_iop_gui_set_expander(dt_iop_module_t *module)
void dt_iop_gui_init(dt_iop_module_t *module)
void dt_iop_gui_update(dt_iop_module_t *module)
void dt_iop_gui_set_enable_button(dt_iop_module_t *module)
void dt_iop_request_focus(dt_iop_module_t *module)
#define IS_NULL_PTR(p)
C is way too permissive with !=, == and if(var) checks, which can mean too many things depending on w...
dt_iop_module_t *gboolean enable
struct dt_iop_module_t * gui_module
dt_pthread_rwlock_t history_mutex
struct dt_iop_module_gui_t * gui