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

#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.
 
GtkWidgetcontainer
 
GtkWidgetcolor_patch
 
GtkWidgetoutput_label
 

Detailed Description

The struct for primary and live color picker samples

Definition at line 52 of file colorpicker.h.

Field Documentation

◆ backbuf_op

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

◆ box

◆ color_patch

GtkWidget* dt_colorpicker_sample_t::color_patch

Definition at line 96 of file colorpicker.h.

Referenced by _add_sample(), and _update_sample_label().

◆ container

GtkWidget* dt_colorpicker_sample_t::container

The GUI elements

Definition at line 95 of file colorpicker.h.

Referenced by _add_sample(), and _remove_sample().

◆ display

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

◆ lab

◆ label_rgb

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

◆ locked

gboolean dt_colorpicker_sample_t::locked

◆ output_label

GtkWidget* dt_colorpicker_sample_t::output_label

Definition at line 97 of file colorpicker.h.

Referenced by _add_sample(), and _update_sample_label().

◆ point

◆ scope

◆ size

◆ swatch

GdkRGBA dt_colorpicker_sample_t::swatch

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