Blender V5.3
eyedropper_color.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_material_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BLI_listbase.hh"
#include "BLI_math_vector_c.hh"
#include "BLI_string.hh"
#include "BLI_string_ref.hh"
#include "BKE_context.hh"
#include "BKE_cryptomatte.h"
#include "BKE_image.hh"
#include "BKE_layer.hh"
#include "BKE_material.hh"
#include "BKE_report.hh"
#include "BKE_screen.hh"
#include "BLT_translation.hh"
#include "NOD_composite.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "RNA_path.hh"
#include "RNA_prototypes.hh"
#include "IMB_colormanagement.hh"
#include "IMB_imbuf_types.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "interface_intern.hh"
#include "ED_clip.hh"
#include "ED_image.hh"
#include "ED_node.hh"
#include "ED_screen.hh"
#include "ED_view3d.hh"
#include "RE_pipeline.h"
#include "eyedropper_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ui::Eyedropper

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

static void blender::ui::eyedropper_draw_cb (const wmWindow *, void *arg)
static bool blender::ui::eyedropper_init (bContext *C, wmOperator *op)
static void blender::ui::eyedropper_exit (bContext *C, wmOperator *op)
static bool blender::ui::eyedropper_cryptomatte_sample_view3d_fl (bContext *C, const char *type_name, const int mval[2], float r_col[3])
static bool blender::ui::eyedropper_cryptomatte_sample_renderlayer_fl (RenderLayer *render_layer, const char *prefix, const float fpos[2], float r_col[3])
static bool blender::ui::eyedropper_cryptomatte_sample_render_fl (const bNode *node, const char *prefix, const float fpos[2], float r_col[3])
static bool blender::ui::eyedropper_cryptomatte_sample_image_fl (bContext *C, const bNode *node, NodeCryptomatte *crypto, const char *prefix, const float fpos[2], float r_col[3])
static bool blender::ui::eyedropper_cryptomatte_sample_fl (bContext *C, Eyedropper *eye, const int event_xy[2], float r_col[3])
bool blender::ui::eyedropper_color_sample_fl (bContext *C, struct Eyedropper *eye, const int event_xy[2], float r_col[3])
 get the color from the screen.
static void blender::ui::eyedropper_color_set (bContext *C, Eyedropper *eye, const float col[3])
static void blender::ui::eyedropper_color_sample (bContext *C, Eyedropper *eye, const int event_xy[2])
static void blender::ui::eyedropper_color_sample_text_update (bContext *C, Eyedropper *eye, const int event_xy[2])
static void blender::ui::eyedropper_cancel (bContext *C, wmOperator *op)
static wmOperatorStatus blender::ui::eyedropper_modal (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::ui::eyedropper_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::ui::eyedropper_exec (bContext *C, wmOperator *op)
static bool blender::ui::eyedropper_poll (bContext *C)
void blender::ui::UI_OT_eyedropper_color (wmOperatorType *ot)

Detailed Description

Eyedropper (RGB Color)

Defines:

  • #UI_OT_eyedropper_color

Definition in file eyedropper_color.cc.