![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include "metadata/colorlabels.h"#include "common/gui_module_api.h"#include "common/introspection.h"#include "widgets/widget_settings.h"#include <assert.h>#include <gdk/gdkkeysyms.h>#include <gtk/gtk.h>#include <inttypes.h>#include <math.h>#include <stdlib.h>#include <string.h>
Include dependency graph for bauhaus.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | dt_bauhaus_slider_data_t |
| struct | dt_bauhaus_combobox_entry_t |
| struct | dt_bauhaus_combobox_data_t |
| union | dt_bauhaus_data_t |
| struct | dt_bauhaus_widget_t |
| struct | dt_bauhaus_widget_class_t |
| struct | dt_bauhaus_t |
Typedefs | |
| typedef struct dt_bauhaus_t | dt_bauhaus_t |
| typedef enum dt_bauhaus_type_t | dt_bauhaus_type_t |
| typedef enum dt_bauhaus_curve_t | dt_bauhaus_curve_t |
| typedef struct dt_bauhaus_slider_data_t | dt_bauhaus_slider_data_t |
| typedef enum dt_bauhaus_combobox_alignment_t | dt_bauhaus_combobox_alignment_t |
| typedef struct dt_bauhaus_combobox_entry_t | dt_bauhaus_combobox_entry_t |
| typedef struct dt_bauhaus_combobox_data_t | dt_bauhaus_combobox_data_t |
| typedef union dt_bauhaus_data_t | dt_bauhaus_data_t |
| typedef struct dt_bauhaus_widget_t | DtBauhausWidget |
| typedef struct dt_bauhaus_widget_class_t | DtBauhausWidgetClass |
| typedef void(* | dt_bauhaus_quad_paint_f) (cairo_t *cr, gint x, gint y, gint w, gint h, gint flags, void *data) |
| typedef struct dt_bauhaus_widget_t | dt_bauhaus_widget_t |
| typedef struct dt_bauhaus_widget_class_t | dt_bauhaus_widget_class_t |
Enumerations | |
| enum | dt_bauhaus_type_t { DT_BAUHAUS_SLIDER = 1 , DT_BAUHAUS_COMBOBOX = 2 } |
| enum | dt_bauhaus_curve_t { DT_BAUHAUS_SET = 1 , DT_BAUHAUS_GET = 2 } |
| enum | dt_bauhaus_combobox_alignment_t { DT_BAUHAUS_COMBOBOX_ALIGN_LEFT = 0 , DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT = 1 } |
| enum | { DT_BAUHAUS_VALUE_CHANGED_SIGNAL , DT_BAUHAUS_QUAD_PRESSED_SIGNAL , DT_BAUHAUS_LAST_SIGNAL } |
| #define DT_BAUHAUS_COMBO_SEPARATOR_DEFAULT_HEIGHT_FACTOR 0.6f |
| #define DT_BAUHAUS_COMBOBOX_NEW_FULL | ( | bauhaus, | |
| widget, | |||
| action, | |||
| label, | |||
| tip, | |||
| pos, | |||
| callback, | |||
| data, | |||
| ... | |||
| ) |
| #define DT_BAUHAUS_WIDGET | ( | obj | ) | G_TYPE_CHECK_INSTANCE_CAST((obj), DT_BAUHAUS_WIDGET_TYPE, DtBauhausWidget) |
| #define DT_BAUHAUS_WIDGET_CLASS | ( | obj | ) | G_TYPE_CHECK_CLASS_CAST((obj), DT_BAUHAUS_WIDGET, DtBauhausWidgetClass) |
| #define DT_BAUHAUS_WIDGET_GET_CLASS G_TYPE_INSTANCE_GET_CLASS((obj), DT_BAUHAUS_WIDGET_TYPE, DtBauhausWidgetClass) |
| #define DT_BAUHAUS_WIDGET_TYPE dt_bh_get_type() |
| #define DT_IS_BAUHAUS_WIDGET | ( | obj | ) | G_TYPE_CHECK_INSTANCE_TYPE((obj), DT_BAUHAUS_WIDGET_TYPE) |
| #define DT_IS_BAUHAUS_WIDGET_CLASS | ( | obj | ) | G_TYPE_CHECK_CLASS_TYPE((obj), DT_BAUHAUS_WIDGET_TYPE) |
| #define INTERNAL_PADDING DT_GUI_BOX_SPACING |
| typedef struct dt_bauhaus_combobox_data_t dt_bauhaus_combobox_data_t |
| typedef struct dt_bauhaus_combobox_entry_t dt_bauhaus_combobox_entry_t |
| typedef enum dt_bauhaus_curve_t dt_bauhaus_curve_t |
| typedef union dt_bauhaus_data_t dt_bauhaus_data_t |
| typedef struct dt_bauhaus_slider_data_t dt_bauhaus_slider_data_t |
| typedef struct dt_bauhaus_t dt_bauhaus_t |
| typedef enum dt_bauhaus_type_t dt_bauhaus_type_t |
| typedef struct dt_bauhaus_widget_class_t dt_bauhaus_widget_class_t |
| typedef struct dt_bauhaus_widget_t dt_bauhaus_widget_t |
| typedef struct dt_bauhaus_widget_t DtBauhausWidget |
| typedef struct dt_bauhaus_widget_class_t DtBauhausWidgetClass |
| anonymous enum |
| enum dt_bauhaus_curve_t |
| enum dt_bauhaus_type_t |
| void dt_bauhaus_cleanup | ( | dt_bauhaus_t * | bauhaus | ) |
Definition at line 1349 of file bauhaus.c.
Referenced by dt_cleanup().
Definition at line 1824 of file bauhaus.c.
References dt_bauhaus_combobox_add_full(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, and TRUE.
Referenced by _build_rawoverexposed_popover(), _build_softproof_gamut_popover(), _colorchecker_rebuild_patch_list(), _custom_model_populate(), _lens_rebuild_axis_row(), _lib_export_styles_changed_callback(), _new_printer_callback(), _on_storage_list_changed(), _populate_layer_list(), _presets_show_edit_dialog(), _set_paper_size(), _set_printer(), _update_formats_combobox(), dt_bauhaus_combobox_from_params(), dt_guides_add_guide(), dt_iop_gui_blend_masks_update(), dt_iop_gui_init_raster(), dt_lut_viewer_new(), dt_masks_iop_combo_populate(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init_aspect(), gui_init_positions(), gui_update(), gui_update(), keystone_type_populate(), lens_set(), load_watermarks(), update_colorchecker_color_list(), update_colorchecker_list(), update_filepath_combobox(), and update_profile_list().
| void dt_bauhaus_combobox_add_aligned | ( | GtkWidget * | widget, |
| const char * | text, | ||
| dt_bauhaus_combobox_alignment_t | align | ||
| ) |
Definition at line 1841 of file bauhaus.c.
References dt_bauhaus_combobox_add_full(), and TRUE.
| void dt_bauhaus_combobox_add_full | ( | GtkWidget * | widget, |
| const char * | text, | ||
| dt_bauhaus_combobox_alignment_t | align, | ||
| gpointer | data, | ||
| void(*)(void *data) | free_func, | ||
| gboolean | sensitive | ||
| ) |
Definition at line 1818 of file bauhaus.c.
References dt_bauhaus_combobox_add_full(), DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, and TRUE.
Referenced by dt_bauhaus_combobox_new_full().
| void dt_bauhaus_combobox_add_populate_fct | ( | GtkWidget * | widget, |
| void(*)(GtkWidget *w, void *module) | fct | ||
| ) |
Definition at line 1810 of file bauhaus.c.
References DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_WIDGET, and IS_NULL_PTR.
Referenced by dt_iop_gui_init_raster().
Definition at line 1858 of file bauhaus.c.
References DT_BAUHAUS_COMBO_SEPARATOR_DEFAULT_HEIGHT_FACTOR, and dt_bauhaus_combobox_add_separator_with_height().
Referenced by update_colorchecker_list(), and update_profile_list().
Definition at line 1863 of file bauhaus.c.
References dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_WIDGET, IS_NULL_PTR, new_combobox_separator(), and dt_bauhaus_widget_t::type.
Referenced by dt_bauhaus_combobox_add_separator().
| void dt_bauhaus_combobox_add_with_tooltip | ( | GtkWidget * | widget, |
| const char * | text, | ||
| const char * | tooltip | ||
| ) |
Definition at line 1829 of file bauhaus.c.
References dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, DT_BAUHAUS_WIDGET, IS_NULL_PTR, new_combobox_entry(), tooltip, TRUE, and dt_bauhaus_widget_t::type.
Referenced by update_profile_list().
Definition at line 1997 of file bauhaus.c.
References dt_bauhaus_combobox_data_t::active, dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_WIDGET, IS_NULL_PTR, and dt_bauhaus_widget_t::type.
Referenced by _colorchecker_rebuild_patch_list(), _combo_as_collections(), _combo_as_full(), _combo_as_view_toggle(), _custom_model_populate(), _lens_rebuild_axis_row(), _lib_export_styles_changed_callback(), _on_storage_list_changed(), _raster_combo_populate(), _set_printer(), _update_formats_combobox(), dt_iop_gui_blend_masks_update(), dt_iop_gui_update_blending(), gui_update(), gui_update(), keystone_type_populate(), refresh_watermarks(), update_colorchecker_color_list(), update_colorchecker_list(), update_filepath_combobox(), and update_profile_list().
Definition at line 2143 of file bauhaus.c.
References _combobox_data(), _combobox_public_to_entry_pos(), d, FALSE, and dt_bauhaus_combobox_entry_t::sensitive.
| void dt_bauhaus_combobox_from_widget | ( | dt_bauhaus_t * | bh, |
| dt_bauhaus_widget_t * | widget, | ||
| dt_gui_module_t * | self | ||
| ) |
Definition at line 1720 of file bauhaus.c.
References _bauhaus_widget_init(), dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, dt_bauhaus_combobox_button_press(), dt_gui_add_class(), dt_bauhaus_combobox_data_t::entries, free_combobox_entry(), and dt_bauhaus_widget_t::type.
Referenced by dt_bauhaus_combobox_new().
| int dt_bauhaus_combobox_get | ( | GtkWidget * | w | ) |
Definition at line 2136 of file bauhaus.c.
References _combobox_data(), _combobox_entry_pos_to_public(), and d.
Referenced by _attach_selected_layer_clicked(), _attached_view_combo_changed(), _auto_set_exposure(), _auto_set_illuminant(), _callback_bool(), _channelmixerrgb_mixer_mode_callback(), _checker_label_from_combobox(), _color_mode_changed(), _colorchecker_rebuild_patch_list(), _custom_model_callback(), _darkroom_change_mask_rasterization(), _darkroom_change_rendering_size(), _dimensions_type_changed(), _draw_callback(), _edit_preset_response(), _event_aspect_presets_changed(), _intent_callback(), _intent_changed(), _interpolator_callback(), _layer_selected(), _lens_axis_source_changed(), _mixer_mode_callback(), _orientation_changed(), _overexposed_colorscheme_callback(), _overexposed_mode_callback(), _printer_intent_callback(), _printer_profile_changed(), _profile_changed(), _profile_changed(), _rawoverexposed_colorscheme_callback(), _rawoverexposed_mode_callback(), _render_surface(), _settings_colors_changed(), _settings_flip_changed(), _settings_flip_update(), _settings_guides_changed(), _settings_update_visibility(), _size_in_px_update(), _size_update_display(), _softproof_profile_callback(), _sort_by_changed(), _sort_combo_changed(), _spot_settings_changed_callback(), _spot_settings_changed_callback(), _statistic_changed(), _style_callback(), _style_changed(), _sync_params_from_gui(), _unit_changed(), _update_point_gui(), ask_user_confirmation(), aspect_changed(), aspect_presets_changed(), bit_depth_changed(), bit_depth_changed(), blue_callback(), bpp_combobox_changed(), bpp_combobox_changed(), bpp_toggle_callback(), btn_toggled(), color_mode_changed(), compress_combobox_changed(), compression_changed(), compression_combobox_changed(), compression_toggle_callback(), compression_type_changed(), cropmode_callback(), dt_masks_iop_value_changed_callback(), fitting_option_changed(), format_changed(), get_params(), green_callback(), gui_changed(), gui_reset(), gui_reset(), gui_update(), hint_combobox_changed(), hvflip_callback(), icc_toggle_callback(), interpolator_callback(), interpolator_callback(), interpolator_callback(), keystone_type_changed(), mode_callback(), mode_toggle_callback(), onsave_action_toggle_callback(), optimize_changed_callback(), orientation_toggle_callback(), output_callback(), pages_toggle_callback(), patch_callback(), pixels2print(), position_h_changed(), position_v_changed(), preset_changed(), preset_tune_callback(), print2pixels(), profile_callback(), profile_changed(), red_callback(), rotate_toggle_callback(), set_format_by_name(), set_visible_widgets(), shortfile_combobox_changed(), size_toggle_callback(), target_callback(), target_geometry_changed(), tiling_changed(), watermark_callback(), and workicc_changed().
| gpointer dt_bauhaus_combobox_get_data | ( | GtkWidget * | widget | ) |
Definition at line 1987 of file bauhaus.c.
References _combobox_data(), d, dt_bauhaus_combobox_entry_t::data, IS_NULL_PTR, and dt_bauhaus_combobox_entry_t::is_separator.
Referenced by _blendop_blend_mode_callback(), _blendop_compositing_changed(), _blendop_masks_combine_callback(), _combo_get_active_collection(), _combobox_conf_value_changed(), and _raster_value_changed_callback().
| int dt_bauhaus_combobox_get_editable | ( | GtkWidget * | w | ) |
Definition at line 1893 of file bauhaus.c.
References _combobox_data(), and d.
| const char * dt_bauhaus_combobox_get_entry | ( | GtkWidget * | w, |
| int | pos | ||
| ) |
Definition at line 2007 of file bauhaus.c.
References _combobox_data(), _combobox_public_to_entry_pos(), d, FALSE, and dt_bauhaus_combobox_entry_t::label.
Referenced by _checker_label_from_combobox(), _set_paper_size(), and color_list_visibility().
| const char * dt_bauhaus_combobox_get_text | ( | GtkWidget * | w | ) |
Definition at line 1970 of file bauhaus.c.
References _combobox_data(), d, IS_NULL_PTR, dt_bauhaus_combobox_entry_t::is_separator, and dt_bauhaus_combobox_entry_t::label.
Referenced by _aspect_ratio_get(), _attach_selected_layer_clicked(), _custom_model_callback(), _event_aspect_presets_changed(), _format_changed(), _layer_selected(), _media_changed(), _menuitem_preferences(), _paper_changed(), _printer_changed(), _ratio_get_aspect(), _set_printer(), _softproof_profile_callback(), _storage_changed(), _style_callback(), _style_changed(), aspect_changed(), aspect_presets_changed(), button_clicked(), filepath_callback(), get_params(), lens_comboentry_aperture_update(), lens_comboentry_distance_update(), lens_comboentry_focal_update(), position_h_changed(), position_v_changed(), and size_toggle_callback().
Definition at line 1926 of file bauhaus.c.
References DT_BAUHAUS_COMBOBOX_ALIGN_RIGHT, and dt_bauhaus_combobox_insert_full().
| void dt_bauhaus_combobox_insert_full | ( | GtkWidget * | widget, |
| const char * | text, | ||
| dt_bauhaus_combobox_alignment_t | align, | ||
| gpointer | data, | ||
| void(*)(void *data) | free_func, | ||
| int | pos | ||
| ) |
Definition at line 1946 of file bauhaus.c.
References DT_BAUHAUS_COMBO_SEPARATOR_DEFAULT_HEIGHT_FACTOR, and dt_bauhaus_combobox_insert_separator_with_height().
| void dt_bauhaus_combobox_insert_separator_with_height | ( | GtkWidget * | widget, |
| int | pos, | ||
| float | row_height_factor | ||
| ) |
Definition at line 1951 of file bauhaus.c.
References _combobox_public_to_entry_pos(), dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_WIDGET, IS_NULL_PTR, new_combobox_separator(), TRUE, and dt_bauhaus_widget_t::type.
Referenced by dt_bauhaus_combobox_insert_separator().
| int dt_bauhaus_combobox_length | ( | GtkWidget * | widget | ) |
Definition at line 1963 of file bauhaus.c.
References _combobox_data(), _combobox_selectable_count(), and d.
Referenced by _colorchecker_rebuild_patch_list(), _populate_layer_list(), _set_paper_size(), _sync_layer_controls(), aspect_changed(), dt_masks_iop_combo_populate(), gui_update(), gui_update(), position_h_changed(), and position_v_changed().
| GtkWidget * dt_bauhaus_combobox_new | ( | dt_bauhaus_t * | bh, |
| dt_gui_module_t * | self | ||
| ) |
Definition at line 1698 of file bauhaus.c.
References dt_bauhaus_combobox_from_widget(), DT_BAUHAUS_WIDGET, and DT_BAUHAUS_WIDGET_TYPE.
Referenced by _build_rawoverexposed_popover(), _build_softproof_gamut_popover(), _combobox_new_from_list(), _lens_add_axis_combobox(), _presets_show_edit_dialog(), dt_bauhaus_combobox_from_conf(), dt_bauhaus_combobox_from_params(), dt_bauhaus_combobox_new_full(), dt_iop_gui_init_blending_body(), dt_iop_gui_init_raster(), dt_lut_viewer_new(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), and lens_set().
| GtkWidget * dt_bauhaus_combobox_new_full | ( | dt_bauhaus_t * | bh, |
| dt_gui_module_t * | self, | ||
| const char * | label, | ||
| const char * | tip, | ||
| int | pos, | ||
| GtkCallback | callback, | ||
| gpointer | data, | ||
| const char ** | texts | ||
| ) |
Definition at line 1705 of file bauhaus.c.
References dt_bauhaus_widget_t::data, dt_bauhaus_combobox_add_list(), dt_bauhaus_combobox_new(), dt_bauhaus_combobox_set(), dt_bauhaus_widget_set_label(), and dt_bauhaus_widget_t::label.
Referenced by dt_guides_popover(), gui_init(), and gui_init().
Definition at line 1909 of file bauhaus.c.
References _combobox_data(), _combobox_public_to_entry_pos(), d, FALSE, and IS_NULL_PTR.
Referenced by _populate_layer_list(), dt_masks_iop_combo_populate(), gui_init(), and gui_update().
Definition at line 2090 of file bauhaus.c.
References _combobox_data(), _combobox_public_to_entry_pos(), _combobox_selectable_count(), _combobox_set(), d, and FALSE.
Referenced by _area_button_press_callback(), _area_button_press_callback(), _auto_set_illuminant(), _build_rawoverexposed_popover(), _build_softproof_gamut_popover(), _channel_tabs_switch_callback(), _channelmixerrgb_mixer_mode_callback(), _channelmixerrgb_reject_mixer_mode(), _combo_box_set_active_text(), _configure_tab(), _custom_model_populate(), _develop_ui_pipe_finished_callback(), _enter_edit_mode(), _event_aspect_presets_changed(), _guides_add_guide(), _lens_rebuild_axis_row(), _lib_export_styles_changed_callback(), _mixer_mode_callback(), _new_printer_callback(), _on_storage_list_changed(), _populate_layer_list(), _presets_show_edit_dialog(), _raster_combo_populate(), _set_orientation(), _set_paper_size(), _set_printer(), _settings_flip_update(), _update_layout(), _update_point_gui(), aspect_presets_changed(), btn_toggled(), checker_button_press(), color_picker_apply(), commit_profile_callback(), dt_bauhaus_combobox_button_press(), dt_bauhaus_combobox_from_conf(), dt_bauhaus_combobox_new_full(), dt_bauhaus_popup_button_press(), dt_bauhaus_update_module(), dt_guides_update_popover_values(), dt_iop_gui_blend_masks_update(), dt_iop_tonecurve_button_press(), dt_lut_viewer_new(), gui_changed(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_reset(), gui_reset(), gui_reset(), gui_reset(), gui_reset(), gui_update(), gui_update(), gui_update(), keystone_type_populate(), rt_load_shape_algo_in_gui(), set_format_by_name(), set_params(), set_params(), set_params(), set_storage_by_name(), and temp_tint_callback().
Definition at line 1400 of file bauhaus.c.
References dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, dt_bauhaus_combobox_data_t::defpos, and DT_BAUHAUS_WIDGET.
Referenced by gui_init(), gui_init(), gui_update(), and gui_update().
Definition at line 1882 of file bauhaus.c.
References dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBO_MAX_TEXT, DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_WIDGET, dt_bauhaus_combobox_data_t::editable, IS_NULL_PTR, and dt_bauhaus_widget_t::type.
Referenced by gui_init(), gui_init(), and lens_set().
Definition at line 1872 of file bauhaus.c.
References dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_WIDGET, dt_bauhaus_combobox_data_t::entries_ellipsis, IS_NULL_PTR, and dt_bauhaus_widget_t::type.
Referenced by _build_softproof_gamut_popover(), and gui_init().
| gboolean dt_bauhaus_combobox_set_from_text | ( | GtkWidget * | w, |
| const char * | text | ||
| ) |
Definition at line 2100 of file bauhaus.c.
References _combobox_data(), _combobox_set(), d, FALSE, i, IS_NULL_PTR, dt_bauhaus_combobox_entry_t::is_separator, dt_bauhaus_combobox_entry_t::label, and TRUE.
Referenced by _set_printer(), gui_init(), gui_reset(), gui_update(), set_format_by_name(), set_params(), set_storage_by_name(), and update_filepath_combobox().
| gboolean dt_bauhaus_combobox_set_from_value | ( | GtkWidget * | w, |
| int | value | ||
| ) |
Definition at line 2119 of file bauhaus.c.
References _combobox_data(), _combobox_set(), d, dt_bauhaus_combobox_entry_t::data, FALSE, i, dt_bauhaus_combobox_entry_t::is_separator, TRUE, and value.
Referenced by _combo_set_active_collection(), dt_bauhaus_update_module(), dt_iop_gui_update_blending(), gui_changed(), and gui_update().
| void dt_bauhaus_combobox_set_selected_text_align | ( | GtkWidget * | widget, |
| const dt_bauhaus_combobox_alignment_t | text_align | ||
| ) |
Definition at line 1900 of file bauhaus.c.
References dt_bauhaus_data_t::combobox, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBOBOX, DT_BAUHAUS_WIDGET, IS_NULL_PTR, dt_bauhaus_combobox_data_t::text_align, and dt_bauhaus_widget_t::type.
Referenced by _combo_as_collections(), _combo_as_full(), _combo_as_view_toggle(), and gui_init().
Definition at line 2017 of file bauhaus.c.
References _combobox_data(), d, DT_BAUHAUS_COMBO_MAX_TEXT, and IS_NULL_PTR.
Referenced by _event_aspect_presets_changed(), aspect_presets_changed(), and gui_update().
Definition at line 3734 of file bauhaus.c.
References dt_bauhaus_widget_t::no_accels, and TRUE.
Referenced by _combobox_new_from_list(), dt_iop_gui_init_blending_body(), and gui_init().
Prevent this Bauhaus widget from being tracked in the parent module refresh lists.
Definition at line 3740 of file bauhaus.c.
References dt_bauhaus_widget_t::no_module_list, and TRUE.
Referenced by _combobox_new_from_list(), dt_iop_gui_init_blendif(), dt_iop_gui_init_blending_body(), and dt_iop_gui_init_raster().
| dt_bauhaus_t * dt_bauhaus_get_global | ( | void | ) |
Definition at line 646 of file darktable.c.
References darktable_t::bauhaus, and darktable.
Referenced by _area_draw_callback(), _area_draw_callback(), _build_complete_ui(), _build_display_popover(), _build_overexposed_popover(), _build_primaries_ui(), _build_rawoverexposed_popover(), _build_simple_ui(), _build_softproof_gamut_popover(), _combobox_new_from_list(), _draw_cube(), _draw_curve(), _draw_sym(), _expand_rating_and_metadata(), _guides_gui_grid(), _init_drawing(), _lens_add_axis_combobox(), _lib_navigation_draw_callback(), _presets_show_edit_dialog(), _process_histogram(), _process_restricted_text(), _update_rating_filter(), area_draw(), area_draw(), denoiseprofile_draw(), dpi_scaling_changed_callback(), dt_bauhaus_combobox_from_params(), dt_bauhaus_slider_from_params(), dt_control_draw_busy_msg(), dt_dev_draw_profile_mode_label(), dt_guides_popover(), dt_iop_basecurve_draw(), dt_iop_gui_init_blendif(), dt_iop_gui_init_blending_body(), dt_iop_gui_init_masks(), dt_iop_gui_init_raster(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_iop_tonecurve_draw(), dt_lut_viewer_new(), dt_masks_gui_add_interaction_slider(), enter(), filmic_gui_draw_icon(), gui_draw_sym(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_post_expose(), gui_post_expose(), lens_set(), lowlight_draw(), rawdenoise_draw(), reload_ui_last_theme(), and theme_callback().
| void dt_bauhaus_hide_popup | ( | dt_bauhaus_t * | bh | ) |
Definition at line 2958 of file bauhaus.c.
References dt_bauhaus_t::current, dt_widget_set_scroll_focus(), dt_bauhaus_t::popup_area, and dt_bauhaus_t::popup_window.
Referenced by dt_bauhaus_combobox_button_press(), dt_bauhaus_popup_button_press(), dt_bauhaus_popup_button_release(), dt_bauhaus_popup_key_press(), and dt_bauhaus_show_popup().
| dt_bauhaus_t * dt_bauhaus_init | ( | ) |
Definition at line 1231 of file bauhaus.c.
References dt_bauhaus_widget_t::bauhaus, dt_bauhaus_t::current, dt_accels_build_path(), dt_accels_get_global(), dt_accels_new_virtual_shortcut(), dt_bauhaus_load_theme(), dt_bauhaus_popup_button_press(), dt_bauhaus_popup_button_release(), dt_bauhaus_popup_draw(), dt_bauhaus_popup_key_press(), dt_bauhaus_popup_leave_notify(), dt_bauhaus_popup_motion_notify(), dt_bauhaus_popup_scroll(), dt_bauhaus_window_show(), dt_free, dt_osx_disallow_fullscreen(), DT_PRIMARY_MASK, dt_widget_root_window(), dt_widget_scroll_mask(), FALSE, dt_bauhaus_t::keys_cnt, dt_bauhaus_t::pango_font_desc, dt_bauhaus_t::popup_area, dt_bauhaus_t::popup_window, TRUE, and window.
Referenced by dt_init().
| void dt_bauhaus_load_theme | ( | dt_bauhaus_t * | bauhaus | ) |
Definition at line 1133 of file bauhaus.c.
References dt_bauhaus_t::baseline_size, dt_bauhaus_widget_t::bauhaus, dt_bauhaus_t::border_width, dt_bauhaus_t::color_bg, dt_bauhaus_t::color_border, dt_bauhaus_t::color_fg, dt_bauhaus_t::color_fg_insensitive, dt_bauhaus_t::color_fill, dt_bauhaus_t::color_value, dt_bauhaus_t::color_value_insensitive, dt_bauhaus_t::color_value_text, dt_bauhaus_t::color_value_text_insensitive, dt_bauhaus_t::colorlabels, DT_COLORLABELS_BLUE, DT_COLORLABELS_GREEN, DT_COLORLABELS_LAST, DT_COLORLABELS_PURPLE, DT_COLORLABELS_RED, DT_COLORLABELS_YELLOW, dt_gui_cairo_set_font_options(), dt_widget_root_window(), dt_widget_set_colorlabels(), dt_bauhaus_t::graph_bg, dt_bauhaus_t::graph_border, dt_bauhaus_t::graph_colors, dt_bauhaus_t::graph_exterior, dt_bauhaus_t::graph_fg, dt_bauhaus_t::graph_fg_active, dt_bauhaus_t::graph_grid, dt_bauhaus_t::graph_overlay, dt_bauhaus_t::graph_scope_restricted, dt_bauhaus_t::indicator_border, dt_bauhaus_t::inset_histogram, IS_NULL_PTR, dt_bauhaus_t::line_height, dt_bauhaus_t::marker_size, dt_bauhaus_t::pango_font_desc, and dt_bauhaus_t::quad_width.
Referenced by dpi_scaling_changed_callback(), dt_bauhaus_init(), reload_ui_last_theme(), and theme_callback().
Tell the widget to use the globally-defined default callback in the bauhaus structure This callback needs to be defined first, of course.
| widget |
Definition at line 3746 of file bauhaus.c.
References TRUE, and dt_bauhaus_widget_t::use_default_callback.
Referenced by _combobox_new_from_list(), dt_iop_gui_init_blendif(), dt_iop_gui_init_blending_body(), and dt_iop_gui_init_raster().
Definition at line 2974 of file bauhaus.c.
References _get_combobox_popup_height(), _margins_retrieve(), dt_bauhaus_widget_t::bauhaus, dt_bauhaus_t::change_active, dt_bauhaus_t::current, d, dt_bauhaus_widget_t::data, DT_BAUHAUS_COMBOBOX, dt_bauhaus_hide_popup(), DT_BAUHAUS_SLIDER, DT_BAUHAUS_WIDGET, FALSE, height, dt_bauhaus_t::hiding, IS_NULL_PTR, dt_bauhaus_t::keys, dt_bauhaus_t::keys_cnt, dt_bauhaus_widget_t::margin, MAX, dt_bauhaus_t::mouse_line_distance, dt_bauhaus_slider_data_t::oldpos, dt_bauhaus_t::popup_area, dt_bauhaus_t::popup_window, dt_bauhaus_data_t::slider, dt_bauhaus_widget_t::type, width, and window.
Referenced by _widget_key_press(), dt_bauhaus_combobox_button_press(), and dt_bauhaus_slider_button_press().
Definition at line 2153 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_SLIDER, DT_BAUHAUS_WIDGET, dt_bauhaus_slider_data_t::grad_cnt, dt_bauhaus_data_t::slider, and dt_bauhaus_widget_t::type.
Referenced by _refresh_slider_gradients(), color_rgb_sliders(), color_temptint_sliders(), dt_iop_channelmixer_shared_paint_primaries_sliders(), dt_iop_channelmixer_shared_paint_row_sliders(), dt_iop_channelmixer_shared_paint_simple_sliders(), dt_iop_channelmixer_shared_paint_temperature_slider(), and dt_iop_channelmixer_shared_paint_white_preserving_sliders().
| GtkWidget * dt_bauhaus_slider_from_widget | ( | dt_bauhaus_t * | bh, |
| dt_bauhaus_widget_t * | widget, | ||
| dt_gui_module_t * | self, | ||
| float | min, | ||
| float | max, | ||
| float | step, | ||
| float | defval, | ||
| int | digits, | ||
| int | feedback | ||
| ) |
Definition at line 1663 of file bauhaus.c.
References _bauhaus_widget_init(), d, dt_bauhaus_widget_t::data, DT_BAUHAUS_SLIDER, dt_bauhaus_slider_button_press(), dt_bauhaus_slider_button_release(), dt_bauhaus_slider_motion_notify(), dt_gui_add_class(), max, min, dt_bauhaus_slider_data_t::min, dt_bauhaus_data_t::slider, and dt_bauhaus_widget_t::type.
Referenced by dt_bauhaus_slider_new_with_range_and_feedback().
| float dt_bauhaus_slider_get | ( | GtkWidget * | w | ) |
Definition at line 3280 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_slider_data_t::min, and dt_bauhaus_data_t::slider.
Referenced by _auto_set_exposure(), _auto_set_illuminant(), _blendop_blendif_boost_factor_callback(), _blendop_blendif_details_callback(), _button_press_callback(), _display_borders_callback(), _display_brightness_callback(), _draw_callback(), _draw_samples(), _general_callback(), _grid_horizontal_changed(), _grid_subdiv_changed(), _grid_vertical_changed(), _masks_gui_interaction_slider_changed(), _overexposed_lower_callback(), _overexposed_upper_callback(), _rawoverexposed_threshold_callback(), _render_surface(), _settings_contrast_changed(), _slider_add_step(), _slider_zoom_range(), _spot_settings_changed_callback(), _spot_settings_changed_callback(), _sync_params_from_gui(), _target_color_draw(), _widget_draw(), balance_callback(), black_point_source_callback(), black_point_target_callback(), blue_callback(), button_released(), color_rgb_sliders(), color_temptint_sliders(), compress_level_changed(), compression_level_changed(), contrast_callback(), display_mask_checker_size_callback(), dt_bauhaus_popup_draw(), dt_bauhaus_slider_get_val(), dt_bauhaus_slider_set_hard_max(), dt_bauhaus_slider_set_hard_min(), dt_bauhaus_slider_set_soft_max(), dt_bauhaus_slider_set_soft_min(), dt_bauhaus_value_changed_default_callback(), dt_iop_channelmixer_shared_primaries_from_sliders(), dt_iop_channelmixer_shared_simple_from_sliders(), dt_iop_channelmixer_shared_white_preserving_from_sliders(), extra_callback(), global_saturation_callback(), green_callback(), grey_point_source_callback(), grey_point_target_callback(), gui_changed(), gui_update(), illum_xy_callback(), latitude_stops_callback(), logbase_callback(), logbase_callback(), mix_callback(), output_power_callback(), paint_hue(), quality_changed(), quality_changed(), quality_changed(), quality_changed(), red_callback(), rt_mask_opacity_callback(), safety_changed_callback(), saturation_callback(), security_threshold_callback(), smoothing_callback(), target_a_callback(), target_b_callback(), target_C_callback(), target_color_draw(), target_L_callback(), temp_tint_callback(), toe_shoulder_callback(), white_point_source_callback(), and white_point_target_callback().
| int dt_bauhaus_slider_get_digits | ( | GtkWidget * | w | ) |
Definition at line 3350 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, dt_bauhaus_slider_data_t::digits, DT_BAUHAUS_WIDGET, and dt_bauhaus_data_t::slider.
| float dt_bauhaus_slider_get_hard_max | ( | GtkWidget * | w | ) |
Definition at line 1450 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_slider_data_t::hard_max, and dt_bauhaus_data_t::slider.
Referenced by _paint_hue(), color_rgb_sliders(), dt_iop_channelmixer_shared_paint_primaries_sliders(), dt_iop_channelmixer_shared_paint_row_sliders(), and dt_iop_channelmixer_shared_paint_white_preserving_sliders().
| float dt_bauhaus_slider_get_hard_min | ( | GtkWidget * | w | ) |
Definition at line 1425 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_slider_data_t::hard_min, and dt_bauhaus_data_t::slider.
Referenced by _paint_hue(), dt_iop_channelmixer_shared_paint_primaries_sliders(), dt_iop_channelmixer_shared_paint_row_sliders(), and dt_iop_channelmixer_shared_paint_white_preserving_sliders().
| float dt_bauhaus_slider_get_soft_max | ( | GtkWidget * | w | ) |
Definition at line 1484 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_data_t::slider, and dt_bauhaus_slider_data_t::soft_max.
| float dt_bauhaus_slider_get_soft_min | ( | GtkWidget * | w | ) |
Definition at line 1467 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_data_t::slider, and dt_bauhaus_slider_data_t::soft_min.
| float dt_bauhaus_slider_get_step | ( | GtkWidget * | w | ) |
Definition at line 3364 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, max, min, dt_bauhaus_data_t::slider, dt_bauhaus_slider_data_t::step, and top.
Referenced by _slider_add_step().
| char * dt_bauhaus_slider_get_text | ( | GtkWidget * | w, |
| float | val | ||
| ) |
Definition at line 3294 of file bauhaus.c.
References d, and DT_BAUHAUS_WIDGET.
Referenced by _widget_draw(), and dt_bauhaus_popup_draw().
| float dt_bauhaus_slider_get_val | ( | GtkWidget * | w | ) |
Definition at line 3288 of file bauhaus.c.
References d, dt_bauhaus_slider_get(), DT_BAUHAUS_WIDGET, and dt_bauhaus_slider_data_t::factor.
Referenced by dt_bauhaus_popup_key_press().
| GtkWidget * dt_bauhaus_slider_new | ( | dt_bauhaus_t * | bh, |
| dt_gui_module_t * | self | ||
| ) |
Definition at line 1627 of file bauhaus.c.
References dt_bauhaus_slider_new_with_range().
Referenced by dt_bauhaus_slider_from_params().
| GtkWidget * dt_bauhaus_slider_new_with_range | ( | dt_bauhaus_t * | bh, |
| dt_gui_module_t * | self, | ||
| float | min, | ||
| float | max, | ||
| float | step, | ||
| float | defval, | ||
| int | digits | ||
| ) |
Definition at line 1632 of file bauhaus.c.
References dt_bauhaus_slider_new_with_range_and_feedback(), max, and min.
Referenced by _build_complete_ui(), _build_display_popover(), _build_overexposed_popover(), _build_primaries_ui(), _build_rawoverexposed_popover(), _build_simple_ui(), _guides_gui_grid(), dt_bauhaus_slider_new(), dt_guides_popover(), dt_iop_gui_init_blendif(), dt_iop_gui_init_blending_body(), dt_lut_viewer_new(), dt_masks_gui_add_interaction_slider(), gui_init(), gui_init(), gui_init(), and gui_init().
| GtkWidget * dt_bauhaus_slider_new_with_range_and_feedback | ( | dt_bauhaus_t * | bh, |
| dt_gui_module_t * | self, | ||
| float | min, | ||
| float | max, | ||
| float | step, | ||
| float | defval, | ||
| int | digits, | ||
| int | feedback | ||
| ) |
Definition at line 1638 of file bauhaus.c.
References dt_bauhaus_slider_from_widget(), DT_BAUHAUS_WIDGET, DT_BAUHAUS_WIDGET_TYPE, max, and min.
Referenced by dt_bauhaus_slider_from_params(), dt_bauhaus_slider_new_with_range(), and gui_init().
Definition at line 3397 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, dt_bauhaus_slider_set(), DT_BAUHAUS_WIDGET, dt_bauhaus_slider_data_t::min, and dt_bauhaus_data_t::slider.
Referenced by _button_press_callback(), and dt_bauhaus_slider_button_press().
Definition at line 3331 of file bauhaus.c.
References _dt_bauhaus_slider_set_with_raise(), and TRUE.
Referenced by _auto_set_exposure(), _auto_set_illuminant(), _blendop_blend_mode_callback(), _blendop_blendif_update_tab(), _build_display_popover(), _build_overexposed_popover(), _build_rawoverexposed_popover(), _channelmixerrgb_mixer_mode_callback(), _channelmixerrgb_primaries_slider_callback(), _channelmixerrgb_push_matrix_to_params(), _channelmixerrgb_simple_slider_callback(), _colorchecker_update_sliders(), _develop_ui_pipe_finished_callback(), _exposure_set_black(), _exposure_set_white(), _guides_gui_grid(), _motion_notify_callback(), _set_point_complete_widgets(), _slider_add_step(), _slider_zoom_range(), apply_auto_black(), apply_auto_black(), apply_auto_black(), apply_auto_black(), apply_auto_Dmax(), apply_auto_Dmin(), apply_auto_dynamic_range(), apply_auto_exposure(), apply_auto_grey(), 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_autocolor(), apply_autogrey(), apply_autoluma(), apply_autotune(), apply_autotune(), apply_autotune(), apply_gain_auto(), apply_gain_neutralize(), apply_gamma_auto(), apply_gamma_neutralize(), apply_lift_auto(), apply_lift_neutralize(), aspect_changed(), autoscale_pressed(), button_released(), color_picker_apply(), colorpick_callback(), commit_profile_callback(), Dmin_picker_callback(), do_fit(), dt_bauhaus_slider_reset(), dt_bauhaus_slider_set_hard_max(), dt_bauhaus_slider_set_hard_min(), dt_bauhaus_slider_set_val(), dt_bauhaus_update_module(), dt_guides_popover(), dt_guides_update_popover_values(), dt_iop_channelmixer_shared_primaries_to_sliders(), dt_iop_channelmixer_shared_simple_to_sliders(), dt_iop_channelmixer_shared_white_preserving_to_sliders(), dt_iop_colorcorrection_scrolled(), dt_iop_gui_update_blending(), dt_masks_gui_add_interaction_slider(), extra_callback(), filmic_gui_sync_toe_shoulder(), grey_point_source_callback(), gui_changed(), gui_init(), gui_init(), gui_post_expose(), gui_reset(), gui_reset(), gui_update(), gui_update(), gui_update(), gui_update(), illum_xy_callback(), lens_menu_select(), mouse_moved(), output_callback(), position_h_changed(), position_v_changed(), preset_tune_callback(), reset_mix(), rt_load_shape_algo_in_gui(), sanitize_latitude(), scrolled(), security_threshold_callback(), set_HSL_sliders(), set_params(), set_RGB_sliders(), target_a_callback(), target_b_callback(), target_C_callback(), temp_tint_callback(), update_exposure_sliders(), Wb_high_norm_callback(), WB_high_picker_callback(), Wb_low_norm_callback(), and WB_low_picker_callback().
Definition at line 1491 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, dt_bauhaus_slider_data_t::defpos, DT_BAUHAUS_WIDGET, and dt_bauhaus_data_t::slider.
Referenced by _signal_profile_user_changed(), gui_init(), gui_init(), gui_init(), gui_update(), gui_update(), and output_callback().
Definition at line 3343 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, dt_bauhaus_slider_data_t::digits, DT_BAUHAUS_WIDGET, and dt_bauhaus_data_t::slider.
Referenced by dt_masks_gui_add_interaction_slider(), gui_init(), and gui_init().
Definition at line 3423 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, factor, dt_bauhaus_slider_data_t::factor, and dt_bauhaus_data_t::slider.
Referenced by _build_primaries_ui(), _build_simple_ui(), dt_masks_gui_add_interaction_slider(), gui_init(), and gui_init().
Definition at line 3389 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_slider_data_t::fill_feedback, and dt_bauhaus_data_t::slider.
Referenced by color_rgb_sliders(), color_temptint_sliders(), gui_init(), gui_init(), and gui_init_section().
Definition at line 3407 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_slider_data_t::format, MAX, and dt_bauhaus_data_t::slider.
Referenced by _build_display_popover(), _build_overexposed_popover(), _build_primaries_ui(), _build_simple_ui(), dt_iop_gui_init_blendif(), dt_iop_gui_init_blending_body(), dt_lut_viewer_new(), dt_masks_gui_add_interaction_slider(), gui_init(), gui_init(), gui_init(), and gui_init().
Definition at line 1432 of file bauhaus.c.
References _bh_round_to_n_digits(), d, dt_bauhaus_widget_t::data, dt_bauhaus_slider_get(), dt_bauhaus_slider_set(), dt_bauhaus_slider_set_hard_min(), DT_BAUHAUS_WIDGET, MIN, and dt_bauhaus_data_t::slider.
Referenced by _guides_gui_grid(), dt_bauhaus_slider_set_hard_min(), gui_init(), and gui_init().
Definition at line 1408 of file bauhaus.c.
References _bh_round_to_n_digits(), d, dt_bauhaus_widget_t::data, dt_bauhaus_slider_get(), dt_bauhaus_slider_set(), dt_bauhaus_slider_set_hard_max(), DT_BAUHAUS_WIDGET, MAX, and dt_bauhaus_data_t::slider.
Referenced by dt_bauhaus_slider_set_hard_max(), and gui_init().
Definition at line 3430 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_slider_data_t::offset, and dt_bauhaus_data_t::slider.
Referenced by gui_init(), and gui_init().
Definition at line 1474 of file bauhaus.c.
References _dt_bauhaus_slider_set_with_raise(), d, dt_bauhaus_widget_t::data, dt_bauhaus_slider_get(), DT_BAUHAUS_WIDGET, FALSE, and dt_bauhaus_data_t::slider.
Referenced by dt_bauhaus_slider_set_soft_range(), gui_changed(), gui_init(), gui_init(), and mouse_moved().
Definition at line 1457 of file bauhaus.c.
References _dt_bauhaus_slider_set_with_raise(), d, dt_bauhaus_widget_t::data, dt_bauhaus_slider_get(), DT_BAUHAUS_WIDGET, FALSE, and dt_bauhaus_data_t::slider.
Referenced by dt_bauhaus_slider_set_soft_range(), gui_changed(), gui_init(), and mouse_moved().
Definition at line 1498 of file bauhaus.c.
References dt_bauhaus_slider_set_soft_max(), and dt_bauhaus_slider_set_soft_min().
Referenced by dt_iop_gui_init_blendif(), dt_iop_gui_init_blending_body(), gui_init(), gui_init(), and gui_update().
Definition at line 3357 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_WIDGET, dt_bauhaus_data_t::slider, and dt_bauhaus_slider_data_t::step.
Referenced by gui_init().
Definition at line 2161 of file bauhaus.c.
References d, dt_bauhaus_widget_t::data, DT_BAUHAUS_SLIDER, DT_BAUHAUS_SLIDER_MAX_STOPS, DT_BAUHAUS_WIDGET, g, dt_bauhaus_slider_data_t::grad_col, IS_NULL_PTR, k, r, dt_bauhaus_data_t::slider, and dt_bauhaus_widget_t::type.
Referenced by _paint_hue(), _paint_RGB_slider_stop(), _set_slider_stop_from_hsb(), _set_slider_stop_from_profile_rgb(), _update_RGB_slider_stop(), color_rgb_sliders(), color_temptint_sliders(), dt_iop_channelmixer_shared_paint_primaries_sliders(), dt_iop_channelmixer_shared_paint_simple_sliders(), dt_iop_channelmixer_shared_paint_temperature_slider(), dt_iop_channelmixer_shared_paint_white_preserving_sliders(), gui_init(), gui_init(), gui_init_section(), paint_chroma_slider(), paint_hue(), update_balance_slider_colors(), update_saturation_slider_color(), update_saturation_slider_end_color(), update_saturation_slider_end_color(), update_saturation_slider_end_color(), and update_xy_color().
Definition at line 3337 of file bauhaus.c.
References d, dt_bauhaus_slider_set(), and DT_BAUHAUS_WIDGET.
Referenced by dt_bauhaus_popup_key_press().
| const char * dt_bauhaus_widget_get_label | ( | GtkWidget * | w | ) |
Definition at line 1548 of file bauhaus.c.
References DT_BAUHAUS_WIDGET, and dt_bauhaus_widget_t::label.
Referenced by _first_text(), and _widget_label().
| int dt_bauhaus_widget_get_quad_active | ( | GtkWidget * | w | ) |
Definition at line 1595 of file bauhaus.c.
References CPF_ACTIVE, DT_BAUHAUS_WIDGET, and dt_bauhaus_widget_t::quad_paint_flags.
Referenced by _visualize_callback(), and _visualize_callback().
| void dt_bauhaus_widget_set_field | ( | GtkWidget * | w, |
| gpointer | field, | ||
| dt_introspection_type_t | field_type | ||
| ) |
Definition at line 1562 of file bauhaus.c.
References DT_BAUHAUS_WIDGET, dt_bauhaus_widget_t::field, dt_bauhaus_widget_t::field_type, and dt_bauhaus_widget_t::label.
Referenced by _combobox_new_from_list(), dt_bauhaus_combobox_from_params(), dt_bauhaus_slider_from_params(), and dt_iop_gui_init_blending_body().
Definition at line 1504 of file bauhaus.c.
References _action_request_focus(), dt_accels_build_path(), dt_accels_new_darkroom_action, DT_BAUHAUS_WIDGET, dt_capitalize_label(), dt_free, dt_free_gpointer(), dt_bauhaus_widget_t::field, dt_bauhaus_widget_t::label, m, dt_bauhaus_widget_t::no_accels, dt_bauhaus_widget_t::no_module_list, and TRUE.
Referenced by _build_complete_ui(), _build_display_popover(), _build_overexposed_popover(), _build_primaries_ui(), _build_rawoverexposed_popover(), _build_simple_ui(), _build_softproof_gamut_popover(), _check_tuner_picker_labels(), _combo_as_collections(), _combo_as_full(), _combo_as_view_toggle(), _combobox_new_from_list(), _event_draw(), _guides_gui_grid(), _lens_add_axis_combobox(), dt_bauhaus_combobox_from_conf(), dt_bauhaus_combobox_from_params(), dt_bauhaus_combobox_new_full(), dt_bauhaus_slider_from_params(), dt_guides_popover(), dt_iop_gui_init_blendif(), dt_iop_gui_init_blending_body(), dt_iop_gui_init_raster(), dt_lut_viewer_new(), dt_masks_gui_add_interaction_slider(), gui_changed(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init(), gui_init_section(), gui_sliders_update(), gui_update(), lens_set(), and toggle_stock_controls().
Definition at line 1578 of file bauhaus.c.
References CPF_ACTIVE, DT_BAUHAUS_WIDGET, and dt_bauhaus_widget_t::quad_paint_flags.
Referenced by _color_picker_callback_button_press(), _color_picker_new(), _color_picker_reset(), gui_changed(), gui_focus(), gui_init(), gui_reset(), gui_update(), gui_update(), and mask_callback().
| void dt_bauhaus_widget_set_quad_paint | ( | GtkWidget * | w, |
| dt_bauhaus_quad_paint_f | f, | ||
| int | paint_flags, | ||
| void * | paint_data | ||
| ) |
Definition at line 1554 of file bauhaus.c.
References DT_BAUHAUS_WIDGET, f, dt_bauhaus_widget_t::quad_paint, dt_bauhaus_widget_t::quad_paint_data, and dt_bauhaus_widget_t::quad_paint_flags.
Referenced by _color_picker_new(), gui_init(), and gui_init().
Definition at line 1572 of file bauhaus.c.
References DT_BAUHAUS_WIDGET, and dt_bauhaus_widget_t::quad_toggle.
Referenced by _color_picker_new(), gui_init(), and gui_init().
Definition at line 1588 of file bauhaus.c.
References DT_BAUHAUS_WIDGET, and dt_bauhaus_widget_t::show_quad.
Referenced by gui_changed().
|
extern |