![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "develop/blend.h"
#include "bauhaus/bauhaus.h"
#include "common/debug.h"
#include "common/dtpthread.h"
#include "common/math.h"
#include "common/opencl.h"
#include "common/iop_profile.h"
#include "control/control.h"
#include "develop/develop.h"
#include "develop/imageop.h"
#include "develop/imageop_gui.h"
#include "develop/masks.h"
#include "develop/tiling.h"
#include "dtgtk/button.h"
#include "dtgtk/gradientslider.h"
#include "gui/gtk.h"
#include "gui/presets.h"
#include <assert.h>
#include <gmodule.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
Data Structures | |
struct | raster_combo_entry_t |
Macros | |
#define | NEUTRAL_GRAY 0.5 |
#define | COLORSTOPS(gradient) sizeof(gradient) / sizeof(dt_iop_gui_blendif_colorstop_t), gradient |
Typedefs | |
typedef struct raster_combo_entry_t | raster_combo_entry_t |
Enumerations | |
enum | _channel_indexes { CHANNEL_INDEX_L = 0 , CHANNEL_INDEX_a = 1 , CHANNEL_INDEX_b = 2 , CHANNEL_INDEX_C = 3 , CHANNEL_INDEX_h = 4 , CHANNEL_INDEX_g = 0 , CHANNEL_INDEX_R = 1 , CHANNEL_INDEX_G = 2 , CHANNEL_INDEX_B = 3 , CHANNEL_INDEX_H = 4 , CHANNEL_INDEX_S = 5 , CHANNEL_INDEX_l = 6 , CHANNEL_INDEX_Jz = 4 , CHANNEL_INDEX_Cz = 5 , CHANNEL_INDEX_hz = 6 } |
#define COLORSTOPS | ( | gradient | ) | sizeof(gradient) / sizeof(dt_iop_gui_blendif_colorstop_t), gradient |
#define NEUTRAL_GRAY 0.5 |
typedef struct raster_combo_entry_t raster_combo_entry_t |
enum _channel_indexes |
|
static |
References dt_bauhaus_combobox_add_full(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, dt_develop_blend_mode_names, FALSE, dt_iop_blend_name_value_t::name, and TRUE.
Referenced by dt_iop_gui_update_blending().
|
static |
|
static |
References DEVELOP_BLEND_ADD, DEVELOP_BLEND_CS_RGB_SCENE, DEVELOP_BLEND_DIVIDE, DEVELOP_BLEND_DIVIDE_INVERSE, DEVELOP_BLEND_MULTIPLY, DEVELOP_BLEND_REVERSE, DEVELOP_BLEND_RGB_B, DEVELOP_BLEND_RGB_G, DEVELOP_BLEND_RGB_R, DEVELOP_BLEND_SUBTRACT, DEVELOP_BLEND_SUBTRACT_INVERSE, FALSE, and TRUE.
Referenced by _blendop_blend_mode_callback(), and dt_iop_gui_update_blending().
|
static |
References _blendop_blendif_get_picker_colorspace(), dt_develop_blend_params_t::blend_cst, dt_develop_blend_params_t::blend_mode, dt_develop_blend_params_t::blend_parameter, dt_dev_history_item_t::blend_params, dt_iop_module_t::blend_params, dt_develop_blend_params_t::blendif, dt_develop_blend_params_t::blendif_boost_factors, dt_develop_blend_params_t::blendif_parameters, dt_iop_gui_blend_data_t::colorpicker, dt_iop_gui_blend_data_t::colorpicker_set_values, darktable, darktable_t::develop, DEVELOP_BLEND_CS_LAB, DEVELOP_BLEND_CS_RAW, DEVELOP_BLEND_CS_RGB_DISPLAY, DEVELOP_BLEND_CS_RGB_SCENE, dt_dev_add_history_item, dt_dev_invalidate_all, dt_dev_refresh_ui_images, dt_develop_blend_default_module_blend_colorspace(), dt_develop_blend_init_blendif_parameters(), dt_iop_color_picker_set_cst(), dt_iop_gui_update(), FALSE, dt_develop_t::history, and TRUE.
Referenced by _blendif_select_colorspace().
|
static |
References dt_iop_module_t::blend_data, dt_develop_blend_params_t::blendif, dt_iop_gui_blend_data_t::blendif_inited, dt_develop_blend_params_t::blendif_parameters, dt_iop_gui_blend_data_t::blendif_support, dt_iop_gui_blend_data_t::csp, DEVELOP_BLEND_CS_LAB, DEVELOP_BLENDIF_Lab_MASK, DEVELOP_BLENDIF_OUTPUT_MASK, DEVELOP_BLENDIF_RGB_MASK, DEVELOP_BLENDIF_SIZE, DEVELOP_COMBINE_INCL, FALSE, dt_develop_blend_params_t::mask_combine, dt_iop_gui_blend_data_t::output_channels_shown, and TRUE.
Referenced by _blendif_hide_output_channels(), _blendop_masks_combine_callback(), and _blendop_masks_invert_callback().
|
inlinestatic |
References dt_iop_gui_blend_data_t::channel_tabs_csp, DEVELOP_BLEND_CS_LAB, DEVELOP_BLEND_CS_NONE, DEVELOP_BLEND_CS_RAW, DEVELOP_BLEND_CS_RGB_DISPLAY, DEVELOP_BLEND_CS_RGB_SCENE, dt_iop_color_picker_get_active_cst(), IOP_CS_LAB, IOP_CS_NONE, and IOP_CS_RGB.
Referenced by _update_gradient_slider_pickers(), and blend_color_picker_apply().
|
static |
References CHANNEL_INDEX_a, CHANNEL_INDEX_b, CHANNEL_INDEX_B, CHANNEL_INDEX_C, CHANNEL_INDEX_Cz, CHANNEL_INDEX_g, CHANNEL_INDEX_G, CHANNEL_INDEX_h, CHANNEL_INDEX_H, CHANNEL_INDEX_hz, CHANNEL_INDEX_Jz, CHANNEL_INDEX_L, CHANNEL_INDEX_l, CHANNEL_INDEX_R, CHANNEL_INDEX_S, dt_ioppr_get_rgb_matrix_luminance(), IOP_CS_HSL, IOP_CS_JZCZHZ, IOP_CS_LAB, IOP_CS_LCH, IOP_CS_RGB, dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lutsize, dt_iop_order_iccprofile_info_t::matrix_in, and dt_iop_order_iccprofile_info_t::nonlinearlut.
Referenced by _update_gradient_slider_pickers().
|
static |
References _blendif_clean_output_channels(), dt_iop_module_t::blend_data, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, darktable, darktable_t::develop, dt_dev_add_history_item, dt_iop_gui_update(), FALSE, dt_iop_gui_blend_data_t::output_channels_shown, and TRUE.
Referenced by _blendif_options_callback().
|
static |
References _blendif_hide_output_channels(), _blendif_select_colorspace(), _blendif_show_output_channels(), dt_iop_module_t::blend_data, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, darktable, DEVELOP_BLEND_CS_LAB, DEVELOP_BLEND_CS_NONE, DEVELOP_BLEND_CS_RGB_DISPLAY, DEVELOP_BLEND_CS_RGB_SCENE, dt_develop_blend_default_module_blend_colorspace(), dt_gui_add_class(), dt_gui_menu_popup(), DTGTK_BUTTON, dtgtk_button_set_active(), FALSE, darktable_t::gui, dt_iop_gui_blend_data_t::output_channels_shown, dt_gui_gtk_t::presets_popup_menu, and TRUE.
Referenced by dt_iop_gui_init_blending().
|
inlinestatic |
Referenced by _blendif_scale_print_ab().
|
inlinestatic |
Referenced by _blendif_scale_print_default().
|
inlinestatic |
Referenced by _update_gradient_slider_pickers().
|
static |
References _get_boost_factor(), CHANNEL_INDEX_a, CHANNEL_INDEX_b, CHANNEL_INDEX_B, CHANNEL_INDEX_C, CHANNEL_INDEX_Cz, CHANNEL_INDEX_g, CHANNEL_INDEX_G, CHANNEL_INDEX_h, CHANNEL_INDEX_H, CHANNEL_INDEX_hz, CHANNEL_INDEX_Jz, CHANNEL_INDEX_L, CHANNEL_INDEX_l, CHANNEL_INDEX_R, CHANNEL_INDEX_S, dt_ioppr_get_rgb_matrix_luminance(), IOP_CS_HSL, IOP_CS_JZCZHZ, IOP_CS_LAB, IOP_CS_LCH, IOP_CS_RGB, dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lutsize, dt_iop_order_iccprofile_info_t::matrix_in, and dt_iop_order_iccprofile_info_t::nonlinearlut.
Referenced by _update_gradient_slider_pickers(), and blend_color_picker_apply().
|
static |
References _blendif_print_digits_ab().
|
static |
References _blendif_print_digits_default().
|
static |
|
static |
References _blendif_change_blend_colorspace(), and dt_iop_module_t::widget.
Referenced by _blendif_options_callback().
|
static |
|
static |
References _blendif_blend_parameter_enabled(), 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_csp, dt_develop_blend_params_t::blend_parameter, darktable, darktable_t::develop, DEVELOP_BLEND_MODE_MASK, DEVELOP_BLEND_REVERSE, dt_bauhaus_combobox_get_data(), dt_bauhaus_slider_set(), dt_dev_add_history_item, FALSE, darktable_t::gui, dt_gui_gtk_t::reset, and TRUE.
Referenced by dt_iop_gui_init_blending().
|
static |
|
static |
References _blendop_blendif_update_tab(), dt_develop_blend_params_t::blendif, dt_develop_blend_params_t::blendif_boost_factors, dt_iop_gui_blend_data_t::blendif_inited, dt_develop_blend_params_t::blendif_parameters, dt_iop_gui_blendif_channel_t::boost_factor_offset, dt_iop_gui_blend_data_t::channel, clamp_range_f(), dt_iop_gui_blend_data_t::csp, darktable, darktable_t::develop, DEVELOP_BLEND_CS_LAB, DEVELOP_BLENDIF_A_in, DEVELOP_BLENDIF_A_out, DEVELOP_BLENDIF_B_in, DEVELOP_BLENDIF_B_out, dt_bauhaus_slider_get(), dt_dev_add_history_item, factor, darktable_t::gui, dt_iop_gui_blendif_channel_t::param_channels, dt_gui_gtk_t::reset, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
References dt_iop_gui_blend_data_t::channel, dt_iop_gui_blendif_channel_t::display_channel, DT_DEV_PIXELPIPE_DISPLAY_CHANNEL, DT_DEV_PIXELPIPE_DISPLAY_NONE, DT_DEV_PIXELPIPE_DISPLAY_OUTPUT, dt_iop_refresh_center(), dt_iop_set_cache_bypass(), dt_iop_gui_blend_data_t::filter, dt_iop_module_t::request_mask_display, dt_iop_gui_blendif_filter_t::slider, and dt_iop_gui_blend_data_t::tab.
Referenced by _blendop_blendif_enter().
|
static |
References dt_iop_gui_blend_data_t::channel, dt_iop_gui_blendif_channel_t::display_channel, DT_DEV_PIXELPIPE_DISPLAY_CHANNEL, DT_DEV_PIXELPIPE_DISPLAY_NONE, DT_DEV_PIXELPIPE_DISPLAY_OUTPUT, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_iop_refresh_center(), dt_iop_set_cache_bypass(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_iop_gui_blend_data_t::filter, dt_iop_gui_blend_data_t::lock, dt_iop_module_t::request_mask_display, dt_iop_gui_blend_data_t::save_for_leave, dt_iop_gui_blendif_filter_t::slider, and dt_iop_gui_blend_data_t::tab.
Referenced by _blendop_blendif_key_press().
|
static |
References dt_iop_gui_blend_data_t::blendif_inited, darktable, dt_develop_blend_params_t::details, darktable_t::develop, dt_bauhaus_slider_get(), dt_dev_add_history_item, dt_dev_invalidate_all, dt_dev_refresh_ui_images, darktable_t::gui, dt_gui_gtk_t::reset, and TRUE.
Referenced by dt_iop_gui_init_blending().
|
static |
References _blendop_blendif_disp_alternative_worker(), and log10_scale_callback().
|
static |
References _blendop_blendif_disp_alternative_worker(), and magnifier_scale_callback().
|
static |
References _blendop_blendif_disp_alternative_worker(), and void().
Referenced by _blendop_blendif_update_tab().
|
static |
References dtgtk_gradient_slider_multivalue_set_scale_callback(), dt_iop_gui_blend_data_t::filter, dt_iop_gui_blendif_filter_t::head, and dt_iop_gui_blendif_filter_t::slider.
Referenced by _blendop_blendif_disp_alternative_log(), _blendop_blendif_disp_alternative_mag(), and _blendop_blendif_disp_alternative_reset().
|
static |
References _blendop_blendif_channel_mask_view(), darktable, DT_DEV_PIXELPIPE_DISPLAY_CHANNEL, DT_DEV_PIXELPIPE_DISPLAY_MASK, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_modifier_is(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, darktable_t::gui, dt_iop_gui_blend_data_t::lock, dt_gui_gtk_t::reset, dt_iop_gui_blend_data_t::save_for_leave, and dt_iop_gui_blend_data_t::timeout_handle.
Referenced by dt_iop_gui_init_blendif().
|
static |
References dt_iop_gui_blend_data_t::channel_tabs_csp, DEVELOP_BLEND_CS_LAB, DEVELOP_BLEND_CS_RGB_DISPLAY, DEVELOP_BLEND_CS_RGB_SCENE, IOP_CS_HSL, IOP_CS_JZCZHZ, IOP_CS_LAB, IOP_CS_LCH, IOP_CS_NONE, IOP_CS_RGB, and dt_iop_gui_blend_data_t::tab.
Referenced by _blendif_change_blend_colorspace(), _blendop_blendif_tab_switch(), and _update_gradient_slider_pickers().
|
static |
References dt_iop_gui_blend_data_t::channel_tabs_csp, darktable, darktable_t::develop, DEVELOP_BLEND_CS_LAB, DEVELOP_BLEND_CS_NONE, DEVELOP_BLEND_CS_RAW, DEVELOP_BLEND_CS_RGB_DISPLAY, DEVELOP_BLEND_CS_RGB_SCENE, DEVELOP_BLENDIF_Lab_MASK, DEVELOP_BLENDIF_RGB_MASK, dt_dev_add_history_item, dt_iop_gui_update_blending(), darktable_t::gui, dt_gui_gtk_t::reset, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
References _blendop_blendif_channel_mask_view_toggle(), dt_iop_gui_blendif_channel_t::altdisplay, dt_iop_gui_blend_data_t::altmode, dt_iop_gui_blend_data_t::channel, darktable, DT_DEV_PIXELPIPE_DISPLAY_CHANNEL, DT_DEV_PIXELPIPE_DISPLAY_MASK, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_iop_request_focus(), FALSE, dt_iop_gui_blend_data_t::filter, darktable_t::gui, dt_gui_gtk_t::reset, dt_iop_gui_blendif_filter_t::slider, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
References _blendop_blendif_leave_delayed(), darktable, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, darktable_t::gui, dt_iop_gui_blend_data_t::lock, dt_iop_module_t::request_mask_display, dt_gui_gtk_t::reset, dt_iop_gui_blend_data_t::save_for_leave, and dt_iop_gui_blend_data_t::timeout_handle.
Referenced by dt_iop_gui_init_blendif().
|
static |
References DT_DEV_PIXELPIPE_DISPLAY_NONE, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_iop_refresh_center(), dt_iop_set_cache_bypass(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, and dt_iop_module_t::request_mask_display.
Referenced by _blendop_blendif_leave().
|
static |
References dt_develop_blend_params_t::blendif, dt_iop_gui_blend_data_t::channel, darktable, darktable_t::develop, dt_control_queue_redraw_widget(), dt_dev_add_history_item, dtgtk_gradient_slider_multivalue_set_marker(), dt_iop_gui_blend_data_t::filter, GRADIENT_SLIDER_MARKER_LOWER_FILLED_BIG, GRADIENT_SLIDER_MARKER_LOWER_OPEN_BIG, GRADIENT_SLIDER_MARKER_UPPER_FILLED_BIG, GRADIENT_SLIDER_MARKER_UPPER_OPEN_BIG, darktable_t::gui, dt_iop_gui_blendif_channel_t::param_channels, dt_iop_gui_blendif_filter_t::polarity, dt_gui_gtk_t::reset, dt_iop_gui_blendif_filter_t::slider, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
References dt_iop_module_t::blend_params, dt_develop_blend_params_t::blendif_parameters, darktable, dt_iop_module_t::default_blendop_params, darktable_t::develop, DEVELOP_BLENDIF_SIZE, dt_dev_add_history_item, dt_iop_color_picker_reset(), dt_iop_gui_update_blendif(), FALSE, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
References darktable, dt_iop_module_t::dev, dt_dev_invalidate_zoom, DT_DEV_PIXELPIPE_DISPLAY_NONE, dt_dev_refresh_ui_images, dt_iop_request_focus(), dt_iop_set_cache_bypass(), dt_modifier_is(), darktable_t::gui, dt_iop_module_t::mask_indicator, dt_iop_module_t::off, dt_iop_module_t::request_mask_display, dt_gui_gtk_t::reset, and TRUE.
Referenced by dt_iop_gui_init_blending().
|
static |
de-activate processing of this channel if maximum span is selected
References _get_boost_factor(), dt_develop_blend_params_t::blendif, dt_develop_blend_params_t::blendif_parameters, dt_iop_gui_blend_data_t::channel, dt_iop_gui_blend_data_t::colorpicker, dt_iop_gui_blend_data_t::colorpicker_set_values, darktable, darktable_t::develop, dt_dev_add_history_item, dt_iop_color_picker_reset(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dtgtk_gradient_slider_multivalue_get_value(), FALSE, dt_iop_gui_blend_data_t::filter, darktable_t::gui, dt_iop_gui_blendif_filter_t::label, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blendif_channel_t::param_channels, dt_gui_gtk_t::reset, dt_iop_gui_blendif_channel_t::scale_print, dt_iop_gui_blendif_filter_t::slider, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
References _blendop_blendif_update_tab(), dt_develop_blend_params_t::blendif, dt_iop_gui_blend_data_t::channel, darktable, darktable_t::develop, DEVELOP_COMBINE_INCL, dt_dev_add_history_item, dt_iop_gui_blend_data_t::filter, darktable_t::gui, dt_develop_blend_params_t::mask_combine, dt_iop_gui_blendif_channel_t::param_channels, dt_gui_gtk_t::reset, dt_iop_gui_blendif_filter_t::slider, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
|
static |
References _blendop_blendif_get_picker_colorspace(), _blendop_blendif_update_tab(), dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::colorpicker, dt_iop_gui_blend_data_t::colorpicker_set_values, darktable, dt_dev_invalidate_all, dt_dev_refresh_ui_images, dt_iop_color_picker_reset(), dt_iop_color_picker_set_cst(), FALSE, darktable_t::gui, dt_gui_gtk_t::reset, and dt_iop_gui_blend_data_t::tab.
Referenced by dt_iop_gui_init_blendif().
|
static |
References _blendop_blendif_disp_alternative_reset(), _get_boost_factor(), _update_gradient_slider_pickers(), dt_iop_gui_blendif_channel_t::altdisplay, dt_iop_gui_blend_data_t::altmode, dt_develop_blend_params_t::blendif, dt_develop_blend_params_t::blendif_boost_factors, dt_develop_blend_params_t::blendif_parameters, dt_iop_gui_blendif_channel_t::boost_factor_enabled, dt_iop_gui_blendif_channel_t::boost_factor_offset, dt_iop_gui_blend_data_t::channel, dt_iop_gui_blend_data_t::channel_boost_factor_slider, dt_iop_gui_blendif_colorstop_t::color, dt_iop_gui_blendif_channel_t::colorstops, darktable, dt_bauhaus_slider_set(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dtgtk_gradient_slider_multivalue_clear_stops(), dtgtk_gradient_slider_multivalue_set_increment(), dtgtk_gradient_slider_multivalue_set_marker(), dtgtk_gradient_slider_multivalue_set_resetvalue(), dtgtk_gradient_slider_multivalue_set_stop(), dtgtk_gradient_slider_multivalue_set_value(), dt_iop_gui_blend_data_t::filter, GRADIENT_SLIDER_MARKER_LOWER_FILLED_BIG, GRADIENT_SLIDER_MARKER_LOWER_OPEN_BIG, GRADIENT_SLIDER_MARKER_UPPER_FILLED_BIG, GRADIENT_SLIDER_MARKER_UPPER_OPEN_BIG, darktable_t::gui, dt_iop_gui_blendif_channel_t::increment, dt_iop_gui_blendif_filter_t::label, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blendif_channel_t::numberstops, dt_iop_gui_blendif_channel_t::param_channels, dt_iop_gui_blendif_filter_t::polarity, dt_gui_gtk_t::reset, dt_iop_gui_blendif_channel_t::scale_print, dt_iop_gui_blendif_filter_t::slider, and dt_iop_gui_blendif_colorstop_t::stoppoint.
Referenced by _blendop_blendif_boost_factor_callback(), _blendop_blendif_sliders_reset_callback(), _blendop_blendif_tab_switch(), _blendop_masks_combine_callback(), blend_color_picker_apply(), and dt_iop_gui_update_blendif().
|
static |
References dt_iop_module_t::blend_data, dt_masks_form_gui_t::creation, dt_masks_form_gui_t::creation_module, darktable, darktable_t::develop, DEVELOP_MASKS_NB_SHAPES, dt_control_queue_redraw_center(), dt_iop_color_picker_reset(), dt_iop_request_focus(), dt_masks_change_form_gui(), dt_masks_create(), DT_MASKS_EDIT_FULL, FALSE, dt_develop_t::form_gui, darktable_t::gui, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_shapes, dt_iop_gui_blend_data_t::masks_shown, dt_iop_gui_blend_data_t::masks_type, dt_gui_gtk_t::reset, and TRUE.
Referenced by dt_iop_gui_init_masks().
|
static |
References _blendif_clean_output_channels(), _blendop_blendif_update_tab(), dt_develop_blend_params_t::blendif, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, dt_iop_gui_blend_data_t::csp, darktable, darktable_t::develop, DEVELOP_BLEND_CS_LAB, DEVELOP_BLENDIF_Lab_MASK, DEVELOP_BLENDIF_RGB_MASK, DEVELOP_COMBINE_INCL, DEVELOP_COMBINE_INV, dt_bauhaus_combobox_get_data(), dt_dev_add_history_item, dt_develop_blend_params_t::mask_combine, dt_iop_gui_blend_data_t::masks_combine_combo, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blending().
|
static |
|
static |
References dt_iop_gui_blend_data_t::blendif_box, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::bottom_box, dt_iop_gui_blend_data_t::brightness_slider, dt_iop_gui_blend_data_t::contrast_slider, darktable, dt_iop_gui_blend_data_t::details_slider, darktable_t::develop, DEVELOP_COMBINE_INCL, DEVELOP_COMBINE_INV, DEVELOP_MASK_CONDITIONAL, DEVELOP_MASK_ENABLED, DEVELOP_MASK_MASK, DEVELOP_MASK_RASTER, DEVELOP_MASKS_NB_SHAPES, dt_bauhaus_combobox_set_from_value(), dt_dev_add_history_item, DT_DEV_PIXELPIPE_DISPLAY_NONE, dt_iop_color_picker_reset(), dt_iop_set_mask_mode(), DT_MASKS_EDIT_OFF, dt_masks_set_edit_mode(), FALSE, dt_iop_gui_blend_data_t::feathering_radius_slider, IOP_CS_RAW, dt_iop_gui_blend_data_t::masks_box, dt_iop_gui_blend_data_t::masks_combine_combo, dt_iop_gui_blend_data_t::masks_edit, 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_shapes, dt_iop_gui_blend_data_t::masks_support, dt_iop_gui_blend_data_t::raster_box, dt_iop_gui_blend_data_t::raster_inited, dt_iop_gui_blend_data_t::showmask, dt_iop_gui_blend_data_t::top_box, and TRUE.
Referenced by _blendop_masks_mode_changed().
|
static |
|
static |
|
static |
References dt_iop_module_t::blend_data, dt_iop_module_t::blend_params, darktable_t::control, darktable, darktable_t::develop, DEVELOP_MASKS_NB_SHAPES, dt_control_hinter_message(), dt_iop_color_picker_reset(), dt_iop_request_focus(), DT_MASKS_EDIT_FULL, DT_MASKS_EDIT_OFF, DT_MASKS_EDIT_RESTRICTED, dt_masks_get_from_id(), DT_MASKS_GROUP, dt_masks_set_edit_mode(), dt_modifier_is(), FALSE, darktable_t::gui, dt_develop_blend_params_t::mask_id, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_shapes, dt_iop_gui_blend_data_t::masks_shown, dt_masks_form_t::points, dt_gui_gtk_t::reset, TRUE, and dt_masks_form_t::type.
Referenced by dt_iop_gui_init_masks().
|
static |
References darktable_t::bauhaus, darktable, dt_bauhaus_combobox_add_full(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, dt_bauhaus_combobox_new(), dt_bauhaus_disable_accels(), dt_bauhaus_set_use_default_callback(), dt_bauhaus_widget_set_field(), dt_bauhaus_widget_set_label(), DT_GUI_MODULE, DT_INTROSPECTION_TYPE_ENUM, dt_iop_blend_name_value_t::name, tooltip, TRUE, and dt_iop_blend_name_value_t::value.
Referenced by dt_iop_gui_init_blending().
|
inlinestatic |
|
static |
References DEVELOP_MASK_CONDITIONAL, DEVELOP_MASK_DISABLED, DEVELOP_MASK_ENABLED, DEVELOP_MASK_MASK, and DEVELOP_MASK_RASTER.
Referenced by _blendop_masks_mode_changed().
|
static |
References DEVELOP_MASK_CONDITIONAL, DEVELOP_MASK_DISABLED, DEVELOP_MASK_MASK, and DEVELOP_MASK_RASTER.
Referenced by dt_iop_gui_update_blending().
References darktable, darktable_t::develop, dt_bauhaus_combobox_add_full(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, dt_bauhaus_combobox_clear(), dt_bauhaus_combobox_set(), dt_iop_request_focus(), raster_combo_entry_t::id, dt_iop_module_t::id, dt_develop_t::iop, key, dt_iop_module_t::masks, dt_iop_module_t::raster_mask, dt_iop_module_t::sink, dt_iop_module_t::source, and TRUE.
Referenced by dt_iop_gui_init_raster(), and dt_iop_gui_update_raster().
|
static |
|
static |
References dt_iop_module_t::blend_params, dt_iop_module_t::dev, dt_bauhaus_combobox_get_data(), dt_dev_add_history_item, raster_combo_entry_t::id, dt_iop_module_t::id, dt_iop_module_t::raster_mask, dt_develop_blend_params_t::raster_mask_source, dt_iop_module_t::sink, dt_iop_module_t::source, TRUE, and dt_iop_module_t::users.
Referenced by dt_iop_gui_init_raster().
|
static |
References _blendif_colorpicker_cst(), _blendif_cook(), _blendif_print_digits_picker(), _blendif_scale(), _blendop_blendif_get_picker_colorspace(), 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, darktable, dt_iop_module_t::dev, DEVELOP_BLEND_CS_RGB_SCENE, dt_iop_color_picker_set_cst(), dt_ioppr_get_iop_work_profile_info(), dt_ioppr_get_pipe_current_profile_info(), dtgtk_gradient_slider_multivalue_set_picker(), dtgtk_gradient_slider_multivalue_set_picker_meanminmax(), dt_iop_gui_blend_data_t::filter, darktable_t::gui, dt_develop_t::iop, dt_iop_gui_blendif_filter_t::picker_label, dt_develop_t::pipe, dt_gui_gtk_t::reset, dt_iop_gui_blendif_filter_t::slider, and dt_iop_gui_blend_data_t::tab.
Referenced by _blendop_blendif_update_tab(), blend_color_picker_apply(), and dt_iop_gui_init_blendif().
gboolean blend_color_picker_apply | ( | dt_iop_module_t * | module, |
GtkWidget * | picker, | ||
dt_dev_pixelpipe_iop_t * | piece | ||
) |
References _blendif_colorpicker_cst(), _blendif_scale(), _blendop_blendif_update_tab(), _get_boost_factor(), _update_gradient_slider_pickers(), dt_develop_blend_params_t::blendif, dt_develop_blend_params_t::blendif_parameters, dt_iop_gui_blend_data_t::channel, CHANNEL_INDEX_h, CHANNEL_INDEX_H, CHANNEL_INDEX_hz, 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, darktable, dt_iop_module_t::dev, darktable_t::develop, DEVELOP_BLEND_CS_RGB_SCENE, DEVELOP_COMBINE_INV, DT_ALIGNED_PIXEL, dt_dev_add_history_item, dt_ioppr_get_iop_work_profile_info(), dt_ioppr_get_pipe_current_profile_info(), dt_key_modifier_state(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dtgtk_gradient_slider_multivalue_get_value(), dtgtk_gradient_slider_multivalue_set_value(), FALSE, dt_iop_gui_blend_data_t::filter, darktable_t::gui, dt_develop_t::iop, IOP_CS_HSL, IOP_CS_JZCZHZ, IOP_CS_LCH, dt_iop_gui_blendif_filter_t::label, dt_iop_gui_blend_data_t::lock, dt_develop_blend_params_t::mask_combine, dt_iop_gui_blend_data_t::output_channels_shown, dt_iop_gui_blendif_channel_t::param_channels, dt_dev_pixelpipe_iop_t::pipe, dt_gui_gtk_t::reset, dt_iop_gui_blendif_channel_t::scale_print, dt_iop_gui_blendif_filter_t::slider, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by _iop_color_picker_pickerdata_ready_callback().
void dt_iop_gui_blending_lose_focus | ( | dt_iop_module_t * | module | ) |
References dt_iop_module_t::blend_data, darktable, DEVELOP_MASKS_NB_SHAPES, DT_DEV_PIXELPIPE_DISPLAY_NONE, dt_iop_refresh_center(), dt_iop_set_cache_bypass(), DT_MASKS_EDIT_OFF, dt_masks_set_edit_mode(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, darktable_t::gui, IOP_FLAGS_SUPPORTS_BLENDING, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_shapes, dt_iop_gui_blend_data_t::masks_support, dt_gui_gtk_t::reset, dt_iop_gui_blend_data_t::save_for_leave, dt_iop_gui_blend_data_t::showmask, dt_iop_gui_blend_data_t::suppress, and dt_iop_gui_blend_data_t::timeout_handle.
Referenced by dt_iop_request_focus().
void dt_iop_gui_blending_reload_defaults | ( | dt_iop_module_t * | module | ) |
void dt_iop_gui_cleanup_blending | ( | dt_iop_module_t * | module | ) |
void dt_iop_gui_init_blendif | ( | GtkBox * | blendw, |
dt_iop_module_t * | module | ||
) |
gui related stuff
References _blendop_blendif_boost_factor_callback(), _blendop_blendif_enter(), _blendop_blendif_invert(), _blendop_blendif_key_press(), _blendop_blendif_leave(), _blendop_blendif_polarity_callback(), _blendop_blendif_reset(), _blendop_blendif_sliders_callback(), _blendop_blendif_sliders_reset_callback(), _blendop_blendif_tab_switch(), _update_gradient_slider_pickers(), darktable_t::bauhaus, dt_iop_module_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_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, darktable, DEVELOP_BLEND_CS_NONE, 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_SPACE, dt_bauhaus_widget_set_label(), DT_COLOR_PICKER_AREA, dt_color_picker_new(), DT_COLOR_PICKER_POINT_AREA, dt_get_help_url(), dt_gui_add_class(), dt_gui_add_help_link(), DT_GUI_MODULE, dt_iop_togglebutton_new(), DT_PIXEL_APPLY_DPI, dt_ui_label_new(), dtgtk_cairo_paint_colorpicker_set_values(), dtgtk_cairo_paint_invert(), dtgtk_cairo_paint_plusminus(), 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_gui_blendif_filter_t::head, dt_iop_gui_blendif_filter_t::label, 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().
void dt_iop_gui_init_blending | ( | GtkWidget * | iopw, |
dt_iop_module_t * | module | ||
) |
References _blendif_options_callback(), _blendop_blend_mode_callback(), _blendop_blend_order_clicked(), _blendop_blendif_details_callback(), _blendop_blendif_showmask_clicked(), _blendop_blendif_suppress_toggled(), _blendop_masks_combine_callback(), _blendop_masks_invert_callback(), _blendop_masks_mode_changed(), _combobox_new_from_list(), darktable_t::bauhaus, dt_iop_module_t::blend_data, dt_iop_gui_blend_data_t::blend_inited, 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_box, dt_iop_gui_blend_data_t::blendif_support, dt_develop_blend_params_t::blur_radius, dt_iop_gui_blend_data_t::blur_radius_slider, dt_iop_gui_blend_data_t::bottom_box, dt_develop_blend_params_t::brightness, dt_iop_gui_blend_data_t::brightness_slider, dt_iop_gui_blend_data_t::channel_tabs_csp, dt_develop_blend_params_t::contrast, dt_iop_gui_blend_data_t::contrast_slider, dt_iop_gui_blend_data_t::csp, darktable, dt_iop_gui_blend_data_t::details_slider, DEVELOP_BLEND_CS_NONE, dt_bauhaus_combobox_new(), dt_bauhaus_disable_accels(), 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_develop_combine_masks_names, dt_develop_feathering_guide_names, dt_develop_invert_mask_names, dt_develop_mask_mode_names, dt_get_help_url(), dt_gui_add_class(), dt_gui_add_help_link(), DT_GUI_MODULE, DT_INTROSPECTION_TYPE_FLOAT, dt_iop_gui_init_blendif(), dt_iop_gui_init_masks(), dt_iop_gui_init_raster(), dt_iop_togglebutton_new(), dt_pthread_mutex_init(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dt_ui_label_new(), dtgtk_button_new(), dtgtk_cairo_paint_eye_toggle(), dtgtk_cairo_paint_invert(), 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, darktable_t::gui, IOP_CS_LAB, IOP_CS_RGB, IOP_FLAGS_SUPPORTS_BLENDING, dt_iop_gui_blend_data_t::iopw, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blend_data_t::mask_mode_combo, dt_iop_gui_blend_data_t::masks_box, dt_iop_gui_blend_data_t::masks_combine_combo, dt_iop_gui_blend_data_t::masks_feathering_guide_combo, dt_iop_gui_blend_data_t::masks_invert_combo, dt_iop_gui_blend_data_t::masks_modes_box, dt_iop_gui_blend_data_t::masks_support, 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_box, dt_gui_gtk_t::reset, dt_iop_gui_blend_data_t::save_for_leave, dt_iop_gui_blend_data_t::showmask, dt_iop_gui_blend_data_t::suppress, dt_iop_gui_blend_data_t::timeout_handle, dt_iop_gui_blend_data_t::top_box, and TRUE.
Referenced by _init_module_so(), and dt_iop_gui_set_expander().
void dt_iop_gui_init_masks | ( | GtkBox * | blendw, |
dt_iop_module_t * | module | ||
) |
References _blendop_masks_add_shape(), _blendop_masks_polarity_callback(), _blendop_masks_show_and_edit(), darktable_t::bauhaus, dt_iop_module_t::blend_data, darktable, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_add_populate_fct(), dt_bauhaus_combobox_new(), dt_bauhaus_set_use_default_callback(), dt_bauhaus_widget_set_label(), dt_get_help_url(), dt_gui_add_class(), dt_gui_add_help_link(), DT_GUI_MODULE, dt_iop_togglebutton_new(), DT_MASKS_BRUSH, DT_MASKS_CIRCLE, DT_MASKS_EDIT_OFF, DT_MASKS_ELLIPSE, DT_MASKS_GRADIENT, dt_masks_iop_combo_populate(), dt_masks_iop_value_changed_callback(), DT_MASKS_PATH, dtgtk_cairo_paint_masks_brush(), dtgtk_cairo_paint_masks_circle(), dtgtk_cairo_paint_masks_ellipse(), dtgtk_cairo_paint_masks_eye(), dtgtk_cairo_paint_masks_gradient(), dtgtk_cairo_paint_masks_path(), dtgtk_cairo_paint_plusminus(), DTGTK_TOGGLEBUTTON, dtgtk_togglebutton_set_paint(), FALSE, dt_iop_gui_blend_data_t::masks_box, dt_iop_gui_blend_data_t::masks_combo, dt_iop_gui_blend_data_t::masks_combo_ids, 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, and TRUE.
Referenced by dt_iop_gui_init_blending().
void dt_iop_gui_init_raster | ( | GtkBox * | blendw, |
dt_iop_module_t * | module | ||
) |
References _raster_combo_populate(), _raster_polarity_callback(), _raster_value_changed_callback(), darktable_t::bauhaus, dt_iop_module_t::blend_data, darktable, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_add_populate_fct(), dt_bauhaus_combobox_new(), dt_bauhaus_set_use_default_callback(), dt_bauhaus_widget_set_label(), dt_get_help_url(), dt_gui_add_class(), dt_gui_add_help_link(), DT_GUI_MODULE, dtgtk_cairo_paint_plusminus(), dtgtk_togglebutton_new(), FALSE, dt_iop_gui_blend_data_t::masks_support, dt_iop_gui_blend_data_t::raster_box, dt_iop_gui_blend_data_t::raster_combo, dt_iop_gui_blend_data_t::raster_inited, dt_iop_gui_blend_data_t::raster_polarity, and TRUE.
Referenced by dt_iop_gui_init_blending().
void dt_iop_gui_update_blendif | ( | dt_iop_module_t * | module | ) |
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, 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, darktable, dt_iop_module_t::dev, DEVELOP_BLEND_CS_LAB, DEVELOP_BLEND_CS_RGB_DISPLAY, DEVELOP_BLEND_CS_RGB_SCENE, dt_dev_invalidate_all, DT_DEV_PIXELPIPE_DISPLAY_NONE, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_dev_refresh_ui_images, dt_gui_container_destroy_children(), 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, darktable_t::gui, 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, dt_gui_gtk_t::reset, 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(), _pop_undo(), and dt_iop_gui_update_blending().
void dt_iop_gui_update_blending | ( | dt_iop_module_t * | module | ) |
References _add_blendmode_combo(), _blendif_are_output_channels_used(), _blendif_blend_parameter_enabled(), _mask_modes_flags_to_combobox(), dt_iop_gui_blend_data_t::altmode, dt_develop_blend_params_t::blend_cst, dt_iop_module_t::blend_data, dt_iop_gui_blend_data_t::blend_inited, 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_box, dt_iop_gui_blend_data_t::blendif_inited, dt_develop_blend_params_t::blur_radius, dt_iop_gui_blend_data_t::blur_radius_slider, dt_iop_gui_blend_data_t::bottom_box, dt_develop_blend_params_t::brightness, dt_iop_gui_blend_data_t::brightness_slider, dt_develop_blend_params_t::contrast, dt_iop_gui_blend_data_t::contrast_slider, dt_iop_gui_blend_data_t::csp, darktable, 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_CONDITIONAL, DEVELOP_MASK_ENABLED, DEVELOP_MASK_MASK, DEVELOP_MASK_RASTER, dt_bauhaus_combobox_clear(), dt_bauhaus_combobox_set(), dt_bauhaus_combobox_set_from_value(), dt_bauhaus_slider_set(), dt_control_log(), dt_develop_blend_default_module_blend_colorspace(), dt_image_is_rawprepare_supported(), dt_iop_add_remove_mask_indicator(), dt_iop_color_picker_reset(), dt_iop_gui_update_blendif(), dt_iop_gui_update_raster(), dt_iop_set_cache_bypass(), DT_MASKS_EDIT_OFF, dt_masks_iop_update(), dt_masks_set_edit_mode(), FALSE, dt_develop_blend_params_t::feathering_guide, dt_develop_blend_params_t::feathering_radius, dt_iop_gui_blend_data_t::feathering_radius_slider, darktable_t::gui, dt_iop_module_t::hide_enable_button, IOP_CS_RAW, IOP_FLAGS_SUPPORTS_BLENDING, dt_develop_blend_params_t::mask_combine, dt_develop_blend_params_t::mask_mode, dt_iop_gui_blend_data_t::mask_mode_combo, dt_iop_gui_blend_data_t::masks_box, dt_iop_gui_blend_data_t::masks_combine_combo, 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_modes_box, 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_box, dt_iop_gui_blend_data_t::raster_inited, dt_gui_gtk_t::reset, dt_iop_gui_blend_data_t::showmask, dt_iop_gui_blend_data_t::suppress, and dt_iop_gui_blend_data_t::top_box.
Referenced by _add_module_expander(), _blendop_blendif_invert(), dt_iop_gui_duplicate(), and dt_iop_gui_update().
void dt_iop_gui_update_raster | ( | dt_iop_module_t * | module | ) |
References _raster_combo_populate(), dt_iop_module_t::blend_data, dt_iop_gui_blend_data_t::masks_support, dt_iop_gui_blend_data_t::raster_combo, dt_iop_gui_blend_data_t::raster_inited, dt_develop_blend_params_t::raster_mask_invert, and dt_iop_gui_blend_data_t::raster_polarity.
Referenced by dt_iop_gui_update_blending().
void dt_masks_iop_update | ( | dt_iop_module_t * | module | ) |
References dt_iop_module_t::blend_data, dt_iop_module_t::blend_params, dt_masks_form_gui_t::creation, dt_masks_form_gui_t::creation_module, darktable, dt_iop_module_t::dev, darktable_t::develop, DEVELOP_COMBINE_MASKS_POS, DEVELOP_MASKS_NB_SHAPES, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_clear(), dt_bauhaus_combobox_set(), dt_iop_add_remove_mask_indicator(), DT_MASKS_EDIT_OFF, dt_masks_get_from_id(), DT_MASKS_GROUP, dt_masks_set_edit_mode(), FALSE, dt_develop_t::form_gui, dt_develop_t::form_visible, darktable_t::gui, 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, dt_masks_form_t::points, dt_gui_gtk_t::reset, TRUE, and dt_masks_form_t::type.
Referenced by _brush_events_button_pressed(), _brush_events_button_released(), _circle_events_button_pressed(), _ellipse_events_button_pressed(), _gradient_events_button_pressed(), _gradient_events_button_released(), _menu_add_exist(), _menu_no_masks(), _path_events_button_pressed(), _tree_add_exist(), dt_iop_gui_update_blending(), dt_masks_form_remove(), dt_masks_group_update_name(), dt_masks_gui_form_save_creation(), and dt_masks_iop_value_changed_callback().
|
static |
References GRADIENT_SLIDER_GET, GRADIENT_SLIDER_SET, and M_LN10.
Referenced by _blendop_blendif_disp_alternative_log().
|
static |
References eps, GRADIENT_SLIDER_GET, and GRADIENT_SLIDER_SET.
Referenced by _blendop_blendif_disp_alternative_mag().
const dt_iop_gui_blendif_colorstop_t _gradient_a[] |
const dt_iop_gui_blendif_colorstop_t _gradient_b[] |
const dt_iop_gui_blendif_colorstop_t _gradient_blue[] |
const dt_iop_gui_blendif_colorstop_t _gradient_chroma[] |
const dt_iop_gui_blendif_colorstop_t _gradient_gray[] |
const dt_iop_gui_blendif_colorstop_t _gradient_green[] |
const dt_iop_gui_blendif_colorstop_t _gradient_HSL_hue[] |
const dt_iop_gui_blendif_colorstop_t _gradient_JzCzhz_hue[] |
const dt_iop_gui_blendif_colorstop_t _gradient_L[] |
Referenced by gui_init(), and gui_init().
const dt_iop_gui_blendif_colorstop_t _gradient_LCh_hue[] |
const dt_iop_gui_blendif_colorstop_t _gradient_red[] |
const dt_develop_name_value_t dt_develop_blend_colorspace_names[] |
Referenced by _create_tooltip_text().
const dt_develop_name_value_t dt_develop_blend_mode_flag_names[] |
Referenced by _create_tooltip_text().
const dt_develop_name_value_t dt_develop_blend_mode_names[] |
Referenced by _add_blendmode_combo(), and _create_tooltip_text().
const dt_develop_name_value_t dt_develop_combine_masks_names[] |
Referenced by _create_tooltip_text(), and dt_iop_gui_init_blending().
const dt_develop_name_value_t dt_develop_feathering_guide_names[] |
Referenced by _create_tooltip_text(), and dt_iop_gui_init_blending().
const dt_develop_name_value_t dt_develop_invert_mask_names[] |
Referenced by _create_tooltip_text(), and dt_iop_gui_init_blending().
const dt_develop_name_value_t dt_develop_mask_mode_names[] |
Referenced by _create_tooltip_text(), and dt_iop_gui_init_blending().
const dt_iop_gui_blendif_channel_t Lab_channels[] |
Referenced by dt_iop_gui_update_blendif().
const dt_iop_gui_blendif_channel_t rgb_channels[] |
Referenced by dt_iop_gui_update_blendif().
const dt_iop_gui_blendif_channel_t rgbj_channels[] |
Referenced by dt_iop_gui_update_blendif().
const char* slider_tooltip[] |
Referenced by dt_iop_gui_init_blendif().