Blender  V3.3
Classes | Typedefs | Functions
eyedropper_colorband.c File Reference
#include "MEM_guardedalloc.h"
#include "DNA_screen_types.h"
#include "BLI_bitmap_draw_2d.h"
#include "BLI_math_vector.h"
#include "BKE_colorband.h"
#include "BKE_context.h"
#include "RNA_access.h"
#include "RNA_prototypes.h"
#include "UI_interface.h"
#include "WM_api.h"
#include "WM_types.h"
#include "interface_intern.h"
#include "eyedropper_intern.h"

Go to the source code of this file.

Classes

struct  Colorband_RNAUpdateCb
 
struct  EyedropperColorband
 
struct  EyedropperColorband_Context
 

Typedefs

typedef struct Colorband_RNAUpdateCb Colorband_RNAUpdateCb
 
typedef struct EyedropperColorband EyedropperColorband
 

Functions

static bool eyedropper_colorband_init (bContext *C, wmOperator *op)
 
static void eyedropper_colorband_sample_point (bContext *C, EyedropperColorband *eye, const int m_xy[2])
 
static bool eyedropper_colorband_sample_callback (int mx, int my, void *userdata)
 
static void eyedropper_colorband_sample_segment (bContext *C, EyedropperColorband *eye, const int m_xy[2])
 
static void eyedropper_colorband_exit (bContext *C, wmOperator *op)
 
static void eyedropper_colorband_apply (bContext *C, wmOperator *op)
 
static void eyedropper_colorband_cancel (bContext *C, wmOperator *op)
 
static int eyedropper_colorband_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int eyedropper_colorband_point_modal (bContext *C, wmOperator *op, const wmEvent *event)
 
static int eyedropper_colorband_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
static int eyedropper_colorband_exec (bContext *C, wmOperator *op)
 
static bool eyedropper_colorband_poll (bContext *C)
 
void UI_OT_eyedropper_colorramp (wmOperatorType *ot)
 
void UI_OT_eyedropper_colorramp_point (wmOperatorType *ot)
 

Detailed Description

Eyedropper (Color Band).

Operates by either:

Defines:

Definition in file eyedropper_colorband.c.

Typedef Documentation

◆ Colorband_RNAUpdateCb

◆ EyedropperColorband

Function Documentation

◆ eyedropper_colorband_apply()

static void eyedropper_colorband_apply ( bContext C,
wmOperator op 
)
static

◆ eyedropper_colorband_cancel()

static void eyedropper_colorband_cancel ( bContext C,
wmOperator op 
)
static

◆ eyedropper_colorband_exec()

static int eyedropper_colorband_exec ( bContext C,
wmOperator op 
)
static

◆ eyedropper_colorband_exit()

static void eyedropper_colorband_exit ( bContext C,
wmOperator op 
)
static

◆ eyedropper_colorband_init()

static bool eyedropper_colorband_init ( bContext C,
wmOperator op 
)
static

◆ eyedropper_colorband_invoke()

static int eyedropper_colorband_invoke ( bContext C,
wmOperator op,
const wmEvent UNUSEDevent 
)
static

◆ eyedropper_colorband_modal()

static int eyedropper_colorband_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ eyedropper_colorband_point_modal()

static int eyedropper_colorband_point_modal ( bContext C,
wmOperator op,
const wmEvent event 
)
static

◆ eyedropper_colorband_poll()

static bool eyedropper_colorband_poll ( bContext C)
static

◆ eyedropper_colorband_sample_callback()

static bool eyedropper_colorband_sample_callback ( int  mx,
int  my,
void userdata 
)
static

◆ eyedropper_colorband_sample_point()

static void eyedropper_colorband_sample_point ( bContext C,
EyedropperColorband eye,
const int  m_xy[2] 
)
static

◆ eyedropper_colorband_sample_segment()

static void eyedropper_colorband_sample_segment ( bContext C,
EyedropperColorband eye,
const int  m_xy[2] 
)
static

◆ UI_OT_eyedropper_colorramp()

void UI_OT_eyedropper_colorramp ( wmOperatorType ot)

◆ UI_OT_eyedropper_colorramp_point()

void UI_OT_eyedropper_colorramp_point ( wmOperatorType ot)