ooops, forgot to commit this. Just changed the order of some enums in

ooops, forgot to commit this. Just changed the order of some enums
in paint_core.c

-adrian
This commit is contained in:
Adrian Likins 1999-03-28 08:34:47 +00:00
parent 5131a0111b
commit a129fc0d20
3 changed files with 7 additions and 9 deletions

View File

@ -31,7 +31,7 @@ Sat Mar 27 22:37:35 PST 1999 Manish Singh <yosh@gimp.org>
Sun Mar 28 00:28:57 EST 1999 Adrian Likins <adrian@gimp.org> Sun Mar 28 00:28:57 EST 1999 Adrian Likins <adrian@gimp.org>
* app/paintbrush.c: added the ability to select the * app/paintbrush.[ch]: added the ability to select the
gradient repeat mode from the gui. Made the gradient gradient repeat mode from the gui. Made the gradient
length slider hopefully a bit more useful (ie, a length slider hopefully a bit more useful (ie, a
more useful range) more useful range)

View File

@ -42,10 +42,9 @@
/* gradient paint modes */ /* gradient paint modes */
#define ONCE_FORWARD 0 /* paint through once, then stop */ #define ONCE_FORWARD 0 /* paint through once, then stop */
#define ONCE_BACKWARDS 1 /* paint once, then stop, but run the gradient the other way */ #define ONCE_BACKWARDS 1 /* paint once, then stop, but run the gradient the other way */
#define ONCE_END_COLOR 2 /* paint once, but keep painting with the end color */ #define LOOP_SAWTOOTH 2 /* keep painting, looping through the grad start->end,start->end /|/|/| */
#define LOOP_SAWTOOTH 3 /* keep painting, looping through the grad start->end,start->end /|/|/| */ #define LOOP_TRIANGLE 3 /* keep paiting, looping though the grad start->end,end->start /\/\/\/ */
#define LOOP_TRIANGLE 4 /* keep paiting, looping though the grad start->end,end->start /\/\/\/ */ #define ONCE_END_COLOR 4 /* paint once, but keep painting with the end color */
typedef struct _paint_core PaintCore; typedef struct _paint_core PaintCore;

View File

@ -42,10 +42,9 @@
/* gradient paint modes */ /* gradient paint modes */
#define ONCE_FORWARD 0 /* paint through once, then stop */ #define ONCE_FORWARD 0 /* paint through once, then stop */
#define ONCE_BACKWARDS 1 /* paint once, then stop, but run the gradient the other way */ #define ONCE_BACKWARDS 1 /* paint once, then stop, but run the gradient the other way */
#define ONCE_END_COLOR 2 /* paint once, but keep painting with the end color */ #define LOOP_SAWTOOTH 2 /* keep painting, looping through the grad start->end,start->end /|/|/| */
#define LOOP_SAWTOOTH 3 /* keep painting, looping through the grad start->end,start->end /|/|/| */ #define LOOP_TRIANGLE 3 /* keep paiting, looping though the grad start->end,end->start /\/\/\/ */
#define LOOP_TRIANGLE 4 /* keep paiting, looping though the grad start->end,end->start /\/\/\/ */ #define ONCE_END_COLOR 4 /* paint once, but keep painting with the end color */
typedef struct _paint_core PaintCore; typedef struct _paint_core PaintCore;