Undo revision 23130 which was a merge with 2.5, a messy one because I did something...
[blender.git] / source / blender / editors / sculpt_paint / paint_intern.h
index ba1b57a..40423e1 100644 (file)
 #ifndef ED_PAINT_INTERN_H
 #define ED_PAINT_INTERN_H
 
-struct bContext;
 struct Scene;
 struct Object;
 struct Mesh;
-struct PaintStroke;
-struct PointerRNA;
 struct ViewContext;
-struct wmEvent;
-struct wmOperator;
 struct wmOperatorType;
 struct ARegion;
 
-/* paint_stroke.c */
-typedef int (*StrokeTestStart)(struct bContext *C, struct wmOperator *op, struct wmEvent *event);
-typedef void (*StrokeUpdateStep)(struct bContext *C, struct PaintStroke *stroke, struct PointerRNA *itemptr);
-typedef void (*StrokeDone)(struct bContext *C, struct PaintStroke *stroke);
-
-struct PaintStroke *paint_stroke_new(bContext *C, StrokeTestStart test_start,
-                                    StrokeUpdateStep update_step, StrokeDone done);
-int paint_stroke_modal(struct bContext *C, struct wmOperator *op, struct wmEvent *event);
-int paint_stroke_exec(struct bContext *C, struct wmOperator *op);
-struct ViewContext *paint_stroke_view_context(struct PaintStroke *stroke);
-void *paint_stroke_mode_data(struct PaintStroke *stroke);
-void paint_stroke_set_mode_data(struct PaintStroke *stroke, void *mode_data);
-int paint_poll(bContext *C);
-void paint_cursor_start(struct bContext *C, int (*poll)(struct bContext *C));
-
 /* paint_vertex.c */
-int vertex_paint_mode_poll(bContext *C);
-void clear_vpaint(Scene *scene, int selected);
-
 void PAINT_OT_weight_paint_toggle(struct wmOperatorType *ot);
 void PAINT_OT_weight_paint_radial_control(struct wmOperatorType *ot);
 void PAINT_OT_weight_paint(struct wmOperatorType *ot);