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

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.

Referenced by _add_sample(), and _pixelpipe_pick_samples().

◆ box

◆ color_patch

GtkWidget* dt_colorpicker_sample_t::color_patch

◆ container

GtkWidget* dt_colorpicker_sample_t::container

The GUI elements

Referenced by _add_sample(), and _remove_sample().

◆ display

lib_colorpicker_sample_statistics dt_colorpicker_sample_t::display

◆ lab

◆ label_rgb

int dt_colorpicker_sample_t::label_rgb[4]

◆ locked

gboolean dt_colorpicker_sample_t::locked

◆ output_label

GtkWidget* dt_colorpicker_sample_t::output_label

◆ point

◆ scope

◆ size

◆ swatch

GdkRGBA dt_colorpicker_sample_t::swatch

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