Ansel 0.0
A darktable fork - bloat + design vision
Loading...
Searching...
No Matches
dt_iop_module_gui_t Struct Reference

The interactive half of a module instance, owned by the GUI. More...

#include <imageop_gui.h>

+ Collaboration diagram for dt_iop_module_gui_t:

Data Fields

dt_iop_gui_data_tgui_data
 
dt_pthread_mutex_t gui_lock
 
gpointer blend_data
 
GtkWidgetwidget
 
GtkWidgetoff
 
GtkWidgetheader
 
GtkWidgetmask_indicator
 
GtkWidgetexpander
 
gboolean expanded
 
GtkWidgetreset_button
 
GtkWidgetpresets_button
 
GtkWidgetfusion_slider
 
GtkWidgetguides_toggle
 
GtkWidgetguides_combo
 
gboolean multi_show_close
 
gboolean multi_show_up
 
gboolean multi_show_down
 
gboolean multi_show_new
 
GtkWidgetmultimenu_button
 
guint timeout_handle
 

Detailed Description

The interactive half of a module instance, owned by the GUI.

Held by dt_iop_module_t as an opaque pointer: allocated in dt_iop_gui_init(), freed in dt_iop_gui_cleanup_module(), NULL whenever no GUI is attached to the module (export, thumbnails, ansel-cli, tests). Member names are unchanged from their previous life directly on dt_iop_module_t: call sites read module->gui->widget where they read module->widget before.

Definition at line 39 of file imageop_gui.h.

Field Documentation

◆ blend_data

◆ expanded

gboolean dt_iop_module_gui_t::expanded

◆ expander

GtkWidget* dt_iop_module_gui_t::expander

expander containing the widget and flag to store expanded state

Definition at line 57 of file imageop_gui.h.

Referenced by _update_iop_visibility(), area_draw(), dt_iop_gui_duplicate(), and dt_iop_zonesystem_preview_draw().

◆ fusion_slider

GtkWidget* dt_iop_module_gui_t::fusion_slider

fusion slider

Definition at line 64 of file imageop_gui.h.

◆ gui_data

dt_iop_gui_data_t* dt_iop_module_gui_t::gui_data

parameters needed if a gui is attached. will be NULL if in export/batch mode.

Definition at line 42 of file imageop_gui.h.

Referenced by gui_changed(), gui_cleanup(), gui_init(), and gui_update().

◆ gui_lock

dt_pthread_mutex_t dt_iop_module_gui_t::gui_lock

Definition at line 43 of file imageop_gui.h.

◆ guides_combo

GtkWidget* dt_iop_module_gui_t::guides_combo

Definition at line 67 of file imageop_gui.h.

◆ guides_toggle

GtkWidget* dt_iop_module_gui_t::guides_toggle

show/hide guide button and combobox

Definition at line 66 of file imageop_gui.h.

◆ header

GtkWidget* dt_iop_module_gui_t::header

this is the module header, contains label and buttons

Definition at line 53 of file imageop_gui.h.

Referenced by _update_iop_visibility().

◆ mask_indicator

GtkWidget* dt_iop_module_gui_t::mask_indicator

this is the module mask indicator, inside header

Definition at line 55 of file imageop_gui.h.

◆ multi_show_close

gboolean dt_iop_module_gui_t::multi_show_close

Definition at line 68 of file imageop_gui.h.

◆ multi_show_down

gboolean dt_iop_module_gui_t::multi_show_down

Definition at line 70 of file imageop_gui.h.

◆ multi_show_new

gboolean dt_iop_module_gui_t::multi_show_new

Definition at line 71 of file imageop_gui.h.

◆ multi_show_up

gboolean dt_iop_module_gui_t::multi_show_up

Definition at line 69 of file imageop_gui.h.

◆ multimenu_button

GtkWidget* dt_iop_module_gui_t::multimenu_button

Definition at line 72 of file imageop_gui.h.

◆ off

GtkWidget* dt_iop_module_gui_t::off

off button, somewhere in header, common to all plug-ins. A GtkDarktableToggleButton underneath; declared as the base type so this header does not feed widgets/ to all ~122 of its consumers — every external user already casts via GTK_TOGGLE_BUTTON().

Definition at line 51 of file imageop_gui.h.

Referenced by __attribute__(), _add_shape(), _auto_levels_callback(), _auto_levels_callback(), _select_region_toggled_callback(), _select_region_toggled_callback(), button_pressed(), mask_callback(), preset_tune_callback(), rt_auto_levels_callback(), rt_display_wavelet_scale_callback(), rt_shape_buttons_can_start(), scrolled(), show_luminance_mask_callback(), show_mask_callback(), and start_profiling_callback().

◆ presets_button

GtkWidget* dt_iop_module_gui_t::presets_button

show preset menu button

Definition at line 62 of file imageop_gui.h.

◆ reset_button

GtkWidget* dt_iop_module_gui_t::reset_button

reset parameters button

Definition at line 60 of file imageop_gui.h.

Referenced by gui_init().

◆ timeout_handle

guint dt_iop_module_gui_t::timeout_handle

delayed-event handling

Definition at line 74 of file imageop_gui.h.

Referenced by gui_init(), and gui_init().

◆ widget

GtkWidget* dt_iop_module_gui_t::widget

child widget which is added to the GtkExpander. copied from module_so_t.

Definition at line 47 of file imageop_gui.h.

Referenced by _area_button_press_callback(), _area_button_press_callback(), _area_button_press_callback(), _bottom_area_button_press_callback(), _channel_tabs_switch_callback(), _delete_node(), _tab_switch_callback(), apply_auto_black(), apply_auto_black(), apply_auto_black(), apply_auto_Dmax(), apply_auto_Dmin(), apply_auto_exposure(), apply_auto_grey(), apply_auto_grey(), apply_auto_offset(), apply_auto_WB_high(), apply_auto_WB_low(), apply_auto_white_point_source(), apply_auto_white_point_source(), apply_autotune(), apply_autotune(), area_button_press(), area_button_press(), balance_callback(), black_point_source_callback(), black_point_target_callback(), color_picker_apply(), contrast_callback(), denoiseprofile_button_press(), denoiseprofile_tab_switch(), dt_bauhaus_combobox_from_params(), dt_bauhaus_slider_from_params(), dt_bauhaus_toggle_from_params(), dt_iop_basecurve_button_press(), dt_iop_colorcorrection_leave_notify(), dt_iop_colorcorrection_motion_notify(), dt_iop_levels_button_press(), dt_iop_monochrome_button_press(), dt_iop_monochrome_leave_notify(), dt_iop_monochrome_motion_notify(), dt_iop_tonecurve_button_press(), dt_iop_zonesystem_bar_motion_notify(), grey_point_source_callback(), grey_point_target_callback(), gui_changed(), gui_init(), gui_init(), gui_init_section(), gui_post_expose(), gui_reset(), gui_update(), gui_update(), interpolator_callback(), latitude_stops_callback(), lowlight_button_press(), mix_callback(), output_power_callback(), rawdenoise_button_press(), rawdenoise_tab_switch(), security_threshold_callback(), tab_switch(), tab_switch(), tab_switch_callback(), Wb_high_norm_callback(), Wb_low_norm_callback(), white_point_source_callback(), and white_point_target_callback().


The documentation for this struct was generated from the following file: