![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
The blending panel's GUI state and API, cut out of develop/blend.h. More...
#include "develop/blend.h"#include "develop/masks_types.h"#include "develop/imageop.h"#include "gui/color_picker_proxy.h"#include "widgets/collapsible_section.h"#include "widgets/gradientslider.h"#include <gtk/gtk.h>Go to the source code of this file.
Data Structures | |
| struct | dt_iop_gui_blendif_colorstop_t |
| struct | dt_iop_gui_blendif_channel_t |
| struct | dt_iop_gui_blendif_filter_t |
| struct | dt_iop_gui_blend_data_t |
Typedefs | |
| typedef struct dt_iop_gui_blendif_colorstop_t | dt_iop_gui_blendif_colorstop_t |
| typedef struct dt_iop_gui_blendif_channel_t | dt_iop_gui_blendif_channel_t |
| typedef struct dt_iop_gui_blendif_filter_t | dt_iop_gui_blendif_filter_t |
| typedef struct dt_iop_gui_blend_data_t | dt_iop_gui_blend_data_t |
Functions | |
| void | dt_iop_gui_init_blendif (GtkBox *blendw, dt_iop_module_t *module, GtkWidget *header) |
| void | dt_iop_gui_init_blending (dt_iop_module_t *module) |
| void | dt_iop_gui_init_blending_body (GtkWidget *container, dt_iop_module_t *module) |
| void | dt_iop_gui_update_blending (dt_iop_module_t *module) |
| void | dt_iop_gui_update_blendif (dt_iop_module_t *module) |
| void | dt_iop_gui_cleanup_blending_body (dt_iop_module_t *module) |
| void | dt_iop_gui_cleanup_blending (dt_iop_module_t *module) |
| void | dt_iop_gui_blending_lose_focus (dt_iop_module_t *module) |
| void | dt_iop_gui_blending_reload_defaults (dt_iop_module_t *module) |
| void | dt_iop_gui_blend_masks_update (dt_iop_module_t *module) |
| gboolean | dt_iop_gui_blend_set_drawn_mask_group (dt_iop_module_t *module, int group_id) |
| gboolean | blend_color_picker_apply (dt_iop_module_t *module, GtkWidget *picker, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece) |
The blending panel's GUI state and API, cut out of develop/blend.h.
dt_iop_gui_blend_data_t (~60 widget fields) and the dt_iop_gui_*_blending() functions were the only reason blend.h fed widgets/gradientslider.h, widgets/collapsible_section.h and gui/color_picker_proxy.h to all of its consumers – most of which only wanted the persisted params vocabulary or the pixel entry points. Implementations live in develop/blend_gui.c.
Definition in file blend_gui.h.
| typedef struct dt_iop_gui_blend_data_t dt_iop_gui_blend_data_t |
blend gui data
| typedef struct dt_iop_gui_blendif_channel_t dt_iop_gui_blendif_channel_t |
| typedef struct dt_iop_gui_blendif_colorstop_t dt_iop_gui_blendif_colorstop_t |
| typedef struct dt_iop_gui_blendif_filter_t dt_iop_gui_blendif_filter_t |
| gboolean blend_color_picker_apply | ( | dt_iop_module_t * | module, |
| GtkWidget * | picker, | ||
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece ) |
Referenced by _iop_color_picker_data_ready_callback().
| void dt_iop_gui_blend_masks_update | ( | dt_iop_module_t * | module | ) |
Refresh the blend GUI's mask widgets (shape combo, edit/polarity toggles, shape buttons and the mask list) from the module's current mask group.
Declared here because this is where it lives and what it touches: dt_iop_gui_blend_data_t, which is the blend GUI's own. It spent years declared in develop/masks.h under a dt_masks_ name while its body sat in blend_gui.c – a masks symbol that the masks module did not implement and could not have, since every widget it drives is private to this one.
Definition at line 3707 of file blend_gui.c.
References _blendop_masks_refresh_lists(), dt_iop_module_t::blend_params, dt_masks_form_gui_t::creation, dt_masks_form_gui_t::creation_module, dt_masks_form_gui_t::creation_type, dt_iop_module_t::dev, DEVELOP_COMBINE_MASKS_POS, DEVELOP_MASKS_NB_SHAPES, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_clear(), dt_bauhaus_combobox_set(), dt_gui_freeze_begin, dt_gui_freeze_end, dt_iop_add_remove_mask_indicator(), DT_MASKS_EDIT_OFF, dt_masks_get_from_id(), dt_masks_get_visible_form(), DT_MASKS_GROUP, DT_MASKS_NONE, dt_masks_set_edit_mode(), FALSE, IS_NULL_PTR, dt_develop_blend_params_t::mask_combine, dt_develop_blend_params_t::mask_id, dt_iop_gui_blend_data_t::masks_combo, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_inited, dt_iop_gui_blend_data_t::masks_polarity, dt_iop_gui_blend_data_t::masks_shapes, dt_iop_gui_blend_data_t::masks_shown, dt_iop_gui_blend_data_t::masks_support, dt_iop_gui_blend_data_t::masks_type, n, dt_masks_form_t::points, TRUE, and dt_masks_form_t::type.
Referenced by _blendop_masks_apply_and_commit(), _menu_add_exist(), _menu_no_masks(), _refresh_owning_modules(), _tree_duplicate_shape(), _tree_row_assign_to_modules(), dt_iop_gui_blend_set_drawn_mask_group(), dt_iop_gui_update_blending(), dt_masks_form_delete(), dt_masks_form_exit_creation(), dt_masks_group_update_name(), dt_masks_gui_form_save_creation(), and dt_masks_iop_value_changed_callback().
| gboolean dt_iop_gui_blend_set_drawn_mask_group | ( | dt_iop_module_t * | module, |
| int | group_id ) |
Make group the module's drawn mask and switch drawn blending on.
The sequence a module needs to start using a drawn mask – point blend_params->mask_id at the group, raise DEVELOP_MASK_ENABLED | DEVELOP_MASK_SHAPE, refresh the raster-mask source table, and repaint whatever of the blend GUI exists – lived only inside this file's own widget callbacks, so anything else wanting to attach a mask had to write blend_params by hand. It is one function now, and the blend GUI's own callbacks are not its only caller.
The module's blend GUI need not have been built: a module the user has never expanded has no dt_iop_gui_blend_data_t, and this only refreshes the widgets that exist.
Nothing is committed to history – a caller attaching one group to several modules commits once, at the end.
Takes the group's id rather than the group: a caller outside develop/masks has no business reaching into a dt_masks_form_t to read one, and the id is what blend_params stores anyway.
Definition at line 1745 of file blend_gui.c.
References dt_iop_module_gui_t::blend_data, dt_iop_module_t::blend_params, dt_iop_gui_blend_data_t::blending_box, dt_iop_module_t::dev, DEVELOP_MASK_ENABLED, DEVELOP_MASK_SHAPE, dt_iop_add_remove_mask_indicator(), dt_iop_gui_blend_masks_update(), dt_iop_gui_update_blending(), dt_iop_gui_update_header(), dt_iop_module_supports_drawn_mask(), dt_iop_set_mask_mode(), dt_masks_get_from_id(), DT_MASKS_GROUP, FALSE, dt_iop_module_t::gui, IS_NULL_PTR, dt_develop_blend_params_t::mask_mode, TRUE, and dt_masks_form_t::type.
Referenced by _module_create_own_mask().
| void dt_iop_gui_blending_lose_focus | ( | dt_iop_module_t * | module | ) |
Definition at line 4772 of file blend_gui.c.
References _blendop_blendif_sync_channel_display_buttons(), _blendop_toggle_button_set_active(), dt_iop_module_gui_t::blend_data, dt_iop_module_t::dev, DT_DEV_PIXELPIPE_DISPLAY_NONE, dt_dev_pixelpipe_update_history_main, dt_gui_widgets_suppressed(), dt_iop_set_cache_bypass(), DT_MASKS_EDIT_OFF, dt_masks_set_edit_mode(), dt_masks_shape_buttons_deactivate_all(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, dt_iop_module_t::flags, dt_iop_module_t::gui, IOP_FLAGS_SUPPORTS_BLENDING, IS_NULL_PTR, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_support, dt_iop_gui_blend_data_t::save_for_leave, dt_iop_gui_blend_data_t::showmask, and dt_iop_gui_blend_data_t::timeout_handle.
Referenced by _gui_reset_callback(), and dt_iop_request_focus().
| void dt_iop_gui_blending_reload_defaults | ( | dt_iop_module_t * | module | ) |
Definition at line 4833 of file blend_gui.c.
References dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, FALSE, dt_iop_module_t::gui, IS_NULL_PTR, and dt_iop_gui_blend_data_t::output_channels_shown.
Referenced by dt_iop_load_default_params().
| void dt_iop_gui_cleanup_blending | ( | dt_iop_module_t * | module | ) |
Definition at line 4324 of file blend_gui.c.
References _blendop_masks_handler_callback(), dt_iop_module_gui_t::blend_data, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_DISCONNECT, dt_free, dt_free_align, dt_iop_gui_cleanup_blending_body(), dt_pthread_mutex_destroy(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blend_data_t::masks_combo_ids, and dt_iop_gui_blend_data_t::timeout_handle.
Referenced by _init_module_so(), and dt_iop_gui_cleanup_module().
| void dt_iop_gui_cleanup_blending_body | ( | dt_iop_module_t * | module | ) |
Definition at line 4843 of file blend_gui.c.
References dt_iop_gui_blend_data_t::all_shapes_buttons, dt_iop_gui_blend_data_t::all_shapes_col, dt_iop_gui_blend_data_t::all_shapes_delete_col, dt_iop_gui_blend_data_t::all_shapes_store, dt_iop_gui_blend_data_t::all_shapes_sw, dt_iop_module_gui_t::blend_data, dt_iop_gui_blend_data_t::blend_mode_parameter_slider, dt_iop_gui_blend_data_t::blend_modes_blend_order, dt_iop_gui_blend_data_t::blend_modes_combo, dt_iop_gui_blend_data_t::blend_modes_csp, dt_iop_gui_blend_data_t::blendif_box, dt_iop_gui_blend_data_t::blendif_content, dt_iop_gui_blend_data_t::blendif_enable, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blending_box, dt_iop_gui_blend_data_t::blending_notebook, dt_iop_gui_blend_data_t::blur_radius_slider, dt_iop_gui_blend_data_t::brightness_slider, dt_iop_gui_blend_data_t::channel_boost_factor_slider, dt_iop_gui_blend_data_t::channel_tabs, dt_iop_gui_blend_data_t::channel_tabs_csp, dt_iop_gui_blend_data_t::colorpicker, dt_iop_gui_blend_data_t::colorpicker_set_values, dt_iop_gui_blend_data_t::contours_content, dt_iop_gui_blend_data_t::contrast_slider, dt_iop_gui_blend_data_t::details_slider, DEVELOP_BLEND_CS_NONE, dt_free_align, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, dt_iop_gui_blend_data_t::feathering_radius_slider, dt_iop_gui_blend_data_t::filter, dt_iop_gui_blend_data_t::group_delete_col, dt_iop_gui_blend_data_t::group_shapes_col, dt_iop_gui_blend_data_t::group_shapes_label, dt_iop_gui_blend_data_t::group_shapes_store, dt_iop_gui_blend_data_t::group_shapes_sw, dt_iop_gui_blend_data_t::group_unlink_col, dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::lists_box, dt_iop_gui_blend_data_t::lists_stack, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blend_data_t::masks_box, dt_iop_gui_blend_data_t::masks_combine_combo, dt_iop_gui_blend_data_t::masks_combo, dt_iop_gui_blend_data_t::masks_combo_ids, dt_iop_gui_blend_data_t::masks_content, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_enable, dt_iop_gui_blend_data_t::masks_feathering_guide_combo, dt_iop_gui_blend_data_t::masks_group_treeview, dt_iop_gui_blend_data_t::masks_ic_difference, dt_iop_gui_blend_data_t::masks_ic_exclusion, dt_iop_gui_blend_data_t::masks_ic_intersection, dt_iop_gui_blend_data_t::masks_ic_inverse, dt_iop_gui_blend_data_t::masks_ic_union, dt_iop_gui_blend_data_t::masks_inited, dt_iop_gui_blend_data_t::masks_invert_combo, dt_iop_gui_blend_data_t::masks_polarity, dt_iop_gui_blend_data_t::masks_shapes, dt_iop_gui_blend_data_t::masks_treeview, dt_iop_gui_blend_data_t::opacity_slider, dt_iop_gui_blend_data_t::picker_set_values_box, dt_iop_gui_blend_data_t::picker_set_values_box_valid, dt_iop_gui_blend_data_t::picker_set_values_manual_boost_lock, dt_iop_gui_blend_data_t::raster_box, dt_iop_gui_blend_data_t::raster_combo, dt_iop_gui_blend_data_t::raster_content, dt_iop_gui_blend_data_t::raster_enable, dt_iop_gui_blend_data_t::raster_inited, dt_iop_gui_blend_data_t::raster_polarity, dt_iop_gui_blend_data_t::showmask, dt_iop_gui_blend_data_t::timeout_handle, dt_iop_gui_blend_data_t::top_enable, and dt_iop_gui_blend_data_t::wire_shape_toggle.
Referenced by _release(), and dt_iop_gui_cleanup_blending().
| void dt_iop_gui_init_blendif | ( | GtkBox * | blendw, |
| dt_iop_module_t * | module, | ||
| GtkWidget * | header ) |
gui related stuff
Definition at line 3528 of file blend_gui.c.
References _blendop_blendif_boost_factor_callback(), _blendop_blendif_channel_display_toggled(), _blendop_blendif_enter(), _blendop_blendif_invert(), _blendop_blendif_key_press(), _blendop_blendif_leave(), _blendop_blendif_log_scale_toggled(), _blendop_blendif_polarity_callback(), _blendop_blendif_reset(), _blendop_blendif_sliders_callback(), _blendop_blendif_sliders_reset_callback(), _blendop_blendif_tab_switch(), _update_gradient_slider_pickers(), dt_iop_module_gui_t::blend_data, dt_iop_gui_blend_data_t::blendif_box, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, dt_iop_gui_blendif_filter_t::box, dt_iop_gui_blend_data_t::channel_boost_factor_slider, dt_iop_gui_blendif_filter_t::channel_display, dt_iop_gui_blend_data_t::channel_tabs, dt_iop_gui_blend_data_t::channel_tabs_csp, dt_iop_gui_blend_data_t::colorpicker, dt_iop_gui_blend_data_t::colorpicker_set_values, CPF_ALTER, DEVELOP_BLEND_CS_NONE, dt_bauhaus_disable_module_list(), dt_bauhaus_get_global(), dt_bauhaus_set_use_default_callback(), dt_bauhaus_slider_new_with_range(), dt_bauhaus_slider_set_format(), dt_bauhaus_slider_set_soft_range(), dt_bauhaus_widget_set_label(), DT_COLOR_PICKER_AREA, dt_color_picker_exclude_from_gesture(), dt_color_picker_new(), DT_COLOR_PICKER_POINT_AREA, dt_free, dt_gui_add_class(), DT_GUI_BOX_SPACING, DT_GUI_MODULE, dt_history_item_get_name(), dt_iop_togglebutton_new_no_register(), dt_ui_label_new(), dtgtk_cairo_paint_colorpicker(), dtgtk_cairo_paint_eye_toggle(), dtgtk_cairo_paint_invert(), dtgtk_cairo_paint_reset(), DTGTK_GRADIENT_SLIDER_MULTIVALUE, dtgtk_gradient_slider_multivalue_new_with_name(), DTGTK_TOGGLEBUTTON, dtgtk_togglebutton_new(), dtgtk_togglebutton_set_paint(), FALSE, dt_iop_gui_blend_data_t::filter, dt_iop_module_t::gui, dt_iop_gui_blendif_filter_t::head, k, dt_iop_gui_blendif_filter_t::label, dt_iop_gui_blendif_filter_t::log_scale, dt_iop_gui_blendif_filter_t::picker_label, dt_iop_gui_blendif_filter_t::polarity, dt_iop_gui_blendif_filter_t::slider, slider_tooltip, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blending_body().
| void dt_iop_gui_init_blending | ( | dt_iop_module_t * | module | ) |
Definition at line 5178 of file blend_gui.c.
References _blendop_masks_handler_callback(), dt_iop_module_gui_t::blend_data, dt_iop_gui_blend_data_t::blend_modes_csp, dt_iop_gui_blend_data_t::blendif_support, dt_iop_gui_blend_data_t::channel_tabs_csp, dt_iop_gui_blend_data_t::csp, DEVELOP_BLEND_CS_NONE, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_CONNECT, dt_iop_colorspace_is_rgb(), dt_pthread_mutex_init(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), DT_SIGNAL_MASK_CHANGED, dt_iop_module_t::flags, dt_iop_module_t::gui, IOP_CS_LAB, IOP_FLAGS_SUPPORTS_BLENDING, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blend_data_t::masks_support, and dt_iop_gui_blend_data_t::module.
Referenced by _init_module_so(), and dt_iop_gui_set_expander().
| void dt_iop_gui_init_blending_body | ( | GtkWidget * | container, |
| dt_iop_module_t * | module ) |
Definition at line 4938 of file blend_gui.c.
References _blendif_options_callback(), _blendop_blend_mode_callback(), _blendop_blendif_details_callback(), _blendop_blendif_showmask_clicked(), _blendop_blending_notebook_switch(), _blendop_compositing_changed(), _blendop_create_enable_toggle(), _blendop_create_notebook_page(), _blendop_create_toggle_page(), _blendop_masks_combine_callback(), _blendop_masks_invert_toggled(), _blendop_toggle_button_set_active(), _blendop_update_top_enable_label(), _combobox_new_from_list(), dt_iop_module_gui_t::blend_data, BLEND_MASKMODE_CONF_KEY, dt_iop_gui_blend_data_t::blend_mode_parameter_slider, dt_iop_gui_blend_data_t::blend_modes_blend_order, dt_iop_gui_blend_data_t::blend_modes_combo, dt_develop_blend_params_t::blend_parameter, dt_iop_module_t::blend_params, dt_iop_gui_blend_data_t::blendif_content, dt_iop_gui_blend_data_t::blendif_enable, dt_iop_gui_blend_data_t::blendif_support, dt_iop_gui_blend_data_t::blending_box, dt_iop_gui_blend_data_t::blending_notebook, dt_develop_blend_params_t::blur_radius, dt_iop_gui_blend_data_t::blur_radius_slider, dt_develop_blend_params_t::brightness, dt_iop_gui_blend_data_t::brightness_slider, container(), dt_iop_gui_blend_data_t::contours_content, dt_develop_blend_params_t::contrast, dt_iop_gui_blend_data_t::contrast_slider, dt_iop_gui_blend_data_t::details_slider, DEVELOP_MASK_ENABLED, DEVELOP_MASK_PARAMETRIC, DEVELOP_MASK_RASTER, DEVELOP_MASK_SHAPE, dt_bauhaus_combobox_add_full(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, dt_bauhaus_combobox_new(), dt_bauhaus_disable_accels(), dt_bauhaus_disable_module_list(), dt_bauhaus_get_global(), dt_bauhaus_set_use_default_callback(), dt_bauhaus_slider_new_with_range(), dt_bauhaus_slider_set_format(), dt_bauhaus_slider_set_soft_range(), dt_bauhaus_widget_set_field(), dt_bauhaus_widget_set_label(), dt_conf_get_int(), dt_develop_combine_masks_names, dt_develop_feathering_guide_names, dt_get_help_url(), dt_gui_add_help_link(), DT_GUI_BOX_SPACING, dt_gui_freeze_begin, dt_gui_freeze_end, DT_GUI_MODULE, dt_gui_update_collapsible_section(), DT_INTROSPECTION_TYPE_FLOAT, dt_iop_gui_init_blendif(), dt_iop_gui_init_contours(), dt_iop_gui_init_masks(), dt_iop_gui_init_raster(), dt_iop_togglebutton_new_no_register(), dtgtk_button_new(), dtgtk_cairo_paint_presets(), dtgtk_cairo_paint_showmask(), FALSE, dt_develop_blend_params_t::feathering_guide, dt_develop_blend_params_t::feathering_radius, dt_iop_gui_blend_data_t::feathering_radius_slider, dt_iop_module_t::flags, dt_iop_module_t::gui, IOP_FLAGS_SUPPORTS_BLENDING, IS_NULL_PTR, dt_iop_gui_blend_data_t::masks_combine_combo, dt_iop_gui_blend_data_t::masks_content, dt_iop_gui_blend_data_t::masks_cs, dt_iop_gui_blend_data_t::masks_enable, dt_iop_gui_blend_data_t::masks_feathering_guide_combo, dt_iop_gui_blend_data_t::masks_inited, dt_iop_gui_blend_data_t::masks_invert_combo, dt_develop_blend_params_t::opacity, dt_iop_gui_blend_data_t::opacity_slider, dt_iop_gui_blend_data_t::raster_content, dt_iop_gui_blend_data_t::raster_enable, dt_iop_gui_blend_data_t::scroll_cs, dt_iop_gui_blend_data_t::showmask, dt_iop_gui_blend_data_t::top_enable, and TRUE.
Referenced by _gui_changed_callback().
| void dt_iop_gui_update_blendif | ( | dt_iop_module_t * | module | ) |
Definition at line 3439 of file blend_gui.c.
References _blendop_blendif_update_tab(), dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, dt_iop_gui_blendif_filter_t::box, ch, dt_iop_gui_blend_data_t::channel, dt_iop_gui_blend_data_t::channel_tabs, dt_iop_gui_blend_data_t::channel_tabs_csp, dt_iop_gui_blend_data_t::csp, dt_iop_module_t::dev, DEVELOP_BLEND_CS_LAB, DEVELOP_BLEND_CS_RGB_DISPLAY, DEVELOP_BLEND_CS_RGB_SCENE, DT_DEV_PIXELPIPE_DISPLAY_NONE, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_dev_pixelpipe_update_history_all, dt_gui_container_destroy_children(), dt_gui_freeze_begin, dt_gui_freeze_end, dt_iop_add_remove_mask_indicator(), dt_iop_color_picker_reset(), dt_iop_set_cache_bypass(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_ui_notebook_page(), FALSE, dt_iop_gui_blend_data_t::filter, IS_NULL_PTR, Lab_channels, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blend_data_t::output_channels_shown, dt_iop_module_t::request_mask_display, rgb_channels, rgbj_channels, dt_iop_gui_blend_data_t::save_for_leave, dt_iop_gui_blend_data_t::tab, dt_iop_gui_blend_data_t::timeout_handle, and TRUE.
Referenced by _blendop_blendif_reset(), _undo_restore_gui(), and dt_iop_gui_update_blending().
| void dt_iop_gui_update_blending | ( | dt_iop_module_t * | module | ) |
Definition at line 4475 of file blend_gui.c.
References _add_blendmode_combo(), _blendif_are_output_channels_used(), _blendif_blend_parameter_enabled(), _blendop_blendif_sync_channel_display_buttons(), _blendop_sync_toggle_state(), _blendop_toggle_button_set_active(), _blendop_update_top_enable_label(), dt_iop_gui_blend_data_t::altmode, dt_iop_module_t::blend_colorspace, dt_develop_blend_params_t::blend_cst, dt_iop_module_gui_t::blend_data, dt_develop_blend_params_t::blend_mode, dt_iop_gui_blend_data_t::blend_mode_parameter_slider, dt_iop_gui_blend_data_t::blend_modes_blend_order, dt_iop_gui_blend_data_t::blend_modes_combo, dt_iop_gui_blend_data_t::blend_modes_csp, dt_develop_blend_params_t::blend_parameter, dt_iop_module_t::blend_params, dt_iop_gui_blend_data_t::blendif_content, dt_iop_gui_blend_data_t::blendif_enable, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blending_box, dt_develop_blend_params_t::blur_radius, dt_iop_gui_blend_data_t::blur_radius_slider, dt_iop_gui_blendif_channel_t::boost_factor_enabled, dt_develop_blend_params_t::brightness, dt_iop_gui_blend_data_t::brightness_slider, dt_iop_gui_blend_data_t::channel, dt_iop_gui_blend_data_t::channel_boost_factor_slider, dt_iop_gui_blend_data_t::contours_content, dt_develop_blend_params_t::contrast, dt_iop_gui_blend_data_t::contrast_slider, dt_iop_gui_blend_data_t::csp, dt_develop_blend_params_t::details, dt_iop_gui_blend_data_t::details_slider, DEVELOP_BLEND_ADD, DEVELOP_BLEND_AVERAGE, DEVELOP_BLEND_BOUNDED, DEVELOP_BLEND_CHROMATICITY, DEVELOP_BLEND_COLOR, DEVELOP_BLEND_COLORADJUST, DEVELOP_BLEND_CS_LAB, DEVELOP_BLEND_CS_NONE, DEVELOP_BLEND_CS_RAW, DEVELOP_BLEND_CS_RGB_DISPLAY, DEVELOP_BLEND_CS_RGB_SCENE, DEVELOP_BLEND_DARKEN, DEVELOP_BLEND_DIFFERENCE2, DEVELOP_BLEND_DIVIDE, DEVELOP_BLEND_GEOMETRIC_MEAN, DEVELOP_BLEND_HARDLIGHT, DEVELOP_BLEND_HARMONIC_MEAN, DEVELOP_BLEND_HSV_COLOR, DEVELOP_BLEND_HSV_VALUE, DEVELOP_BLEND_HUE, DEVELOP_BLEND_LAB_A, DEVELOP_BLEND_LAB_B, DEVELOP_BLEND_LAB_COLOR, DEVELOP_BLEND_LAB_LIGHTNESS, DEVELOP_BLEND_LIGHTEN, DEVELOP_BLEND_LIGHTNESS, DEVELOP_BLEND_LINEARLIGHT, DEVELOP_BLEND_MULTIPLY, DEVELOP_BLEND_NORMAL2, DEVELOP_BLEND_OVERLAY, DEVELOP_BLEND_PINLIGHT, DEVELOP_BLEND_RGB_B, DEVELOP_BLEND_RGB_G, DEVELOP_BLEND_RGB_R, DEVELOP_BLEND_SCREEN, DEVELOP_BLEND_SOFTLIGHT, DEVELOP_BLEND_SUBTRACT, DEVELOP_BLEND_VIVIDLIGHT, DEVELOP_COMBINE_INCL, DEVELOP_COMBINE_INV, DEVELOP_MASK_ENABLED, DEVELOP_MASK_PARAMETRIC, DEVELOP_MASK_RASTER, DEVELOP_MASK_SHAPE, dt_bauhaus_combobox_clear(), dt_bauhaus_combobox_set_from_value(), dt_bauhaus_slider_set(), dt_control_log(), dt_develop_blend_default_module_blend_colorspace(), dt_gui_freeze_begin, dt_gui_freeze_end, dt_iop_add_remove_mask_indicator(), dt_iop_gui_blend_masks_update(), dt_iop_gui_update_blendif(), dt_iop_gui_update_raster(), dt_iop_set_cache_bypass(), FALSE, dt_develop_blend_params_t::feathering_guide, dt_develop_blend_params_t::feathering_radius, dt_iop_gui_blend_data_t::feathering_radius_slider, dt_iop_module_t::flags, dt_iop_module_t::gui, IOP_CS_RAW, IOP_FLAGS_SUPPORTS_BLENDING, IS_NULL_PTR, dt_develop_blend_params_t::mask_combine, dt_iop_gui_blend_data_t::masks_combine_combo, dt_iop_gui_blend_data_t::masks_content, dt_iop_gui_blend_data_t::masks_enable, dt_iop_gui_blend_data_t::masks_feathering_guide_combo, dt_iop_gui_blend_data_t::masks_inited, dt_iop_gui_blend_data_t::masks_invert_combo, dt_iop_gui_blend_data_t::masks_support, dt_iop_module_t::op, dt_develop_blend_params_t::opacity, dt_iop_gui_blend_data_t::opacity_slider, dt_iop_gui_blend_data_t::output_channels_shown, dt_iop_gui_blend_data_t::raster_content, dt_iop_gui_blend_data_t::raster_enable, dt_iop_gui_blend_data_t::raster_inited, dt_iop_gui_blend_data_t::showmask, dt_iop_gui_blend_data_t::tab, dt_iop_gui_blend_data_t::top_enable, and TRUE.
Referenced by _blendop_blendif_invert(), _blendop_masks_mode_callback(), _gui_changed_callback(), dt_iop_gui_blend_set_drawn_mask_group(), dt_iop_gui_duplicate(), and dt_iop_gui_update().