![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "system/macros.h"#include "system/mem_alloc.h"#include "system/simd.h"#include "control/signal.h"#include "common/usermanual_url.h"#include "develop/blend.h"#include "develop/blend_gui.h"#include "widgets/bauhaus.h"#include "widgets/accelerators.h"#include "gui/bauhaus_conf.h"#include "system/dtpthread.h"#include "math/math.h"#include "develop/iop_profile.h"#include "common/conf.h"#include "control/control.h"#include "develop/develop.h"#include "develop/imageop.h"#include "develop/imageop_gui.h"#include "develop/masks.h"#include "develop/masks_group.h"#include "develop/masks_gui.h"#include "widgets/button.h"#include "widgets/gradientslider.h"#include "gui/actions/menu.h"#include "gui/application.h"#include "libs/colorpicker.h"#include <assert.h>#include <stdlib.h>#include <string.h>#include "widgets/collapsible_section.h"#include "widgets/container.h"#include "widgets/label.h"#include "widgets/notebook.h"#include "widgets/popup.h"#include "widgets/scroll_wrap.h"#include "widgets/widget_style.h"#include "widgets/togglebutton.h"
Include dependency graph for blend_gui.c:Go to the source code of this file.
Data Structures | |
| struct | raster_combo_entry_t |
Macros | |
| #define | NEUTRAL_GRAY 0.5 |
| #define | BLEND_MASKMODE_CONF_KEY "plugins/darkroom/blending/mask_mode_tab" |
| #define | COLORSTOPS(gradient) sizeof(gradient) / sizeof(dt_iop_gui_blendif_colorstop_t), gradient |
| #define | BLENDOP_SCROLL_DATA_ROW "blendop-scroll-row" |
| #define | BLENDOP_SCROLL_DATA_INTERACTION "blendop-scroll-interaction" |
Typedefs | |
| typedef enum _blendop_masks_all_cols_t | _blendop_masks_all_cols_t |
| typedef enum _blendop_masks_group_cols_t | _blendop_masks_group_cols_t |
| 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 } |
| enum | _blendop_masks_all_cols_t { BLENDOP_MASKS_ALL_COL_ACTIVE = 0 , BLENDOP_MASKS_ALL_COL_NAME , BLENDOP_MASKS_ALL_COL_FORMID , BLENDOP_MASKS_ALL_COL_SENSITIVE , BLENDOP_MASKS_ALL_COL_MARKUP , BLENDOP_MASKS_ALL_COL_STATUS_MARKUP , BLENDOP_MASKS_ALL_COL_COUNT } |
| enum | _blendop_masks_group_cols_t { BLENDOP_MASKS_GROUP_COL_OP_ICON = 0 , BLENDOP_MASKS_GROUP_COL_INV_ICON , BLENDOP_MASKS_GROUP_COL_NAME , BLENDOP_MASKS_GROUP_COL_FORMID , BLENDOP_MASKS_GROUP_COL_PARENTID , BLENDOP_MASKS_GROUP_COL_STATE , BLENDOP_MASKS_GROUP_COL_INDEX , BLENDOP_MASKS_GROUP_COL_COUNT } |
Variables | |
| const dt_iop_gui_blendif_colorstop_t | _gradient_L [] |
| 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_gray [] |
| const dt_iop_gui_blendif_colorstop_t | _gradient_red [] |
| const dt_iop_gui_blendif_colorstop_t | _gradient_green [] |
| 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_LCh_hue [] |
| 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_channel_t | Lab_channels [] |
| const dt_iop_gui_blendif_channel_t | rgb_channels [] |
| const dt_iop_gui_blendif_channel_t | rgbj_channels [] |
| const char * | slider_tooltip [] |
| static const dt_masks_interaction_t | _blendop_scroll_columns [] |
| #define BLEND_MASKMODE_CONF_KEY "plugins/darkroom/blending/mask_mode_tab" |
Definition at line 90 of file blend_gui.c.
| #define BLENDOP_SCROLL_DATA_INTERACTION "blendop-scroll-interaction" |
Definition at line 3786 of file blend_gui.c.
| #define BLENDOP_SCROLL_DATA_ROW "blendop-scroll-row" |
Definition at line 3785 of file blend_gui.c.
| #define COLORSTOPS | ( | gradient | ) | sizeof(gradient) / sizeof(dt_iop_gui_blendif_colorstop_t), gradient |
Definition at line 3355 of file blend_gui.c.
| #define NEUTRAL_GRAY 0.5 |
Definition at line 89 of file blend_gui.c.
| typedef enum _blendop_masks_all_cols_t _blendop_masks_all_cols_t |
| typedef enum _blendop_masks_group_cols_t _blendop_masks_group_cols_t |
| typedef struct raster_combo_entry_t raster_combo_entry_t |
Definition at line 1365 of file blend_gui.c.
Definition at line 1376 of file blend_gui.c.
| enum _channel_indexes |
Definition at line 210 of file blend_gui.c.
|
static |
Definition at line 4336 of file blend_gui.c.
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 |
Definition at line 2944 of file blend_gui.c.
References _blendif_select_colorspace(), dt_develop_blend_colorspace_is_compatible(), dt_gui_add_class(), and TRUE.
Referenced by _blendif_options_callback().
|
static |
Definition at line 411 of file blend_gui.c.
References dt_develop_blend_params_t::blendif, DEVELOP_BLEND_CS_LAB, DEVELOP_BLENDIF_Lab_MASK, DEVELOP_BLENDIF_OUTPUT_MASK, DEVELOP_BLENDIF_RGB_MASK, DEVELOP_COMBINE_INCL, and dt_develop_blend_params_t::mask_combine.
Referenced by dt_iop_gui_update_blending().
|
static |
Definition at line 255 of file blend_gui.c.
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 |
Definition at line 2855 of file blend_gui.c.
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, dt_iop_module_t::dev, 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_pixelpipe_update_history_all, dt_develop_blend_colorspace_is_compatible(), 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 |
Definition at line 424 of file blend_gui.c.
References dt_iop_module_gui_t::blend_data, dt_develop_blend_params_t::blendif, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, ch, dt_iop_gui_blend_data_t::csp, d, DEVELOP_BLEND_CS_LAB, DEVELOP_BLENDIF_Lab_MASK, DEVELOP_BLENDIF_OUTPUT_MASK, DEVELOP_BLENDIF_RGB_MASK, DEVELOP_BLENDIF_SIZE, DEVELOP_COMBINE_INCL, FALSE, dt_iop_module_t::gui, IS_NULL_PTR, 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_toggled().
|
inlinestatic |
Definition at line 232 of file blend_gui.c.
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().
|
static |
Definition at line 329 of file blend_gui.c.
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, IOP_CS_HSL, IOP_CS_JZCZHZ, IOP_CS_LAB, IOP_CS_LCH, IOP_CS_RGB, IOP_CS_RGB_DISPLAY, IS_NULL_PTR, dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lutsize, dt_iop_order_iccprofile_info_t::matrix_in, dt_iop_order_iccprofile_info_t::nonlinearlut, and out.
Referenced by _update_gradient_slider_pickers().
|
static |
Definition at line 2929 of file blend_gui.c.
References _blendif_clean_output_channels(), dt_iop_module_gui_t::blend_data, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, dt_iop_module_t::dev, dt_dev_add_history_item, dt_iop_gui_update(), FALSE, dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::output_channels_shown, and TRUE.
Referenced by _blendif_options_callback().
|
static |
Definition at line 2961 of file blend_gui.c.
References _blendif_append_colorspace_item(), _blendif_hide_output_channels(), _blendif_select_colorspace(), _blendif_show_output_channels(), dt_iop_module_gui_t::blend_data, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, 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_get_global(), dt_gui_menu_popup(), DTGTK_BUTTON, dtgtk_button_set_active(), FALSE, dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::output_channels_shown, and dt_gui_gtk_t::presets_popup_menu.
Referenced by dt_iop_gui_init_blending_body().
|
inlinestatic |
Definition at line 385 of file blend_gui.c.
References value.
Referenced by _blendif_scale_print_ab().
|
inlinestatic |
Definition at line 374 of file blend_gui.c.
References value.
Referenced by _blendif_scale_print_default().
|
inlinestatic |
Definition at line 790 of file blend_gui.c.
References value.
Referenced by _update_gradient_slider_pickers().
|
static |
Definition at line 283 of file blend_gui.c.
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, IOP_CS_HSL, IOP_CS_JZCZHZ, IOP_CS_LAB, IOP_CS_LCH, IOP_CS_RGB, IOP_CS_RGB_DISPLAY, IS_NULL_PTR, dt_iop_order_iccprofile_info_t::lut_in, dt_iop_order_iccprofile_info_t::lutsize, dt_iop_order_iccprofile_info_t::matrix_in, dt_iop_order_iccprofile_info_t::nonlinearlut, and out.
Referenced by _update_gradient_slider_pickers().
|
static |
Definition at line 394 of file blend_gui.c.
References _blendif_print_digits_ab(), n, and value.
|
static |
Definition at line 405 of file blend_gui.c.
References _blendif_print_digits_default(), n, and value.
|
static |
Definition at line 400 of file blend_gui.c.
|
static |
Definition at line 2909 of file blend_gui.c.
References _blendif_change_blend_colorspace(), dt_iop_module_t::gui, and dt_iop_module_gui_t::widget.
Referenced by _blendif_append_colorspace_item(), and _blendif_options_callback().
|
static |
Definition at line 2918 of file blend_gui.c.
References dt_iop_module_gui_t::blend_data, dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, dt_iop_gui_update(), dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::output_channels_shown, and TRUE.
Referenced by _blendif_options_callback().
|
static |
Definition at line 475 of file blend_gui.c.
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, DEVELOP_BLEND_MODE_MASK, DEVELOP_BLEND_REVERSE, dt_bauhaus_combobox_get_data(), dt_bauhaus_slider_set(), dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), FALSE, and TRUE.
Referenced by dt_iop_gui_init_blending_body().
|
static |
Definition at line 1052 of file blend_gui.c.
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, ch, dt_iop_gui_blend_data_t::channel, clamp_range_f(), dt_iop_gui_blend_data_t::colorpicker_set_values, dt_iop_gui_blend_data_t::csp, 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, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), factor, IS_NULL_PTR, dt_iop_gui_blendif_channel_t::param_channels, dt_iop_gui_blend_data_t::picker_set_values_manual_boost_lock, dt_iop_gui_blend_data_t::tab, TRUE, and value.
Referenced by dt_iop_gui_init_blendif().
|
static |
Persistently display the current parametric input or output channel.
Each button belongs to its source slider. Activating one deactivates the other, selects the current channel tab, and preserves any independently requested mask preview. STICKY keeps the explicit button choice active when the pointer leaves the slider.
Definition at line 3156 of file blend_gui.c.
References dt_iop_gui_blend_data_t::channel, dt_iop_gui_blendif_filter_t::channel_display, dt_iop_module_t::dev, 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_dev_pixelpipe_update_history_main, dt_gui_freeze_begin, dt_gui_freeze_end, dt_gui_widgets_suppressed(), dt_iop_request_focus(), dt_iop_set_cache_bypass(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, dt_iop_gui_blend_data_t::filter, IS_NULL_PTR, dt_iop_gui_blend_data_t::lock, dt_iop_module_t::request_mask_display, dt_iop_gui_blend_data_t::save_for_leave, and dt_iop_gui_blend_data_t::tab.
Referenced by dt_iop_gui_init_blendif().
|
static |
Definition at line 3011 of file blend_gui.c.
References _blendop_blendif_sync_channel_display_buttons(), dt_iop_gui_blend_data_t::channel, dt_iop_module_t::dev, 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_update_history_main, 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 |
Definition at line 3059 of file blend_gui.c.
References _blendop_blendif_sync_channel_display_buttons(), dt_iop_gui_blend_data_t::channel, dt_iop_module_t::dev, 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_dev_pixelpipe_update_history_main, 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 |
Definition at line 1092 of file blend_gui.c.
References dt_iop_gui_blend_data_t::blendif_inited, dt_develop_blend_params_t::details, dt_bauhaus_slider_get(), dt_dev_add_history_item, dt_dev_pixelpipe_update_history_all, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), IS_NULL_PTR, and TRUE.
Referenced by dt_iop_gui_init_blending_body().
|
static |
Definition at line 724 of file blend_gui.c.
References _blendop_blendif_disp_alternative_worker(), and log10_scale_callback().
|
static |
Definition at line 719 of file blend_gui.c.
References _blendop_blendif_disp_alternative_worker(), and magnifier_scale_callback().
|
static |
Definition at line 729 of file blend_gui.c.
References _blendop_blendif_disp_alternative_worker(), and void().
Referenced by _blendop_blendif_update_tab().
|
static |
Definition at line 700 of file blend_gui.c.
References dt_free, 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 |
Definition at line 3204 of file blend_gui.c.
References _blendop_blendif_channel_mask_view(), DT_DEV_PIXELPIPE_DISPLAY_CHANNEL, DT_DEV_PIXELPIPE_DISPLAY_MASK, DT_DEV_PIXELPIPE_DISPLAY_NONE, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_gui_widgets_suppressed(), dt_modifier_is(), DT_PRIMARY_MASK, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, dt_iop_gui_blend_data_t::lock, 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 |
Definition at line 761 of file blend_gui.c.
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 |
Definition at line 1243 of file blend_gui.c.
References dt_iop_gui_blend_data_t::channel_tabs_csp, dt_iop_module_t::dev, 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_gui_widgets_suppressed(), dt_iop_gui_update_blending(), dt_iop_gui_update_header(), and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
Definition at line 3334 of file blend_gui.c.
References _blendop_blendif_channel_mask_view_toggle(), DT_DEV_PIXELPIPE_DISPLAY_MASK, dt_gui_widgets_suppressed(), dt_iop_request_focus(), FALSE, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
Definition at line 3317 of file blend_gui.c.
References _blendop_blendif_leave_delayed(), DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_gui_widgets_suppressed(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, dt_iop_gui_blend_data_t::lock, dt_iop_module_t::request_mask_display, 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 |
Definition at line 3271 of file blend_gui.c.
References _blendop_blendif_sync_channel_display_buttons(), dt_iop_module_t::dev, DT_DEV_PIXELPIPE_DISPLAY_NONE, DT_DEV_PIXELPIPE_DISPLAY_STICKY, dt_dev_pixelpipe_update_history_main, 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 |
Toggle the alternative scale of one parametric-mask slider.
Input and output sliders keep independent scale states for every channel tab. Most channels use a logarithmic scale; signed opponent channels use the existing centered magnifier because a logarithm is not defined across zero.
Definition at line 741 of file blend_gui.c.
References dt_iop_gui_blendif_channel_t::altdisplay, dt_iop_gui_blend_data_t::altmode, dt_iop_gui_blend_data_t::channel, dt_gui_widgets_suppressed(), dt_iop_gui_blend_data_t::filter, IS_NULL_PTR, dt_iop_gui_blendif_filter_t::log_scale, dt_iop_gui_blendif_filter_t::slider, and dt_iop_gui_blend_data_t::tab.
Referenced by dt_iop_gui_init_blendif().
|
static |
Definition at line 619 of file blend_gui.c.
References dt_develop_blend_params_t::blendif, ch, dt_iop_gui_blend_data_t::channel, dt_control_queue_redraw_widget(), dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), 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, dt_iop_gui_blendif_channel_t::param_channels, dt_iop_gui_blendif_filter_t::polarity, dt_iop_gui_blendif_filter_t::slider, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
Definition at line 1228 of file blend_gui.c.
References dt_iop_module_t::blend_params, dt_develop_blend_params_t::blendif_parameters, dt_iop_module_t::default_blendop_params, dt_iop_module_t::dev, DEVELOP_BLENDIF_SIZE, dt_dev_add_history_item, dt_iop_color_picker_reset(), dt_iop_gui_update_blendif(), dt_iop_gui_update_header(), FALSE, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
Definition at line 1107 of file blend_gui.c.
References _blendop_blendif_sync_channel_display_buttons(), dt_iop_module_t::dev, DT_DEV_PIXELPIPE_DISPLAY_NONE, dt_dev_pixelpipe_update_zoom_main, dt_gui_freeze_begin, dt_gui_freeze_end, dt_gui_widgets_suppressed(), dt_iop_request_focus(), dt_iop_set_cache_bypass(), dt_modifier_is(), DT_PRIMARY_MASK, dt_iop_module_t::gui, dt_iop_module_gui_t::mask_indicator, dt_iop_module_gui_t::off, dt_iop_module_t::request_mask_display, and TRUE.
Referenced by dt_iop_gui_init_blending_body().
|
static |
de-activate processing of this channel if maximum span is selected
Definition at line 554 of file blend_gui.c.
References _get_boost_factor(), dt_develop_blend_params_t::blendif, dt_develop_blend_params_t::blendif_parameters, ch, dt_iop_gui_blend_data_t::channel, dt_iop_gui_blend_data_t::colorpicker, dt_iop_gui_blend_data_t::colorpicker_set_values, dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_color_picker_reset(), dt_iop_gui_update_header(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), dtgtk_gradient_slider_multivalue_get_value(), FALSE, dt_iop_gui_blend_data_t::filter, k, dt_iop_gui_blendif_filter_t::label, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blendif_channel_t::param_channels, 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 |
Definition at line 596 of file blend_gui.c.
References _blendop_blendif_update_tab(), dt_develop_blend_params_t::blendif, ch, dt_iop_gui_blend_data_t::channel, DEVELOP_COMBINE_INCL, dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), dt_iop_gui_blend_data_t::filter, dt_develop_blend_params_t::mask_combine, dt_iop_gui_blendif_channel_t::param_channels, dt_iop_gui_blendif_filter_t::slider, dt_iop_gui_blend_data_t::tab, and TRUE.
Referenced by dt_iop_gui_init_blendif().
|
static |
Synchronize input/output channel toggles from the active preview request.
Channel selection is encoded in module->request_mask_display: CHANNEL enables channel rendering and OUTPUT selects the unblended module output. The GUI reset guard prevents programmatic synchronization from invalidating the pipeline through the user-facing toggle callbacks.
Definition at line 3128 of file blend_gui.c.
References dt_iop_gui_blendif_filter_t::channel_display, dt_gui_freeze_begin, dt_gui_freeze_end, dt_iop_gui_blend_data_t::filter, and IS_NULL_PTR.
Referenced by _blendop_blendif_channel_mask_view(), _blendop_blendif_channel_mask_view_toggle(), _blendop_blendif_leave_delayed(), _blendop_blendif_showmask_clicked(), _blendop_blendif_update_tab(), dt_iop_gui_blending_lose_focus(), and dt_iop_gui_update_blending().
|
static |
Definition at line 1016 of file blend_gui.c.
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, dt_dev_pixelpipe_update_history_all, dt_gui_widgets_suppressed(), dt_iop_color_picker_reset(), dt_iop_color_picker_set_cst(), FALSE, IS_NULL_PTR, and dt_iop_gui_blend_data_t::tab.
Referenced by dt_iop_gui_init_blendif().
|
static |
Definition at line 870 of file blend_gui.c.
References _blendop_blendif_disp_alternative_reset(), _blendop_blendif_sync_channel_display_buttons(), _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, ch, dt_iop_gui_blend_data_t::channel, dt_iop_gui_blend_data_t::channel_boost_factor_slider, dt_iop_gui_blend_data_t::channel_tabs, dt_iop_gui_blendif_colorstop_t::color, dt_iop_gui_blendif_channel_t::colorstops, dt_iop_module_t::dev, dt_iop_gui_blendif_channel_t::display_channel, dt_bauhaus_slider_set(), DT_DEV_PIXELPIPE_DISPLAY_CHANNEL, DT_DEV_PIXELPIPE_DISPLAY_OUTPUT, dt_dev_pixelpipe_update_history_main, dt_free, dt_gui_freeze_begin, dt_gui_freeze_end, dt_iop_set_cache_bypass(), 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(), FALSE, 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, dt_iop_gui_blendif_channel_t::increment, IS_NULL_PTR, k, dt_iop_gui_blendif_channel_t::label, dt_iop_gui_blendif_filter_t::label, dt_iop_gui_blend_data_t::lock, dt_iop_gui_blendif_filter_t::log_scale, dt_iop_gui_blendif_channel_t::numberstops, dt_iop_gui_blendif_channel_t::param_channels, dt_iop_gui_blendif_filter_t::polarity, dt_iop_module_t::request_mask_display, dt_iop_gui_blendif_channel_t::scale_print, dt_iop_gui_blendif_filter_t::slider, dt_iop_gui_blendif_colorstop_t::stoppoint, and TRUE.
Referenced by _blendop_blendif_boost_factor_callback(), _blendop_blendif_sliders_reset_callback(), _blendop_blendif_tab_switch(), _blendop_masks_combine_callback(), and dt_iop_gui_update_blendif().
|
static |
Persist the active blending notebook tab in anselrc.
The blending UI is rebuilt per module instance, so we store only the last-used page index to restore a consistent view across sessions.
Definition at line 1042 of file blend_gui.c.
References BLEND_MASKMODE_CONF_KEY, dt_conf_set_int(), IS_NULL_PTR, notebook, and void().
Referenced by dt_iop_gui_init_blending_body().
|
static |
Definition at line 499 of file blend_gui.c.
References dt_develop_blend_params_t::blend_mode, DEVELOP_BLEND_REVERSE, dt_bauhaus_combobox_get_data(), dt_control_queue_redraw_widget(), dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), and TRUE.
Referenced by dt_iop_gui_init_blending_body().
|
static |
Definition at line 4377 of file blend_gui.c.
References _blendop_masks_mode_changed(), DEVELOP_MASK_PARAMETRIC, DEVELOP_MASK_RASTER, and DEVELOP_MASK_SHAPE.
Referenced by _blendop_create_toggle_page(), and dt_iop_gui_init_blending_body().
|
static |
Definition at line 4411 of file blend_gui.c.
References _notebook_append_full_width_page(), dt_gui_add_help_link(), DT_GUI_BOX_SPACING, and notebook.
Referenced by dt_iop_gui_init_blending_body().
|
static |
Definition at line 4422 of file blend_gui.c.
References _blendop_create_enable_toggle(), _notebook_append_full_width_page(), dt_gui_add_help_link(), DT_GUI_BOX_SPACING, FALSE, notebook, and TRUE.
Referenced by dt_iop_gui_init_blending_body().
|
static |
Definition at line 2036 of file blend_gui.c.
References _blendop_masks_all_delete(), _blendop_masks_all_duplicate_callback(), _blendop_masks_all_handle_left_click(), _blendop_masks_all_rename_callback(), dt_iop_gui_blend_data_t::all_shapes_delete_col, dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_ALL_COL_FORMID, FALSE, dt_iop_module_t::gui, IS_NULL_PTR, model, and TRUE.
Referenced by _blendop_masks_refresh_lists(), and dt_iop_gui_init_masks().
|
static |
Definition at line 1954 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_masks_change_form_gui(), DT_MASKS_EVENT_DELETE, dt_masks_form_delete(), dt_masks_get_from_id(), dt_masks_gui_confirm_permanent_delete(), DT_SIGNAL_MASK_CHANGED, IS_NULL_PTR, and dt_masks_form_t::name.
Referenced by _blendop_masks_all_button_pressed().
|
static |
Definition at line 1969 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_MASKS_EVENT_RESET, dt_masks_form_duplicate(), DT_SIGNAL_MASK_CHANGED, and IS_NULL_PTR.
Referenced by _blendop_masks_all_button_pressed().
|
static |
Definition at line 2002 of file blend_gui.c.
References _blendop_masks_all_toggled(), dt_iop_gui_blend_data_t::all_shapes_col, dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_ALL_COL_FORMID, BLENDOP_MASKS_ALL_COL_SENSITIVE, dt_free, FALSE, dt_iop_module_t::gui, IS_NULL_PTR, model, and TRUE.
Referenced by _blendop_masks_all_button_pressed().
|
static |
Definition at line 1814 of file blend_gui.c.
References _blendop_masks_refresh_lists(), dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_ALL_COL_FORMID, dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_dev_add_history_item, DT_MASKS_EVENT_CHANGE, dt_masks_get_from_id(), DT_SIGNAL_MASK_CHANGED, FALSE, dt_masks_form_t::formid, dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::masks_treeview, model, dt_masks_form_t::name, TRUE, and void().
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 1980 of file blend_gui.c.
References _blendop_masks_find_iter_by_formid(), dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_ALL_COL_FORMID, dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::masks_treeview, model, TRUE, and view.
Referenced by _blendop_masks_all_button_pressed().
|
static |
Definition at line 1842 of file blend_gui.c.
References BLENDOP_MASKS_ALL_COL_FORMID, dt_iop_module_t::dev, dt_dev_masks_selection_change(), dt_gui_widgets_suppressed(), dt_masks_center_view_on_form(), dt_masks_change_form_gui(), dt_masks_get_from_id(), FALSE, dt_develop_t::form_gui, IS_NULL_PTR, and model.
Referenced by _blendop_masks_refresh_lists(), and dt_iop_gui_init_masks().
|
static |
Definition at line 1872 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), _blendop_masks_group_create(), _blendop_masks_group_from_module(), _blendop_masks_is_group_with_shapes(), dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_ALL_COL_ACTIVE, BLENDOP_MASKS_ALL_COL_FORMID, BLENDOP_MASKS_ALL_COL_SENSITIVE, dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_gui_widgets_suppressed(), dt_masks_cow_touch(), DT_MASKS_EDIT_FULL, DT_MASKS_EVENT_ADD, DT_MASKS_EVENT_REMOVE, dt_masks_form_delete(), dt_masks_form_group_find_entry(), dt_masks_get_from_id(), dt_masks_group_add_form(), dt_masks_set_edit_mode(), DT_SIGNAL_MASK_CHANGED, FALSE, dt_masks_form_t::formid, dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::masks_treeview, model, TRUE, and void().
Referenced by _blendop_masks_all_handle_left_click(), and dt_iop_gui_init_masks().
|
static |
Definition at line 1734 of file blend_gui.c.
References dt_iop_module_t::dev, dt_control_queue_redraw_center(), dt_dev_add_history_item, dt_iop_gui_blend_masks_update(), dt_iop_gui_update_header(), IS_NULL_PTR, and TRUE.
Referenced by _blendop_masks_all_delete(), _blendop_masks_all_duplicate_callback(), _blendop_masks_all_toggled(), _blendop_masks_group_delete(), _blendop_masks_group_duplicate_callback(), _blendop_masks_group_move_callback(), _blendop_masks_group_name_commit(), _blendop_masks_group_operation_callback(), and _blendop_masks_group_unlink().
|
static |
Definition at line 1395 of file blend_gui.c.
References dt_masks_form_t::formid, dt_develop_t::forms, and IS_NULL_PTR.
Referenced by _blendop_masks_group_create().
|
static |
Definition at line 515 of file blend_gui.c.
References _blendif_clean_output_channels(), _blendop_blendif_update_tab(), dt_iop_gui_blend_data_t::blendif_inited, dt_iop_gui_blend_data_t::blendif_support, dt_iop_gui_blend_data_t::csp, d, 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_iop_gui_update_header(), 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_body().
Definition at line 3830 of file blend_gui.c.
References _blendop_masks_scroll_sync(), _blendop_masks_scroll_toggled(), _blendop_scroll_columns, BLENDOP_SCROLL_DATA_INTERACTION, BLENDOP_SCROLL_DATA_ROW, dt_free, DT_GUI_BOX_SPACING, dt_masks_interaction_alias_name(), dt_masks_interaction_name(), DT_MASKS_INTERACTION_UNDEF, dt_masks_scroll_mapping_get(), DT_MASKS_SCROLL_MODIFIER_LAST, dt_masks_scroll_modifier_name(), IS_NULL_PTR, row, tooltip, and TRUE.
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 2269 of file blend_gui.c.
References dt_masks_shape_buttons_config_t::dev, dt_masks_shape_buttons_create(), and IS_NULL_PTR.
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 2246 of file blend_gui.c.
References dt_iop_module_gui_t::blend_data, dt_iop_gui_blend_data_t::group_shapes_label, dt_iop_module_t::gui, and dt_iop_gui_blend_data_t::lists_stack.
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 1585 of file blend_gui.c.
References FALSE, IS_NULL_PTR, model, and TRUE.
Referenced by _blendop_masks_all_rename_callback().
|
static |
Definition at line 1470 of file blend_gui.c.
References DT_MASKS_STATE_INVERSE, dt_iop_gui_blend_data_t::masks_ic_inverse, and state.
Referenced by _blendop_masks_group_tree_append_entry(), and _blendop_masks_group_update_row().
|
static |
Definition at line 1458 of file blend_gui.c.
References DT_MASKS_STATE_DIFFERENCE, DT_MASKS_STATE_EXCLUSION, DT_MASKS_STATE_INTERSECTION, DT_MASKS_STATE_UNION, IS_NULL_PTR, 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_union, and state.
Referenced by _blendop_masks_group_tree_append_entry(), and _blendop_masks_group_update_row().
|
static |
Definition at line 2464 of file blend_gui.c.
References _blendop_masks_group_ctx_menu(), _blendop_masks_group_handle_action_click(), dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_GROUP_COL_FORMID, BLENDOP_MASKS_GROUP_COL_INDEX, BLENDOP_MASKS_GROUP_COL_PARENTID, BLENDOP_MASKS_GROUP_COL_STATE, dt_iop_module_t::dev, dt_masks_get_from_id(), DT_MASKS_GROUP, FALSE, dt_iop_module_t::gui, IS_NULL_PTR, model, dt_masks_form_t::points, state, TRUE, and dt_masks_form_t::type.
Referenced by _blendop_masks_refresh_lists(), and dt_iop_gui_init_masks().
|
static |
Definition at line 1415 of file blend_gui.c.
References _blendop_masks_check_id(), dt_iop_module_t::blend_params, dt_iop_module_t::dev, dt_masks_append_form(), dt_masks_create(), dt_masks_get_from_id(), DT_MASKS_GROUP, dt_masks_group_set_name_from_module(), IS_NULL_PTR, and dt_develop_blend_params_t::mask_id.
Referenced by _blendop_masks_all_toggled().
|
static |
Definition at line 2294 of file blend_gui.c.
References _blendop_masks_group_duplicate_callback(), _blendop_masks_group_move_callback(), _blendop_masks_group_operation_callback(), _blendop_masks_init_icons(), ctx_gtk_check_menu_item_new_with_markup_and_pixbuf(), dt_iop_module_t::dev, dt_masks_get_from_id(), dt_masks_gui_populate_interaction_sliders(), DT_MASKS_STATE_DIFFERENCE, DT_MASKS_STATE_EXCLUSION, DT_MASKS_STATE_INTERSECTION, DT_MASKS_STATE_INVERSE, DT_MASKS_STATE_UNION, FALSE, dt_develop_t::form_gui, IS_NULL_PTR, 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, state, and TRUE.
Referenced by _blendop_masks_group_button_pressed().
|
static |
Definition at line 2416 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), _blendop_masks_refresh_lists(), dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_masks_change_form_gui(), DT_MASKS_EVENT_REMOVE, dt_masks_form_delete(), dt_masks_get_from_id(), dt_masks_gui_confirm_permanent_delete(), DT_SIGNAL_MASK_CHANGED, IS_NULL_PTR, and dt_masks_form_t::name.
Referenced by _blendop_masks_group_handle_action_click().
|
static |
Definition at line 2228 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), _blendop_masks_refresh_lists(), dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_MASKS_EVENT_ADD, dt_masks_form_duplicate_in_group(), DT_SIGNAL_MASK_CHANGED, and IS_NULL_PTR.
Referenced by _blendop_masks_group_ctx_menu().
|
static |
Definition at line 2551 of file blend_gui.c.
References _blendop_masks_group_find_row(), BLENDOP_MASKS_GROUP_COL_FORMID, BLENDOP_MASKS_GROUP_COL_PARENTID, FALSE, model, out, and TRUE.
Referenced by _blendop_masks_group_find_row(), and _blendop_masks_group_update_row().
|
static |
Definition at line 1388 of file blend_gui.c.
References dt_iop_module_t::blend_params, dt_iop_module_t::dev, dt_masks_get_from_id(), IS_NULL_PTR, and dt_develop_blend_params_t::mask_id.
Referenced by _blendop_masks_all_toggled(), _blendop_masks_group_name_commit(), and _blendop_masks_refresh_lists().
|
static |
Definition at line 2438 of file blend_gui.c.
References _blendop_masks_group_delete(), _blendop_masks_group_unlink(), dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_GROUP_COL_FORMID, BLENDOP_MASKS_GROUP_COL_PARENTID, FALSE, dt_iop_gui_blend_data_t::group_delete_col, dt_iop_gui_blend_data_t::group_unlink_col, dt_iop_module_t::gui, IS_NULL_PTR, model, and TRUE.
Referenced by _blendop_masks_group_button_pressed().
|
static |
Definition at line 2188 of file blend_gui.c.
References dt_masks_cow_touch(), DT_MASKS_GROUP, FALSE, IS_NULL_PTR, dt_masks_form_t::points, TRUE, and dt_masks_form_t::type.
Referenced by _blendop_masks_group_move_callback().
|
static |
Definition at line 2213 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), _blendop_masks_group_move_by_index(), dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_masks_change_form_gui(), DT_MASKS_EVENT_UPDATE, dt_masks_get_from_id(), DT_SIGNAL_MASK_CHANGED, and IS_NULL_PTR.
Referenced by _blendop_masks_group_ctx_menu().
|
static |
Definition at line 1799 of file blend_gui.c.
References _blendop_masks_group_name_commit().
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 1780 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), _blendop_masks_group_from_module(), _blendop_masks_refresh_lists(), dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_MASKS_EVENT_CHANGE, dt_masks_group_name_for_module(), DT_SIGNAL_MASK_CHANGED, dt_masks_form_t::formid, IS_NULL_PTR, and dt_masks_form_t::name.
Referenced by _blendop_masks_group_name_activate(), and _blendop_masks_group_name_focus_out().
|
static |
Definition at line 1805 of file blend_gui.c.
References _blendop_masks_group_name_commit(), FALSE, and void().
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 2106 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, DT_MASKS_EVENT_UPDATE, dt_masks_group_set_member_operation(), DT_MASKS_OK, DT_SIGNAL_MASK_CHANGED, IS_NULL_PTR, and state.
Referenced by _blendop_masks_group_ctx_menu().
|
static |
Definition at line 2522 of file blend_gui.c.
References dt_iop_module_gui_t::blend_data, FALSE, dt_iop_gui_blend_data_t::group_delete_col, dt_iop_gui_blend_data_t::group_unlink_col, dt_iop_module_t::gui, IS_NULL_PTR, tooltip, TRUE, and x.
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 2126 of file blend_gui.c.
References BLENDOP_MASKS_GROUP_COL_FORMID, dt_masks_form_gui_t::border_selected, dt_iop_module_t::dev, dt_dev_masks_selection_change(), dt_gui_freeze_begin, dt_gui_freeze_end, dt_gui_widgets_suppressed(), dt_masks_center_view_on_form(), DT_MASKS_EDIT_FULL, dt_masks_get_from_id(), dt_masks_get_visible_form(), dt_masks_group_index_from_formid(), dt_masks_set_edit_mode(), dt_masks_form_gui_t::edit_mode, FALSE, dt_masks_form_gui_t::form_dragging, dt_develop_t::form_gui, dt_masks_form_gui_t::form_rotating, dt_masks_form_gui_t::form_selected, dt_masks_form_gui_t::group_selected, dt_masks_form_gui_t::handle_border_selected, dt_masks_form_gui_t::handle_selected, IS_NULL_PTR, model, dt_masks_form_gui_t::node_selected, dt_masks_form_gui_t::node_selected_idx, dt_masks_form_gui_t::pivot_selected, dt_masks_form_gui_t::seg_selected, dt_masks_form_gui_t::source_dragging, dt_masks_form_gui_t::source_selected, and TRUE.
Referenced by _blendop_masks_refresh_lists(), and dt_iop_gui_init_masks().
|
static |
Definition at line 1555 of file blend_gui.c.
References _blendop_masks_group_tree_append_entry(), dt_masks_get_from_id(), DT_MASKS_GROUP, dt_masks_form_group_t::formid, IS_NULL_PTR, dt_masks_form_t::points, and dt_masks_form_t::type.
Referenced by _blendop_masks_group_tree_append_entry(), and _blendop_masks_refresh_lists().
|
static |
Definition at line 1520 of file blend_gui.c.
References _blendop_masks_get_inverse_icon(), _blendop_masks_get_op_icon(), _blendop_masks_group_tree_append(), BLENDOP_MASKS_GROUP_COL_FORMID, BLENDOP_MASKS_GROUP_COL_INDEX, BLENDOP_MASKS_GROUP_COL_INV_ICON, BLENDOP_MASKS_GROUP_COL_NAME, BLENDOP_MASKS_GROUP_COL_OP_ICON, BLENDOP_MASKS_GROUP_COL_PARENTID, BLENDOP_MASKS_GROUP_COL_STATE, DT_MASKS_GROUP, dt_masks_form_group_t::formid, IS_NULL_PTR, dt_masks_form_t::name, dt_masks_form_group_t::opacity, dt_masks_form_group_t::parentid, dt_masks_form_group_t::state, and dt_masks_form_t::type.
Referenced by _blendop_masks_group_tree_append().
|
static |
Definition at line 2396 of file blend_gui.c.
References _blendop_masks_apply_and_commit(), _blendop_masks_refresh_lists(), dt_iop_module_t::dev, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_masks_change_form_gui(), DT_MASKS_EVENT_REMOVE, dt_masks_form_delete(), dt_masks_get_from_id(), DT_MASKS_GROUP, DT_SIGNAL_MASK_CHANGED, IS_NULL_PTR, and dt_masks_form_t::type.
Referenced by _blendop_masks_group_handle_action_click().
|
static |
Definition at line 2577 of file blend_gui.c.
References _blendop_masks_get_inverse_icon(), _blendop_masks_get_op_icon(), _blendop_masks_group_find_row(), dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_GROUP_COL_INV_ICON, BLENDOP_MASKS_GROUP_COL_NAME, BLENDOP_MASKS_GROUP_COL_OP_ICON, BLENDOP_MASKS_GROUP_COL_STATE, dt_iop_module_t::dev, dt_masks_form_group_find_entry(), dt_masks_get_from_id(), dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::masks_group_treeview, model, dt_masks_form_t::name, dt_masks_form_group_t::opacity, and dt_masks_form_group_t::state.
Referenced by _blendop_masks_handler_callback().
|
static |
Definition at line 2606 of file blend_gui.c.
References _blendop_masks_group_update_row(), _blendop_masks_refresh_lists(), DT_MASKS_EVENT_UPDATE, and void().
Referenced by dt_iop_gui_cleanup_blending(), and dt_iop_gui_init_blending().
|
static |
Definition at line 1436 of file blend_gui.c.
References dt_draw_get_pixbuf_from_cairo(), DT_PIXEL_APPLY_DPI, dtgtk_cairo_paint_masks_difference(), dtgtk_cairo_paint_masks_exclusion(), dtgtk_cairo_paint_masks_intersection(), dtgtk_cairo_paint_masks_inverse(), dtgtk_cairo_paint_masks_union(), IS_NULL_PTR, 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, and dt_iop_gui_blend_data_t::masks_ic_union.
Referenced by _blendop_masks_group_ctx_menu(), and dt_iop_gui_init_masks().
|
static |
Definition at line 541 of file blend_gui.c.
References _blendif_clean_output_channels(), DEVELOP_COMBINE_INV, dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), and TRUE.
Referenced by dt_iop_gui_init_blending_body().
|
static |
Definition at line 1500 of file blend_gui.c.
References _blendop_masks_is_group_with_shapes(), dt_masks_get_from_id(), DT_MASKS_GROUP, FALSE, dt_masks_form_group_t::formid, IS_NULL_PTR, dt_masks_form_t::points, TRUE, and dt_masks_form_t::type.
Referenced by _blendop_masks_all_toggled(), _blendop_masks_is_group_with_shapes(), and _blendop_masks_refresh_lists().
|
static |
Definition at line 1480 of file blend_gui.c.
References dt_masks_get_from_id(), DT_MASKS_GROUP, FALSE, dt_masks_form_group_t::formid, IS_NULL_PTR, dt_masks_form_t::points, TRUE, and dt_masks_form_t::type.
Referenced by _blendop_masks_refresh_lists().
|
static |
Definition at line 465 of file blend_gui.c.
References dt_iop_gui_blend_data_t::blending_box, dt_iop_gui_update_blending(), and dt_iop_set_mask_mode().
Referenced by _blendop_masks_mode_changed().
|
static |
Definition at line 1170 of file blend_gui.c.
References _blendop_masks_mode_callback(), dt_iop_module_gui_t::blend_data, dt_iop_module_t::dev, DEVELOP_MASK_ENABLED, DEVELOP_MASK_PARAMETRIC, DEVELOP_MASK_RASTER, DEVELOP_MASK_SHAPE, dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_RAISE, dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_add_remove_mask_indicator(), dt_iop_gui_update_header(), DT_SIGNAL_DEVELOP_MASKS_GUI_CHANGED, dt_iop_module_t::gui, IS_NULL_PTR, and TRUE.
Referenced by _blendop_create_enable_toggle().
|
static |
Definition at line 1344 of file blend_gui.c.
References dt_iop_module_t::blend_params, dt_iop_module_t::dev, DEVELOP_COMBINE_MASKS_POS, dt_control_queue_redraw_widget(), dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), dt_develop_blend_params_t::mask_combine, and TRUE.
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 1612 of file blend_gui.c.
References _blendop_masks_all_button_pressed(), _blendop_masks_all_selection_changed(), _blendop_masks_group_button_pressed(), _blendop_masks_group_from_module(), _blendop_masks_group_selection_changed(), _blendop_masks_group_tree_append(), _blendop_masks_is_group_with_shapes(), _blendop_masks_is_single_group_wrapper(), dt_iop_module_gui_t::blend_data, BLENDOP_MASKS_ALL_COL_ACTIVE, BLENDOP_MASKS_ALL_COL_FORMID, BLENDOP_MASKS_ALL_COL_MARKUP, BLENDOP_MASKS_ALL_COL_NAME, BLENDOP_MASKS_ALL_COL_SENSITIVE, BLENDOP_MASKS_ALL_COL_STATUS_MARKUP, dt_iop_module_t::dev, DT_MASKS_CLONE, dt_masks_form_group_find_entry(), DT_MASKS_GROUP, DT_MASKS_NON_CLONE, FALSE, dt_masks_form_t::formid, dt_develop_t::forms, dt_iop_gui_blend_data_t::group_shapes_label, dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::masks_group_treeview, dt_iop_gui_blend_data_t::masks_treeview, dt_masks_form_t::name, TRUE, and dt_masks_form_t::type.
Referenced by _blendop_masks_all_name_edited(), _blendop_masks_group_delete(), _blendop_masks_group_duplicate_callback(), _blendop_masks_group_name_commit(), _blendop_masks_group_unlink(), _blendop_masks_handler_callback(), dt_iop_gui_blend_masks_update(), and dt_iop_gui_init_masks().
Definition at line 3807 of file blend_gui.c.
References _blendop_masks_scroll_toggled(), BLENDOP_SCROLL_DATA_INTERACTION, BLENDOP_SCROLL_DATA_ROW, and dt_masks_scroll_mapping_get().
Referenced by _blendop_masks_create_scroll_grid().
|
static |
Definition at line 3794 of file blend_gui.c.
References BLENDOP_SCROLL_DATA_INTERACTION, BLENDOP_SCROLL_DATA_ROW, and dt_masks_scroll_mapping_set().
Referenced by _blendop_masks_create_scroll_grid(), and _blendop_masks_scroll_sync().
|
static |
Definition at line 1276 of file blend_gui.c.
References dt_iop_color_picker_reset(), dt_iop_request_focus(), DT_MASKS_EDIT_FULL, FALSE, IS_NULL_PTR, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_shown, and TRUE.
|
static |
Definition at line 1291 of file blend_gui.c.
References dt_iop_module_gui_t::blend_data, dt_iop_module_t::blend_params, dt_iop_module_t::dev, dt_control_get_global(), dt_control_hinter_message(), dt_gui_freeze_begin, dt_gui_freeze_end, dt_gui_widgets_suppressed(), 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_masks_shape_buttons_deactivate_all(), dt_modifier_is(), DT_PRIMARY_MASK, FALSE, dt_iop_module_t::gui, dt_develop_blend_params_t::mask_id, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_shown, dt_masks_form_t::points, TRUE, and dt_masks_form_t::type.
Referenced by dt_iop_gui_init_masks().
|
static |
Definition at line 4456 of file blend_gui.c.
References _blendop_toggle_button_set_active(), and enabled.
Referenced by dt_iop_gui_update_blending().
Definition at line 4444 of file blend_gui.c.
References DEVELOP_MASK_PARAMETRIC, DEVELOP_MASK_RASTER, DEVELOP_MASK_SHAPE, and enabled.
Referenced by _blendop_sync_toggle_state(), dt_iop_gui_blending_lose_focus(), dt_iop_gui_init_blending_body(), and dt_iop_gui_update_blending().
|
static |
Definition at line 4388 of file blend_gui.c.
References dt_iop_module_gui_t::blend_data, delete_underscore(), dt_free, dt_iop_module_t::gui, IS_NULL_PTR, dt_iop_gui_blend_data_t::top_enable, and TRUE.
Referenced by dt_iop_gui_init_blending_body(), and dt_iop_gui_update_blending().
|
static |
Definition at line 4351 of file blend_gui.c.
References 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_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_body().
|
inlinestatic |
Definition at line 278 of file blend_gui.c.
References dt_iop_gui_blend_data_t::channel, and dt_iop_gui_blendif_channel_t::param_channels.
Referenced by _blendif_scale(), _blendop_blendif_sliders_callback(), and _blendop_blendif_update_tab().
|
static |
Definition at line 4370 of file blend_gui.c.
References notebook, and TRUE.
Referenced by _blendop_create_notebook_page(), and _blendop_create_toggle_page().
Definition at line 4175 of file blend_gui.c.
References dt_iop_module_t::dev, dt_bauhaus_combobox_add_full(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, dt_bauhaus_combobox_clear(), dt_bauhaus_combobox_set(), dt_iop_request_focus(), i, raster_combo_entry_t::id, dt_iop_module_t::id, dt_develop_t::iop, IS_NULL_PTR, key, dt_iop_module_t::masks, dt_iop_module_t::raster_mask, dt_iop_module_t::sink, dt_iop_module_t::source, TRUE, and value.
Referenced by dt_iop_gui_init_raster(), and dt_iop_gui_update_raster().
|
static |
Definition at line 4268 of file blend_gui.c.
References dt_iop_module_t::blend_params, dt_iop_module_t::dev, dt_control_queue_redraw_widget(), dt_dev_add_history_item, dt_gui_widgets_suppressed(), dt_iop_gui_update_header(), dt_develop_blend_params_t::raster_mask_invert, and TRUE.
Referenced by dt_iop_gui_init_raster().
|
static |
Definition at line 4213 of file blend_gui.c.
References dt_iop_module_t::blend_params, dt_iop_module_t::dev, dt_bauhaus_combobox_get_data(), dt_dev_add_history_item, dt_iop_gui_update_header(), 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 |
Definition at line 799 of file blend_gui.c.
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, dt_iop_module_t::dev, DEVELOP_BLEND_CS_RGB_SCENE, dt_free, dt_gui_freeze_begin, dt_gui_freeze_end, 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(), FALSE, dt_iop_gui_blend_data_t::filter, dt_develop_t::iop, dt_iop_gui_blendif_filter_t::picker_label, dt_iop_gui_blend_data_t::picker_set_values_box_valid, dt_iop_gui_blend_data_t::picker_set_values_manual_boost_lock, dt_develop_t::pipe, dt_iop_gui_blendif_filter_t::slider, and dt_iop_gui_blend_data_t::tab.
Referenced by _blendop_blendif_update_tab(), and dt_iop_gui_init_blendif().
| 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 3700 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(), _brush_events_button_released(), _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 4763 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::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 4824 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 4315 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 4834 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 3527 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_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 5169 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::gui, IOP_CS_LAB, IOP_FLAGS_SUPPORTS_BLENDING, dt_iop_gui_blend_data_t::lock, and dt_iop_gui_blend_data_t::masks_support.
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 4929 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::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_init_contours | ( | GtkBox * | blendw, |
| dt_iop_module_t * | module | ||
| ) |
Definition at line 3688 of file blend_gui.c.
References dt_iop_module_gui_t::blend_data, dt_iop_gui_blend_data_t::blur_radius_slider, dt_iop_gui_blend_data_t::brightness_slider, dt_iop_gui_blend_data_t::contrast_slider, dt_iop_gui_blend_data_t::details_slider, FALSE, dt_iop_gui_blend_data_t::feathering_radius_slider, dt_iop_module_t::gui, and dt_iop_gui_blend_data_t::masks_feathering_guide_combo.
Referenced by dt_iop_gui_init_blending_body().
| void dt_iop_gui_init_masks | ( | GtkBox * | blendw, |
| dt_iop_module_t * | module | ||
| ) |
Definition at line 3923 of file blend_gui.c.
References _blendop_masks_all_button_pressed(), _blendop_masks_all_name_edited(), _blendop_masks_all_selection_changed(), _blendop_masks_all_toggled(), _blendop_masks_create_scroll_grid(), _blendop_masks_create_shape_buttons(), _blendop_masks_edit_list_toggle(), _blendop_masks_group_button_pressed(), _blendop_masks_group_name_activate(), _blendop_masks_group_name_focus_out(), _blendop_masks_group_query_tooltip(), _blendop_masks_group_selection_changed(), _blendop_masks_init_icons(), _blendop_masks_polarity_callback(), _blendop_masks_refresh_lists(), _blendop_masks_show_and_edit(), 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, BLENDOP_MASKS_ALL_COL_ACTIVE, BLENDOP_MASKS_ALL_COL_COUNT, BLENDOP_MASKS_ALL_COL_MARKUP, BLENDOP_MASKS_ALL_COL_SENSITIVE, BLENDOP_MASKS_ALL_COL_STATUS_MARKUP, BLENDOP_MASKS_GROUP_COL_COUNT, BLENDOP_MASKS_GROUP_COL_INV_ICON, BLENDOP_MASKS_GROUP_COL_NAME, BLENDOP_MASKS_GROUP_COL_OP_ICON, dt_gui_collapsible_section_t::container, dt_bauhaus_combobox_from_conf(), dt_bauhaus_get_global(), dt_free, dt_gui_add_class(), DT_GUI_BOX_SPACING, DT_GUI_MODULE, dt_gui_new_collapsible_section(), dt_history_item_get_name(), dt_iop_togglebutton_new_no_register(), DT_MASKS_EDIT_OFF, dt_masks_group_name_for_module(), DT_PIXEL_APPLY_DPI, DT_UI_RESIZE_DYNAMIC, dt_ui_scroll_wrap(), dtgtk_cairo_paint_invert(), dtgtk_cairo_paint_masks_edit(), DTGTK_TOGGLEBUTTON, dtgtk_togglebutton_set_paint(), dt_gui_collapsible_section_t::expander, FALSE, 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, dt_iop_gui_blend_data_t::lists_box, dt_iop_gui_blend_data_t::lists_stack, dt_iop_gui_blend_data_t::masks_box, dt_iop_gui_blend_data_t::masks_combo_ids, dt_iop_gui_blend_data_t::masks_cs, dt_iop_gui_blend_data_t::masks_edit, dt_iop_gui_blend_data_t::masks_group_treeview, dt_iop_gui_blend_data_t::masks_inited, dt_iop_gui_blend_data_t::masks_polarity, dt_iop_gui_blend_data_t::masks_shown, dt_iop_gui_blend_data_t::masks_support, dt_iop_gui_blend_data_t::masks_treeview, dt_iop_gui_blend_data_t::scroll_cs, TRUE, and dt_iop_gui_blend_data_t::wire_shape_toggle.
Referenced by dt_iop_gui_init_blending_body().
| void dt_iop_gui_init_raster | ( | GtkBox * | blendw, |
| dt_iop_module_t * | module | ||
| ) |
Definition at line 4281 of file blend_gui.c.
References _raster_combo_populate(), _raster_polarity_callback(), _raster_value_changed_callback(), dt_iop_module_gui_t::blend_data, dt_bauhaus_combobox_add(), dt_bauhaus_combobox_add_populate_fct(), dt_bauhaus_combobox_new(), dt_bauhaus_disable_module_list(), dt_bauhaus_get_global(), dt_bauhaus_set_use_default_callback(), dt_bauhaus_widget_set_label(), dt_gui_add_class(), DT_GUI_BOX_SPACING, DT_GUI_MODULE, dtgtk_cairo_paint_invert(), dtgtk_togglebutton_new(), FALSE, dt_iop_module_t::gui, 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_body().
| void dt_iop_gui_update_blendif | ( | dt_iop_module_t * | module | ) |
Definition at line 3438 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 4466 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_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_color_picker_reset(), dt_iop_gui_blend_masks_update(), dt_iop_gui_update_blendif(), dt_iop_gui_update_raster(), dt_iop_set_cache_bypass(), DT_MASKS_EDIT_OFF, dt_masks_set_edit_mode(), dt_masks_shape_buttons_deactivate_all(), 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::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_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_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().
| void dt_iop_gui_update_raster | ( | dt_iop_module_t * | module | ) |
Definition at line 4256 of file blend_gui.c.
References _raster_combo_populate(), dt_iop_module_gui_t::blend_data, dt_iop_module_t::gui, IS_NULL_PTR, 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().
|
static |
Definition at line 652 of file blend_gui.c.
References GRADIENT_SLIDER_GET, GRADIENT_SLIDER_SET, and M_LN10.
Referenced by _blendop_blendif_disp_alternative_log().
|
static |
Definition at line 673 of file blend_gui.c.
References eps, GRADIENT_SLIDER_GET, and GRADIENT_SLIDER_SET.
Referenced by _blendop_blendif_disp_alternative_mag().
|
static |
Definition at line 3790 of file blend_gui.c.
Referenced by _blendop_masks_create_scroll_grid().
| const dt_iop_gui_blendif_colorstop_t _gradient_a[] |
Definition at line 103 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_b[] |
Definition at line 115 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_blue[] |
Definition at line 148 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_chroma[] |
Definition at line 157 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_gray[] |
Definition at line 125 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_green[] |
Definition at line 140 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_HSL_hue[] |
Definition at line 184 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_JzCzhz_hue[] |
Definition at line 197 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_L[] |
Definition at line 94 of file blend_gui.c.
Referenced by gui_init(), and gui_init().
| const dt_iop_gui_blendif_colorstop_t _gradient_LCh_hue[] |
Definition at line 168 of file blend_gui.c.
| const dt_iop_gui_blendif_colorstop_t _gradient_red[] |
Definition at line 132 of file blend_gui.c.
| const dt_iop_gui_blendif_channel_t Lab_channels[] |
Definition at line 3357 of file blend_gui.c.
Referenced by dt_iop_gui_update_blendif().
| const dt_iop_gui_blendif_channel_t rgb_channels[] |
Definition at line 3377 of file blend_gui.c.
Referenced by dt_iop_gui_update_blendif().
| const dt_iop_gui_blendif_channel_t rgbj_channels[] |
Definition at line 3404 of file blend_gui.c.
Referenced by dt_iop_gui_update_blendif().
| const char* slider_tooltip[] |
Definition at line 3431 of file blend_gui.c.
Referenced by dt_iop_gui_init_blendif().