Blender V4.3
blender::ui::greasepencil Namespace Reference

Classes

struct  EyedropperGreasePencil
 
class  LayerGroupViewItem
 
class  LayerNodeDropTarget
 
class  LayerTreeView
 
class  LayerViewItem
 
class  LayerViewItemDragController
 

Enumerations

enum class  EyeMode : int8_t { Material = 0 , Palette = 1 , Brush = 2 }
 
enum class  MaterialMode : int8_t { Stroke = 0 , Fill = 1 , Both = 2 }
 

Functions

static void eyedropper_grease_pencil_status_indicators (bContext *C, wmOperator *op, const wmEvent *event)
 
static bool eyedropper_grease_pencil_init (bContext *C, wmOperator *op)
 
static void eyedropper_grease_pencil_exit (bContext *C, wmOperator *op)
 
static void eyedropper_add_material (bContext *C, const float3 col_conv, const MaterialMode mat_mode)
 
static void eyedropper_add_palette_color (bContext *C, const float3 col_conv)
 
static void eyedropper_set_brush_color (bContext *C, const float3 &col_conv)
 
static void eyedropper_grease_pencil_color_set (bContext *C, const wmEvent *event, EyedropperGreasePencil *eye)
 
static void eyedropper_grease_pencil_color_sample (bContext *C, EyedropperGreasePencil *eye, const int m_xy[2])
 
static void eyedropper_grease_pencil_cancel (bContext *C, wmOperator *op)
 
static int eyedropper_grease_pencil_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int eyedropper_grease_pencil_invoke (bContext *C, wmOperator *op, const wmEvent *event)
 
static int eyedropper_grease_pencil_exec (bContext *C, wmOperator *op)
 
static bool eyedropper_grease_pencil_poll (bContext *C)
 

Enumeration Type Documentation

◆ EyeMode

Enumerator
Material 
Palette 
Brush 

Definition at line 53 of file eyedropper_grease_pencil_color.cc.

◆ MaterialMode

Enumerator
Stroke 
Fill 
Both 

Definition at line 59 of file eyedropper_grease_pencil_color.cc.

Function Documentation

◆ eyedropper_add_material()

◆ eyedropper_add_palette_color()

◆ eyedropper_grease_pencil_cancel()

static void blender::ui::greasepencil::eyedropper_grease_pencil_cancel ( bContext * C,
wmOperator * op )
static

◆ eyedropper_grease_pencil_color_sample()

◆ eyedropper_grease_pencil_color_set()

◆ eyedropper_grease_pencil_exec()

static int blender::ui::greasepencil::eyedropper_grease_pencil_exec ( bContext * C,
wmOperator * op )
static

◆ eyedropper_grease_pencil_exit()

static void blender::ui::greasepencil::eyedropper_grease_pencil_exit ( bContext * C,
wmOperator * op )
static

◆ eyedropper_grease_pencil_init()

◆ eyedropper_grease_pencil_invoke()

static int blender::ui::greasepencil::eyedropper_grease_pencil_invoke ( bContext * C,
wmOperator * op,
const wmEvent * event )
static

◆ eyedropper_grease_pencil_modal()

◆ eyedropper_grease_pencil_poll()

static bool blender::ui::greasepencil::eyedropper_grease_pencil_poll ( bContext * C)
static

◆ eyedropper_grease_pencil_status_indicators()

static void blender::ui::greasepencil::eyedropper_grease_pencil_status_indicators ( bContext * C,
wmOperator * op,
const wmEvent * event )
static

◆ eyedropper_set_brush_color()

static void blender::ui::greasepencil::eyedropper_set_brush_color ( bContext * C,
const float3 & col_conv )
static