guide types used to start at 1, so make them start at 1

* app/gimpimage.h: guide types used to start at 1, so make them
start at 1

* tools/pdbgen/enums.pl
* app/guides_cmds.c: autogenned files reflect above change

-Yosh
This commit is contained in:
Manish Singh 1999-05-02 21:58:57 +00:00
parent 26b9002cd1
commit 4e68780710
11 changed files with 20 additions and 12 deletions

View File

@ -1,3 +1,11 @@
Sun May 2 14:56:52 PDT 1999 Manish Singh <yosh@gimp.org>
* app/gimpimage.h: guide types used to start at 1, so make them
start at 1
* tools/pdbgen/enums.pl
* app/guides_cmds.c: autogenned files reflect above change
1999-05-02 Michael Natterer <mitschel@cs.tu-berlin.de>
* app/commands.c

View File

@ -58,7 +58,7 @@ typedef enum
#define COLORMAP_SIZE 768
typedef enum { /*< chop=_GUIDE >*/
HORIZONTAL_GUIDE,
HORIZONTAL_GUIDE = 1,
VERTICAL_GUIDE
} GuideOrientation;

View File

@ -58,7 +58,7 @@ typedef enum
#define COLORMAP_SIZE 768
typedef enum { /*< chop=_GUIDE >*/
HORIZONTAL_GUIDE,
HORIZONTAL_GUIDE = 1,
VERTICAL_GUIDE
} GuideOrientation;

View File

@ -58,7 +58,7 @@ typedef enum
#define COLORMAP_SIZE 768
typedef enum { /*< chop=_GUIDE >*/
HORIZONTAL_GUIDE,
HORIZONTAL_GUIDE = 1,
VERTICAL_GUIDE
} GuideOrientation;

View File

@ -58,7 +58,7 @@ typedef enum
#define COLORMAP_SIZE 768
typedef enum { /*< chop=_GUIDE >*/
HORIZONTAL_GUIDE,
HORIZONTAL_GUIDE = 1,
VERTICAL_GUIDE
} GuideOrientation;

View File

@ -58,7 +58,7 @@ typedef enum
#define COLORMAP_SIZE 768
typedef enum { /*< chop=_GUIDE >*/
HORIZONTAL_GUIDE,
HORIZONTAL_GUIDE = 1,
VERTICAL_GUIDE
} GuideOrientation;

View File

@ -58,7 +58,7 @@ typedef enum
#define COLORMAP_SIZE 768
typedef enum { /*< chop=_GUIDE >*/
HORIZONTAL_GUIDE,
HORIZONTAL_GUIDE = 1,
VERTICAL_GUIDE
} GuideOrientation;

View File

@ -58,7 +58,7 @@ typedef enum
#define COLORMAP_SIZE 768
typedef enum { /*< chop=_GUIDE >*/
HORIZONTAL_GUIDE,
HORIZONTAL_GUIDE = 1,
VERTICAL_GUIDE
} GuideOrientation;

View File

@ -58,7 +58,7 @@ typedef enum
#define COLORMAP_SIZE 768
typedef enum { /*< chop=_GUIDE >*/
HORIZONTAL_GUIDE,
HORIZONTAL_GUIDE = 1,
VERTICAL_GUIDE
} GuideOrientation;

View File

@ -442,7 +442,7 @@ static ProcArg image_get_guide_orientation_outargs[] =
{
PDB_INT32,
"orientation",
"The guide's orientation: { HORIZONTAL (0), VERTICAL (1) }"
"The guide's orientation: { HORIZONTAL (1), VERTICAL (2) }"
}
};

View File

@ -83,11 +83,11 @@ package Gimp::CodeGen::enums;
INDEXED => '2' }
},
GuideOrientation =>
{ contig => 1,
{ contig => 0,
header => 'gimpimage.h',
symbols => [ qw(HORIZONTAL_GUIDE VERTICAL_GUIDE) ],
mapping => { HORIZONTAL_GUIDE => '0',
VERTICAL_GUIDE => '1' },
mapping => { HORIZONTAL_GUIDE => '1',
VERTICAL_GUIDE => '2' },
nicks => { HORIZONTAL_GUIDE => 'HORIZONTAL',
VERTICAL_GUIDE => 'VERTICAL' }
},