![]() |
Ansel 0.0
A darktable fork - bloat + design vision
|
#include <colorpicker.h>
Collaboration diagram for dt_colorpicker_sample_t:Data Fields | |
| float | point [2] |
| dt_boundingbox_t | box |
| dt_lib_colorpicker_size_t | size |
| gboolean | locked |
| lib_colorpicker_sample_statistics | display |
| lib_colorpicker_sample_statistics | scope |
| lib_colorpicker_sample_statistics | lab |
| int | label_rgb [4] |
| GdkRGBA | swatch |
| char | backbuf_op [32] |
| Global histogram stage backing this live sample. | |
| GtkWidget * | container |
| GtkWidget * | color_patch |
| GtkWidget * | output_label |
The struct for primary and live color picker samples
Definition at line 52 of file colorpicker.h.
| char dt_colorpicker_sample_t::backbuf_op[32] |
Global histogram stage backing this live sample.
Histogram live samples are no longer resampled from whichever global histogram stage happens to be selected in the scopes module. Each sample remembers the stage from which it was captured so it can reopen the same preview-cache source on every refresh.
The primary editable sample ignores this field and always follows the currently selected histogram stage.
Definition at line 92 of file colorpicker.h.
Referenced by _add_sample(), _pixelpipe_pick_samples(), and _sync_pending_histogram_hashes().
| dt_boundingbox_t dt_colorpicker_sample_t::box |
Definition at line 62 of file colorpicker.h.
Referenced by _darkroom_sample_raw_box_to_image_norm(), _picker_sample_box(), _record_point_area(), _sample_picker_luminance_mask(), _sample_raw_box_to_image_norm(), button_pressed(), dt_lib_colorpicker_set_box_area(), and mouse_moved().
| GtkWidget* dt_colorpicker_sample_t::color_patch |
Definition at line 96 of file colorpicker.h.
Referenced by _add_sample(), and _update_sample_label().
| GtkWidget* dt_colorpicker_sample_t::container |
The GUI elements
Definition at line 95 of file colorpicker.h.
Referenced by _add_sample(), and _remove_sample().
| lib_colorpicker_sample_statistics dt_colorpicker_sample_t::display |
The actual picked colors
Definition at line 69 of file colorpicker.h.
Referenced by _pixelpipe_pick_from_image(), _sample_tooltip_callback(), _update_sample_label(), and gui_reset().
| lib_colorpicker_sample_statistics dt_colorpicker_sample_t::lab |
Definition at line 74 of file colorpicker.h.
Referenced by _pixelpipe_pick_from_image(), _sample_tooltip_callback(), _update_sample_label(), dt_iop_tonecurve_draw(), and gui_reset().
| int dt_colorpicker_sample_t::label_rgb[4] |
Definition at line 76 of file colorpicker.h.
Referenced by _sample_tooltip_callback(), _update_sample_label(), and gui_reset().
| gboolean dt_colorpicker_sample_t::locked |
Definition at line 65 of file colorpicker.h.
Referenced by _add_sample(), _live_sample_button(), _pixelpipe_pick_samples(), _sample_draw_callback(), and _sync_pending_histogram_hashes().
| GtkWidget* dt_colorpicker_sample_t::output_label |
Definition at line 97 of file colorpicker.h.
Referenced by _add_sample(), and _update_sample_label().
| float dt_colorpicker_sample_t::point[2] |
The sample area or point
Definition at line 61 of file colorpicker.h.
Referenced by _darkroom_sample_raw_point_to_image_norm(), _picker_sample_box(), _record_point_area(), _sample_picker_luminance_mask(), _sample_raw_point_to_image_norm(), button_pressed(), and dt_lib_colorpicker_set_point().
| lib_colorpicker_sample_statistics dt_colorpicker_sample_t::scope |
Definition at line 72 of file colorpicker.h.
Referenced by _area_draw_callback(), _draw_color_picker(), _pixelpipe_pick_from_image(), _sample_tooltip_callback(), _update_sample_label(), and gui_reset().
| dt_lib_colorpicker_size_t dt_colorpicker_sample_t::size |
Definition at line 63 of file colorpicker.h.
Referenced by _bin_pickers_histogram(), _bin_pickers_vectorscope(), _bin_pickers_waveforms(), _darkroom_pickers_draw(), _live_sample_button(), _picker_sample_box(), _pixelpipe_pick_from_image(), _record_point_area(), _sample_picker_luminance_mask(), button_pressed(), button_released(), dt_lib_colorpicker_set_box_area(), dt_lib_colorpicker_set_point(), and mouse_moved().
| GdkRGBA dt_colorpicker_sample_t::swatch |
Definition at line 78 of file colorpicker.h.
Referenced by _darkroom_pickers_draw(), _sample_draw_callback(), _update_sample_label(), and gui_reset().