From ca5f7b778c5cb44b6745e75174c91315aff685f9 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Sun, 10 Mar 2013 18:05:13 +0000 Subject: More cruft remove for 2d painting. Remove functions from brush interface that were in fact 2d painting specific. Also remove old stroke managing function completely. --- source/blender/blenkernel/BKE_brush.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source/blender/blenkernel/BKE_brush.h') diff --git a/source/blender/blenkernel/BKE_brush.h b/source/blender/blenkernel/BKE_brush.h index 95c39bad344..3c65cb03c68 100644 --- a/source/blender/blenkernel/BKE_brush.h +++ b/source/blender/blenkernel/BKE_brush.h @@ -74,19 +74,6 @@ void BKE_brush_sample_tex_2D(const struct Scene *scene, struct Brush *brush, con void BKE_brush_imbuf_new(const struct Scene *scene, struct Brush *brush, short flt, short texfalloff, int size, struct ImBuf **imbuf, int use_color_correction); -/* painting */ -struct BrushPainter; -typedef struct BrushPainter BrushPainter; -typedef int (*BrushFunc)(void *user, struct ImBuf *ibuf, const float lastpos[2], const float pos[2]); - -BrushPainter *brush_painter_2d_new(struct Scene *scene, struct Brush *brush); -void brush_painter_2d_require_imbuf(BrushPainter *painter, short flt, - short texonly, int size); -int brush_painter_2d_paint(BrushPainter *painter, BrushFunc func, const float pos[2], - double time, float pressure, void *user, int use_color_correction); -void brush_painter_2d_break_stroke(BrushPainter *painter); -void brush_painter_2d_free(BrushPainter *painter); - /* texture */ unsigned int *BKE_brush_gen_texture_cache(struct Brush *br, int half_side); -- cgit v1.2.3