Blender  V3.3
Public Attributes | List of all members
ColorPicker Struct Reference

#include <interface_intern.h>

Public Attributes

struct ColorPickernext
 
struct ColorPickerprev
 
float hsv_perceptual [3]
 
float hsv_perceptual_init [3]
 
bool is_init
 
float hsv_scene_linear [3]
 
bool use_color_cubic
 
bool use_color_lock
 
bool use_luminosity_lock
 
float luminosity_lock_value
 

Detailed Description

Definition at line 403 of file interface_intern.h.

Member Data Documentation

◆ hsv_perceptual

float ColorPicker::hsv_perceptual[3]

Color in HSV or HSL, in color picking color space. Used for HSV cube, circle and slider widgets. The color picking space is perceptually linear for intuitive editing.

Definition at line 409 of file interface_intern.h.

Referenced by ui_but_hsv_set(), ui_color_picker_update_hsv(), ui_colorpicker_small_wheel_cb(), ui_do_but_COLOR(), ui_do_but_HSVCIRCLE(), ui_do_but_HSVCUBE(), ui_draw_but_HSVCIRCLE(), ui_draw_but_HSVCUBE(), ui_numedit_but_HSVCIRCLE(), ui_numedit_but_HSVCUBE(), and ui_popup_close_cb().

◆ hsv_perceptual_init

float ColorPicker::hsv_perceptual_init[3]

Initial color data (to detect changes).

Definition at line 411 of file interface_intern.h.

Referenced by ui_color_picker_update_hsv(), and ui_popup_close_cb().

◆ hsv_scene_linear

float ColorPicker::hsv_scene_linear[3]

HSV or HSL color in scene linear color space value used for number buttons. This is scene linear so that there is a clear correspondence to the scene linear RGB values.

Definition at line 417 of file interface_intern.h.

Referenced by ui_block_colorpicker(), ui_color_picker_update_hsv(), ui_colorpicker_hsv_update_cb(), and ui_update_color_picker_buts_rgb().

◆ is_init

bool ColorPicker::is_init

Definition at line 412 of file interface_intern.h.

Referenced by ui_color_picker_update_hsv(), and ui_popup_close_cb().

◆ luminosity_lock_value

float ColorPicker::luminosity_lock_value

Definition at line 423 of file interface_intern.h.

Referenced by ui_numedit_but_HSVCIRCLE(), and uiTemplateColorPicker().

◆ next

struct ColorPicker* ColorPicker::next

Definition at line 404 of file interface_intern.h.

◆ prev

struct ColorPicker * ColorPicker::prev

Definition at line 404 of file interface_intern.h.

◆ use_color_cubic

bool ColorPicker::use_color_cubic

Cubic saturation for the color wheel.

Definition at line 420 of file interface_intern.h.

Referenced by ui_hsvcircle_pos_from_vals(), ui_numedit_but_HSVCIRCLE(), and uiTemplateColorPicker().

◆ use_color_lock

bool ColorPicker::use_color_lock

◆ use_luminosity_lock

bool ColorPicker::use_luminosity_lock

Definition at line 422 of file interface_intern.h.

Referenced by ui_numedit_but_HSVCIRCLE(), and uiTemplateColorPicker().


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