Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
blend_gui.h
Go to the documentation of this file.
1/*
2 This file is part of darktable,
3 Copyright (C) 2011-2021 the darktable developers.
4 Copyright (C) 2026 Aurélien PIERRE.
5
6 darktable is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
10
11 darktable is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with darktable. If not, see <http://www.gnu.org/licenses/>.
18*/
19
31#ifndef DT_DEVELOP_BLEND_GUI_H
32#define DT_DEVELOP_BLEND_GUI_H
33
34#include "develop/blend.h"
35#include "develop/imageop.h"
39
40#include <gtk/gtk.h>
41
42#ifdef __cplusplus
43extern "C" {
44#endif
45
51
67
79
80
83{
89
91 dt_iop_module_t *module;
92
103 GtkBox *blendif_box;
104 GtkBox *masks_box;
105 GtkBox *raster_box;
106
122
125
127 int tab;
128 int altmode[8][2];
133
136
166
167
170
174
176 dt_pthread_mutex_t lock;
178
189
192
193#ifdef __cplusplus
194}
195#endif
196
197#endif // DT_DEVELOP_BLEND_GUI_H
198
199// clang-format off
200// modelines: These editor modelines have been set for all relevant files by tools/update_modelines.py
201// vim: shiftwidth=2 expandtab tabstop=2 cindent
202// kate: tab-indents: off; indent-width 2; replace-tabs on; indent-mode cstyle; remove-trailing-spaces modified;
203// clang-format on
uint32_t container(dt_lib_module_t *self)
dt_develop_blend_colorspace_t
Definition blend.h:53
dt_develop_blendif_channels_t
Definition blend.h:142
gboolean blend_color_picker_apply(dt_iop_module_t *module, GtkWidget *picker, dt_dev_pixelpipe_t *pipe, dt_dev_pixelpipe_iop_t *piece)
void dt_iop_gui_init_blending(dt_iop_module_t *module)
Definition blend_gui.c:5011
void dt_iop_gui_init_blendif(GtkBox *blendw, dt_iop_module_t *module, GtkWidget *header)
Definition blend_gui.c:3541
void dt_iop_gui_init_blending_body(GtkWidget *container, dt_iop_module_t *module)
Definition blend_gui.c:4775
void dt_iop_gui_update_blending(dt_iop_module_t *module)
Definition blend_gui.c:4321
void dt_iop_gui_blending_lose_focus(dt_iop_module_t *module)
Definition blend_gui.c:4609
void dt_iop_gui_cleanup_blending_body(dt_iop_module_t *module)
Definition blend_gui.c:4680
void dt_iop_gui_cleanup_blending(dt_iop_module_t *module)
Definition blend_gui.c:4170
void dt_iop_gui_blending_reload_defaults(dt_iop_module_t *module)
Definition blend_gui.c:4670
void dt_iop_gui_update_blendif(dt_iop_module_t *module)
Definition blend_gui.c:3452
typedef void((*dt_cache_allocate_t)(void *userdata, dt_cache_entry_t *entry))
struct _GtkWidget GtkWidget
GtkWidget, opaque, spelled exactly as GTK spells it.
Definition colorspaces.h:98
dt_dev_pixelpipe_display_mask_t
Definition develop.h:121
float dt_boundingbox_t[4]
Definition image.h:82
#define DEVELOP_MASKS_NB_SHAPES
Definition masks.h:484
static const dt_aligned_pixel_simd_t value
Definition simd.h:144
GtkWidget * raster_enable
Definition blend_gui.h:97
GtkWidget * blendif_enable
Definition blend_gui.h:98
GtkWidget * masks_content
Definition blend_gui.h:99
GtkWidget * masks_treeview
Definition blend_gui.h:146
GtkWidget * channel_boost_factor_slider
Definition blend_gui.h:134
GtkWidget * opacity_slider
Definition blend_gui.h:116
GtkWidget * raster_polarity
Definition blend_gui.h:169
GtkWidget * all_shapes_sw
Definition blend_gui.h:156
GtkWidget * blur_radius_slider
Definition blend_gui.h:119
GdkPixbuf * masks_ic_intersection
Definition blend_gui.h:160
GtkWidget * feathering_radius_slider
Definition blend_gui.h:118
GtkWidget * details_slider
Definition blend_gui.h:135
dt_iop_gui_blendif_filter_t filter[2]
Definition blend_gui.h:109
GtkWidget * all_shapes_buttons
Definition blend_gui.h:163
GtkWidget * colorpicker
Definition blend_gui.h:107
GtkWidget * colorpicker_set_values
Definition blend_gui.h:108
GdkPixbuf * masks_ic_union
Definition blend_gui.h:159
GdkPixbuf * masks_ic_inverse
Definition blend_gui.h:158
GtkWidget * masks_group_treeview
Definition blend_gui.h:147
GtkWidget * masks_combo
Definition blend_gui.h:137
int masks_type[DEVELOP_MASKS_NB_SHAPES]
Definition blend_gui.h:139
GdkPixbuf * masks_ic_difference
Definition blend_gui.h:161
GtkTreeViewColumn * group_shapes_col
Definition blend_gui.h:149
GtkWidget * lists_stack
Definition blend_gui.h:157
dt_boundingbox_t picker_set_values_box
Definition blend_gui.h:172
GtkWidget * contrast_slider
Definition blend_gui.h:120
GtkWidget * blend_modes_blend_order
Definition blend_gui.h:113
GtkWidget * masks_combine_combo
Definition blend_gui.h:111
dt_develop_blend_colorspace_t channel_tabs_csp
Definition blend_gui.h:124
gboolean picker_set_values_manual_boost_lock
Definition blend_gui.h:173
GtkWidget * blend_mode_parameter_slider
Definition blend_gui.h:114
GtkWidget * group_shapes_label
Definition blend_gui.h:141
GtkWidget * masks_feathering_guide_combo
Definition blend_gui.h:117
const dt_iop_gui_blendif_channel_t * channel
Definition blend_gui.h:126
dt_pthread_mutex_t lock
Definition blend_gui.h:176
GtkWidget * brightness_slider
Definition blend_gui.h:121
GtkWidget * masks_shapes[DEVELOP_MASKS_NB_SHAPES]
Definition blend_gui.h:138
GtkWidget * raster_content
Definition blend_gui.h:100
GtkWidget * blend_modes_combo
Definition blend_gui.h:112
GtkWidget * contours_content
Definition blend_gui.h:102
dt_develop_blend_colorspace_t csp
Definition blend_gui.h:90
dt_iop_module_t *GtkWidget * blending_box
Definition blend_gui.h:93
GtkTreeViewColumn * group_delete_col
Definition blend_gui.h:151
GtkWidget * group_shapes_sw
Definition blend_gui.h:153
dt_gui_collapsible_section_t masks_cs
Definition blend_gui.h:165
GtkWidget * blending_notebook
Definition blend_gui.h:94
GtkWidget * blendif_content
Definition blend_gui.h:101
GtkWidget * masks_invert_combo
Definition blend_gui.h:115
gboolean output_channels_shown
Definition blend_gui.h:132
GdkPixbuf * masks_ic_exclusion
Definition blend_gui.h:162
GtkWidget * raster_combo
Definition blend_gui.h:168
GtkListStore * all_shapes_store
Definition blend_gui.h:152
GtkWidget * masks_polarity
Definition blend_gui.h:142
GtkTreeViewColumn * all_shapes_col
Definition blend_gui.h:154
GtkWidget * top_enable
Definition blend_gui.h:95
GtkWidget * masks_enable
Definition blend_gui.h:96
GtkTreeStore * group_shapes_store
Definition blend_gui.h:148
dt_dev_pixelpipe_display_mask_t save_for_leave
Definition blend_gui.h:129
GtkWidget * wire_shape_toggle
Definition blend_gui.h:143
GtkTreeViewColumn * all_shapes_delete_col
Definition blend_gui.h:155
GtkNotebook * channel_tabs
Definition blend_gui.h:131
gboolean picker_set_values_box_valid
Definition blend_gui.h:171
dt_develop_blend_colorspace_t blend_modes_csp
Definition blend_gui.h:123
GtkTreeViewColumn * group_unlink_col
Definition blend_gui.h:150
const dt_iop_gui_blendif_colorstop_t * colorstops
Definition blend_gui.h:58
void(* scale_print)(float value, float boost_factor, char *string, int n)
Definition blend_gui.h:63
int(* altdisplay)(GtkWidget *, dt_iop_module_t *, int)
Definition blend_gui.h:64
dt_develop_blendif_channels_t param_channels[2]
Definition blend_gui.h:61
dt_dev_pixelpipe_display_mask_t display_channel
Definition blend_gui.h:62
GtkDarktableGradientSlider * slider
Definition blend_gui.h:70