![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
The blending panel's GUI state and API, cut out of develop/blend.h. More...
#include "develop/blend.h"#include "develop/imageop.h"#include "gui/color_picker_proxy.h"#include "widgets/collapsible_section.h"#include "widgets/gradientslider.h"#include <gtk/gtk.h>
Include dependency graph for blend_gui.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_iop_gui_blendif_colorstop_t |
| struct | dt_iop_gui_blendif_channel_t |
| struct | dt_iop_gui_blendif_filter_t |
| struct | dt_iop_gui_blend_data_t |
The blending panel's GUI state and API, cut out of develop/blend.h.
dt_iop_gui_blend_data_t (~60 widget fields) and the dt_iop_gui_*_blending() functions were the only reason blend.h fed widgets/gradientslider.h, widgets/collapsible_section.h and gui/color_picker_proxy.h to all of its consumers – most of which only wanted the persisted params vocabulary or the pixel entry points. Implementations live in develop/blend_gui.c.
Definition in file blend_gui.h.
blend gui data
| gboolean blend_color_picker_apply | ( | dt_iop_module_t * | module, |
| GtkWidget * | picker, | ||
| dt_dev_pixelpipe_t * | pipe, | ||
| dt_dev_pixelpipe_iop_t * | piece | ||
| ) |
Referenced by _iop_color_picker_data_ready_callback().
| void dt_iop_gui_blending_lose_focus | ( | dt_iop_module_t * | module | ) |
Definition at line 4609 of file blend_gui.c.
References _blendop_blendif_sync_channel_display_buttons(), _blendop_toggle_button_set_active(), 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, IOP_FLAGS_SUPPORTS_BLENDING, IS_NULL_PTR, and L.
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 4670 of file blend_gui.c.
References FALSE, IS_NULL_PTR, L, 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 4170 of file blend_gui.c.
References _blendop_masks_handler_callback(), dt_control_signal_get_global(), DT_DEBUG_CONTROL_SIGNAL_DISCONNECT, dt_free, dt_iop_gui_cleanup_blending_body(), dt_pthread_mutex_destroy(), dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), IS_NULL_PTR, and L.
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 4680 of file blend_gui.c.
References DEVELOP_BLEND_CS_NONE, dt_free, dt_pthread_mutex_lock(), dt_pthread_mutex_unlock(), FALSE, IS_NULL_PTR, and L.
Referenced by _lib_masks_release_blending(), 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 3541 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(), 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, k, L, slider_tooltip, and TRUE.
Referenced by dt_iop_gui_init_blending_body().
| void dt_iop_gui_init_blending | ( | dt_iop_module_t * | module | ) |
Definition at line 5011 of file blend_gui.c.
References _blendop_masks_handler_callback(), 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, IOP_CS_LAB, IOP_FLAGS_SUPPORTS_BLENDING, and L.
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 4775 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(), BLEND_MASKMODE_CONF_KEY, container(), 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, IOP_FLAGS_SUPPORTS_BLENDING, IS_NULL_PTR, L, and TRUE.
Referenced by _lib_masks_blending_gui_changed_callback().
| void dt_iop_gui_update_blendif | ( | dt_iop_module_t * | module | ) |
Definition at line 3452 of file blend_gui.c.
References _blendop_blendif_update_tab(), ch, 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, IS_NULL_PTR, L, Lab_channels, rgb_channels, rgbj_channels, 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 4321 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(), 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_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(), dt_masks_shape_buttons_deactivate_all(), FALSE, IOP_CS_RAW, IOP_FLAGS_SUPPORTS_BLENDING, IS_NULL_PTR, L, and TRUE.
Referenced by _blendop_blendif_invert(), _blendop_masks_mode_callback(), _lib_masks_blending_gui_changed_callback(), dt_iop_gui_duplicate(), and dt_iop_gui_update().