Blender V5.3
eyedropper_datablock.cc File Reference
#include "MEM_guardedalloc.h"
#include "DNA_layer_types.h"
#include "DNA_object_types.h"
#include "DNA_screen_types.h"
#include "BLI_math_vector_c.hh"
#include "BLI_string_utf8.hh"
#include "BLT_translation.hh"
#include "BKE_context.hh"
#include "BKE_idtype.hh"
#include "BKE_report.hh"
#include "BKE_screen.hh"
#include "RNA_access.hh"
#include "WM_api.hh"
#include "WM_types.hh"
#include "ED_outliner.hh"
#include "ED_screen.hh"
#include "ED_space_api.hh"
#include "ED_view3d.hh"
#include "eyedropper_intern.hh"
#include "interface_intern.hh"

Go to the source code of this file.

Classes

struct  blender::ui::DataDropper

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ui

Functions

static void blender::ui::datadropper_draw_cb (const bContext *, ARegion *, void *arg)
static int blender::ui::datadropper_init (bContext *C, wmOperator *op)
static void blender::ui::datadropper_exit (bContext *C, wmOperator *op)
static void blender::ui::datadropper_id_sample_pt (bContext *C, wmWindow *win, ScrArea *area, DataDropper *ddr, const int event_xy[2], ID **r_id)
 get the ID from the 3D view or outliner.
static bool blender::ui::datadropper_id_set (bContext *C, DataDropper *ddr, ID *id)
static bool blender::ui::datadropper_id_sample (bContext *C, DataDropper *ddr, const int event_xy[2])
static void blender::ui::datadropper_cancel (bContext *C, wmOperator *op)
static void blender::ui::datadropper_set_draw_callback_region (ScrArea *area, DataDropper *ddr)
static wmOperatorStatus blender::ui::datadropper_modal (bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus blender::ui::datadropper_invoke (bContext *C, wmOperator *op, const wmEvent *)
static wmOperatorStatus blender::ui::datadropper_exec (bContext *C, wmOperator *op)
static bool blender::ui::datadropper_poll (bContext *C)
void blender::ui::UI_OT_eyedropper_id (wmOperatorType *ot)

Detailed Description

Eyedropper (ID data-blocks)

Defines:

  • #UI_OT_eyedropper_id

Definition in file eyedropper_datablock.cc.