Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/paint_intern.h
| Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | |||||
| struct RegionView3D; | struct RegionView3D; | ||||
| struct VPaint; | struct VPaint; | ||||
| struct ViewContext; | struct ViewContext; | ||||
| struct wmEvent; | struct wmEvent; | ||||
| struct wmOperator; | struct wmOperator; | ||||
| struct wmOperatorType; | struct wmOperatorType; | ||||
| struct wmWindowManager; | struct wmWindowManager; | ||||
| struct DMCoNo; | struct DMCoNo; | ||||
| struct MeshElemMap; | |||||
| enum PaintMode; | enum PaintMode; | ||||
| /* paint_stroke.c */ | /* paint_stroke.c */ | ||||
| typedef bool (*StrokeGetLocation)(struct bContext *C, float location[3], const float mouse[2]); | typedef bool (*StrokeGetLocation)(struct bContext *C, float location[3], const float mouse[2]); | ||||
| typedef bool (*StrokeTestStart)(struct bContext *C, struct wmOperator *op, const float mouse[2]); | typedef bool (*StrokeTestStart)(struct bContext *C, struct wmOperator *op, const float mouse[2]); | ||||
| typedef void (*StrokeUpdateStep)(struct bContext *C, struct PaintStroke *stroke, struct PointerRNA *itemptr); | typedef void (*StrokeUpdateStep)(struct bContext *C, struct PaintStroke *stroke, struct PointerRNA *itemptr); | ||||
| typedef void (*StrokeRedraw)(const struct bContext *C, struct PaintStroke *stroke, bool final); | typedef void (*StrokeRedraw)(const struct bContext *C, struct PaintStroke *stroke, bool final); | ||||
| typedef void (*StrokeDone)(const struct bContext *C, struct PaintStroke *stroke); | typedef void (*StrokeDone)(const struct bContext *C, struct PaintStroke *stroke); | ||||
| ▲ Show 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | |||||
| void PAINT_OT_weight_sample(struct wmOperatorType *ot); | void PAINT_OT_weight_sample(struct wmOperatorType *ot); | ||||
| void PAINT_OT_weight_sample_group(struct wmOperatorType *ot); | void PAINT_OT_weight_sample_group(struct wmOperatorType *ot); | ||||
| enum { | enum { | ||||
| WPAINT_GRADIENT_TYPE_LINEAR, | WPAINT_GRADIENT_TYPE_LINEAR, | ||||
| WPAINT_GRADIENT_TYPE_RADIAL | WPAINT_GRADIENT_TYPE_RADIAL | ||||
| }; | }; | ||||
| void PAINT_OT_weight_gradient(struct wmOperatorType *ot); | void PAINT_OT_weight_gradient(struct wmOperatorType *ot); | ||||
| void PAINT_OT_weight_to_vertex_convert(struct wmOperatorType *ot); | |||||
| void PAINT_OT_vertex_paint_toggle(struct wmOperatorType *ot); | void PAINT_OT_vertex_paint_toggle(struct wmOperatorType *ot); | ||||
| void PAINT_OT_vertex_paint(struct wmOperatorType *ot); | void PAINT_OT_vertex_paint(struct wmOperatorType *ot); | ||||
| unsigned int vpaint_get_current_col(struct Scene *scene, struct VPaint *vp); | unsigned int vpaint_get_current_col(struct Scene *scene, struct VPaint *vp); | ||||
| /* paint_vertex_proj.c */ | /* paint_vertex_proj.c */ | ||||
| ▲ Show 20 Lines • Show All 192 Lines • Show Last 20 Lines | |||||