? changes ? rectangle-stroke.patch ? app/gui/about-dialog.c-orig ? app/tools/.gimptool.c.swp ? app/vectors/TODO ? app/vectors/gimprectanglestroke.c ? app/vectors/gimprectanglestroke.h ? modules/colorsel_input.c Index: app/tools/gimpvectortool.c =================================================================== RCS file: /cvs/gnome/gimp/app/tools/gimpvectortool.c,v retrieving revision 1.90 diff -u -p -r1.90 gimpvectortool.c --- app/tools/gimpvectortool.c 4 Jun 2004 23:08:29 -0000 1.90 +++ app/tools/gimpvectortool.c 12 Jun 2004 17:20:03 -0000 @@ -46,6 +46,7 @@ #include "vectors/gimpanchor.h" #include "vectors/gimpvectors.h" #include "vectors/gimpbezierstroke.h" +#include "vectors/gimprectanglestroke.h" #include "widgets/gimphelp-ids.h" @@ -360,7 +361,7 @@ gimp_vector_tool_button_press (GimpTool gimp_vector_tool_undo_push (vector_tool, _("Add Stroke")); - vector_tool->cur_stroke = gimp_bezier_stroke_new (); + vector_tool->cur_stroke = gimp_rectangle_stroke_new (); gimp_vectors_stroke_add (vector_tool->vectors, vector_tool->cur_stroke); vector_tool->undo_motion = TRUE; @@ -368,7 +369,7 @@ gimp_vector_tool_button_press (GimpTool vector_tool->sel_stroke = vector_tool->cur_stroke; vector_tool->cur_anchor = NULL; vector_tool->sel_anchor = NULL; - vector_tool->function = VECTORS_ADD_ANCHOR; + vector_tool->function = VECTORS_FINISHED; } Index: app/vectors/Makefile.am =================================================================== RCS file: /cvs/gnome/gimp/app/vectors/Makefile.am,v retrieving revision 1.15 diff -u -p -r1.15 Makefile.am --- app/vectors/Makefile.am 24 May 2004 16:45:24 -0000 1.15 +++ app/vectors/Makefile.am 12 Jun 2004 17:20:03 -0000 @@ -20,6 +20,8 @@ libappvectors_a_SOURCES = \ gimpanchor.h \ gimpbezierstroke.h \ gimpbezierstroke.c \ + gimprectanglestroke.h \ + gimprectanglestroke.c \ gimpstroke.h \ gimpstroke.c \ gimpvectors.c \ Index: app/vectors/vectors-types.h =================================================================== RCS file: /cvs/gnome/gimp/app/vectors/vectors-types.h,v retrieving revision 1.8 diff -u -p -r1.8 vectors-types.h --- app/vectors/vectors-types.h 7 Sep 2003 10:29:10 -0000 1.8 +++ app/vectors/vectors-types.h 12 Jun 2004 17:20:03 -0000 @@ -46,11 +46,12 @@ typedef enum } GimpVectorExtendMode; -typedef struct _GimpAnchor GimpAnchor; - -typedef struct _GimpVectors GimpVectors; -typedef struct _GimpStroke GimpStroke; -typedef struct _GimpBezierStroke GimpBezierStroke; +typedef struct _GimpAnchor GimpAnchor; + +typedef struct _GimpVectors GimpVectors; +typedef struct _GimpStroke GimpStroke; +typedef struct _GimpBezierStroke GimpBezierStroke; +typedef struct _GimpRectangleStroke GimpRectangleStroke; #endif /* __VECTORS_TYPES_H__ */