Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
blend_gui.h File Reference

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
 

Typedefs

typedef struct dt_iop_gui_blendif_colorstop_t dt_iop_gui_blendif_colorstop_t
 
typedef struct dt_iop_gui_blendif_channel_t dt_iop_gui_blendif_channel_t
 
typedef struct dt_iop_gui_blendif_filter_t dt_iop_gui_blendif_filter_t
 
typedef struct dt_iop_gui_blend_data_t dt_iop_gui_blend_data_t
 

Functions

void dt_iop_gui_init_blendif (GtkBox *blendw, dt_iop_module_t *module, GtkWidget *header)
 
void dt_iop_gui_init_blending (dt_iop_module_t *module)
 
void dt_iop_gui_init_blending_body (GtkWidget *container, dt_iop_module_t *module)
 
void dt_iop_gui_update_blending (dt_iop_module_t *module)
 
void dt_iop_gui_update_blendif (dt_iop_module_t *module)
 
void dt_iop_gui_cleanup_blending_body (dt_iop_module_t *module)
 
void dt_iop_gui_cleanup_blending (dt_iop_module_t *module)
 
void dt_iop_gui_blending_lose_focus (dt_iop_module_t *module)
 
void dt_iop_gui_blending_reload_defaults (dt_iop_module_t *module)
 
gboolean blend_color_picker_apply (dt_iop_module_t *module, GtkWidget *picker, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece)
 

Detailed Description

The blending panel's GUI state and API, cut out of develop/blend.h.

dt_iop_gui_blend_data_t (~60 widget fields) and the dt_iop_gui_*_blending() functions were the only reason blend.h fed widgets/gradientslider.h, widgets/collapsible_section.h and gui/color_picker_proxy.h to all of its consumers – most of which only wanted the persisted params vocabulary or the pixel entry points. Implementations live in develop/blend_gui.c.

Definition in file blend_gui.h.

Typedef Documentation

◆ dt_iop_gui_blend_data_t

◆ dt_iop_gui_blendif_channel_t

◆ dt_iop_gui_blendif_colorstop_t

◆ dt_iop_gui_blendif_filter_t

Function Documentation

◆ blend_color_picker_apply()

gboolean blend_color_picker_apply ( dt_iop_module_t module,
GtkWidget picker,
dt_dev_pixelpipe_t pipe,
dt_dev_pixelpipe_iop_t piece 
)

◆ dt_iop_gui_blending_lose_focus()

◆ dt_iop_gui_blending_reload_defaults()

void dt_iop_gui_blending_reload_defaults ( dt_iop_module_t module)

◆ dt_iop_gui_cleanup_blending()

◆ dt_iop_gui_cleanup_blending_body()

void dt_iop_gui_cleanup_blending_body ( dt_iop_module_t module)

◆ dt_iop_gui_init_blendif()

◆ dt_iop_gui_init_blending()

◆ dt_iop_gui_init_blending_body()

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().

◆ dt_iop_gui_update_blendif()

◆ 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().