Commit b705a3ab authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

cosmetic cleanup.

2002-10-30  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpbrush.[ch]: cosmetic cleanup.
parent 41ca3053
2002-10-30 Michael Natterer <mitch@gimp.org>
* app/core/gimpbrush.[ch]: cosmetic cleanup.
2002-10-30 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimpcolorscale.c: fixed rendering for partial
......
......@@ -149,6 +149,7 @@ gimp_brush_class_init (GimpBrushClass *klass)
klass->select_brush = gimp_brush_real_select_brush;
klass->want_null_motion = gimp_brush_real_want_null_motion;
klass->spacing_changed = NULL;
}
static void
......@@ -208,21 +209,21 @@ gimp_brush_get_new_preview (GimpViewable *viewable,
gint width,
gint height)
{
GimpBrush *brush;
gboolean scale = FALSE;
gint brush_width;
gint brush_height;
gint offset_x;
gint offset_y;
TempBuf *mask_buf = NULL;
TempBuf *pixmap_buf = NULL;
TempBuf *return_buf = NULL;
guchar white[3] = { 255, 255, 255 };
guchar *mask;
guchar *buf;
guchar *b;
guchar bg;
gint x, y;
GimpBrush *brush;
gboolean scale = FALSE;
gint brush_width;
gint brush_height;
gint offset_x;
gint offset_y;
TempBuf *mask_buf = NULL;
TempBuf *pixmap_buf = NULL;
TempBuf *return_buf = NULL;
guchar white[3] = { 255, 255, 255 };
guchar *mask;
guchar *buf;
guchar *b;
guchar bg;
gint x, y;
brush = GIMP_BRUSH (viewable);
......
......@@ -149,6 +149,7 @@ gimp_brush_class_init (GimpBrushClass *klass)
klass->select_brush = gimp_brush_real_select_brush;
klass->want_null_motion = gimp_brush_real_want_null_motion;
klass->spacing_changed = NULL;
}
static void
......@@ -208,21 +209,21 @@ gimp_brush_get_new_preview (GimpViewable *viewable,
gint width,
gint height)
{
GimpBrush *brush;
gboolean scale = FALSE;
gint brush_width;
gint brush_height;
gint offset_x;
gint offset_y;
TempBuf *mask_buf = NULL;
TempBuf *pixmap_buf = NULL;
TempBuf *return_buf = NULL;
guchar white[3] = { 255, 255, 255 };
guchar *mask;
guchar *buf;
guchar *b;
guchar bg;
gint x, y;
GimpBrush *brush;
gboolean scale = FALSE;
gint brush_width;
gint brush_height;
gint offset_x;
gint offset_y;
TempBuf *mask_buf = NULL;
TempBuf *pixmap_buf = NULL;
TempBuf *return_buf = NULL;
guchar white[3] = { 255, 255, 255 };
guchar *mask;
guchar *buf;
guchar *b;
guchar bg;
gint x, y;
brush = GIMP_BRUSH (viewable);
......
......@@ -53,14 +53,16 @@ struct _GimpBrushClass
{
GimpDataClass parent_class;
void (* spacing_changed) (GimpBrush *brush);
GimpBrush * (* select_brush) (GimpBrush *brush,
GimpCoords *last_coords,
GimpCoords *cur_coords);
gboolean (* want_null_motion) (GimpBrush *brush,
GimpCoords *last_coords,
GimpCoords *cur_coords);
/* virtual functions */
GimpBrush * (* select_brush) (GimpBrush *brush,
GimpCoords *last_coords,
GimpCoords *cur_coords);
gboolean (* want_null_motion) (GimpBrush *brush,
GimpCoords *last_coords,
GimpCoords *cur_coords);
/* signals */
void (* spacing_changed) (GimpBrush *brush);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment