gimp r28260 - in trunk: . plug-ins/common
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r28260 - in trunk: . plug-ins/common
- Date: Sat, 11 Apr 2009 16:57:42 +0000 (UTC)
Author: mitch
Date: Sat Apr 11 16:57:42 2009
New Revision: 28260
URL: http://svn.gnome.org/viewvc/gimp?rev=28260&view=rev
Log:
2009-04-11 Michael Natterer <mitch gimp org>
* plug-ins/common/*.c: various plug-in parameter cleanups that
have piled up on my disk: some whitespace fixes and other
formatting, but mostly changes to make plug-in boolean/enum
parameter desciptions look more like the ones that are generated
for core procedures.
Modified:
trunk/ChangeLog
trunk/plug-ins/common/alien-map.c
trunk/plug-ins/common/align-layers.c
trunk/plug-ins/common/blur-gauss.c
trunk/plug-ins/common/blur-motion.c
trunk/plug-ins/common/bump-map.c
trunk/plug-ins/common/cartoon.c
trunk/plug-ins/common/channel-mixer.c
trunk/plug-ins/common/checkerboard.c
trunk/plug-ins/common/color-cube-analyze.c
trunk/plug-ins/common/color-enhance.c
trunk/plug-ins/common/color-to-alpha.c
trunk/plug-ins/common/colorify.c
trunk/plug-ins/common/colormap-remap.c
trunk/plug-ins/common/contrast-normalize.c
trunk/plug-ins/common/contrast-stretch-hsv.c
trunk/plug-ins/common/contrast-stretch.c
trunk/plug-ins/common/convolution-matrix.c
trunk/plug-ins/common/crop-auto.c
trunk/plug-ins/common/crop-zealous.c
trunk/plug-ins/common/cubism.c
trunk/plug-ins/common/deinterlace.c
trunk/plug-ins/common/despeckle.c
trunk/plug-ins/common/displace.c
trunk/plug-ins/common/edge-dog.c
trunk/plug-ins/common/edge-laplace.c
trunk/plug-ins/common/edge-neon.c
trunk/plug-ins/common/edge.c
trunk/plug-ins/common/engrave.c
trunk/plug-ins/common/film.c
trunk/plug-ins/common/fractal-trace.c
trunk/plug-ins/common/gradient-map.c
trunk/plug-ins/common/guillotine.c
trunk/plug-ins/common/hot.c
trunk/plug-ins/common/illusion.c
trunk/plug-ins/common/iwarp.c
trunk/plug-ins/common/jigsaw.c
trunk/plug-ins/common/lens-apply.c
trunk/plug-ins/common/lens-distortion.c
trunk/plug-ins/common/lens-flare.c
trunk/plug-ins/common/max-rgb.c
trunk/plug-ins/common/mosaic.c
trunk/plug-ins/common/newsprint.c
trunk/plug-ins/common/noise-randomize.c
trunk/plug-ins/common/noise-rgb.c
trunk/plug-ins/common/noise-solid.c
trunk/plug-ins/common/noise-spread.c
trunk/plug-ins/common/oilify.c
trunk/plug-ins/common/pixelize.c
trunk/plug-ins/common/plasma.c
trunk/plug-ins/common/polar-coords.c
trunk/plug-ins/common/qbist.c
trunk/plug-ins/common/ripple.c
trunk/plug-ins/common/rotate.c
trunk/plug-ins/common/wind.c
Modified: trunk/plug-ins/common/alien-map.c
==============================================================================
--- trunk/plug-ins/common/alien-map.c (original)
+++ trunk/plug-ins/common/alien-map.c Sat Apr 11 16:57:42 2009
@@ -172,10 +172,10 @@
{ GIMP_PDB_FLOAT, "greenangle", "Green/saturation component angle factor (0-360)" },
{ GIMP_PDB_FLOAT, "bluefrequency", "Blue/luminance component frequency factor" },
{ GIMP_PDB_FLOAT, "blueangle", "Blue/luminance component angle factor (0-360)" },
- { GIMP_PDB_INT8, "colormodel", "Color model (0: RGB_MODEL, 1: HSL_MODEL)" },
- { GIMP_PDB_INT8, "redmode", "Red/hue application mode (TRUE, FALSE)" },
- { GIMP_PDB_INT8, "greenmode", "Green/saturation application mode (TRUE, FALSE)" },
- { GIMP_PDB_INT8, "bluemode", "Blue/luminance application mode (TRUE, FALSE)" },
+ { GIMP_PDB_INT8, "colormodel", "Color model { RGB-MODEL (0), HSL-MODEL (1) }" },
+ { GIMP_PDB_INT8, "redmode", "Red/hue application mode { TRUE, FALSE }" },
+ { GIMP_PDB_INT8, "greenmode", "Green/saturation application mode { TRUE, FALSE }" },
+ { GIMP_PDB_INT8, "bluemode", "Blue/luminance application mode { TRUE, FALSE }" },
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/align-layers.c
==============================================================================
--- trunk/plug-ins/common/align-layers.c (original)
+++ trunk/plug-ins/common/align-layers.c Sat Apr 11 16:57:42 2009
@@ -119,8 +119,8 @@
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }"},
{ GIMP_PDB_IMAGE, "image", "Input image"},
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable (not used)"},
- { GIMP_PDB_INT32, "link-after-alignment", "Link the visible layers after alignment"},
- { GIMP_PDB_INT32, "use-bottom", "use the bottom layer as the base of alignment"}
+ { GIMP_PDB_INT32, "link-after-alignment", "Link the visible layers after alignment { TRUE, FALSE }"},
+ { GIMP_PDB_INT32, "use-bottom", "use the bottom layer as the base of alignment { TRUE, FALSE }"}
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/blur-gauss.c
==============================================================================
--- trunk/plug-ins/common/blur-gauss.c (original)
+++ trunk/plug-ins/common/blur-gauss.c Sat Apr 11 16:57:42 2009
@@ -132,7 +132,7 @@
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_FLOAT, "horizontal", "Horizontal radius of gaussian blur (in pixels, > 0.0)" },
{ GIMP_PDB_FLOAT, "vertical", "Vertical radius of gaussian blur (in pixels, > 0.0)" },
- { GIMP_PDB_INT32, "method", "IIR (0) or RLE (1)" }
+ { GIMP_PDB_INT32, "method", "Blur method { IIR (0), RLE (1) }" }
};
static const GimpParamDef args1[] =
Modified: trunk/plug-ins/common/blur-motion.c
==============================================================================
--- trunk/plug-ins/common/blur-motion.c (original)
+++ trunk/plug-ins/common/blur-motion.c Sat Apr 11 16:57:42 2009
@@ -145,7 +145,7 @@
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
{ GIMP_PDB_IMAGE, "image", "Input image" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "type", "Type of motion blur (0 - linear, 1 - radial, 2 - zoom)" },
+ { GIMP_PDB_INT32, "type", "Type of motion blur { LINEAR (0), RADIAL (1), ZOOM (2) }" },
{ GIMP_PDB_INT32, "length", "Length" },
{ GIMP_PDB_INT32, "angle", "Angle" },
{ GIMP_PDB_FLOAT, "center-x", "Center X (optional)" },
Modified: trunk/plug-ins/common/bump-map.c
==============================================================================
--- trunk/plug-ins/common/bump-map.c (original)
+++ trunk/plug-ins/common/bump-map.c Sat Apr 11 16:57:42 2009
@@ -246,10 +246,10 @@
{ GIMP_PDB_INT32, "waterlevel", "Level that full transparency "
"should represent" },
{ GIMP_PDB_INT32, "ambient", "Ambient lighting factor" },
- { GIMP_PDB_INT32, "compensate", "Compensate for darkening" },
- { GIMP_PDB_INT32, "invert", "Invert bumpmap" },
- { GIMP_PDB_INT32, "type", "Type of map (LINEAR (0), "
- "SPHERICAL (1), SINUSOIDAL (2))" }
+ { GIMP_PDB_INT32, "compensate", "Compensate for darkening { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "invert", "Invert bumpmap { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "type", "Type of map { LINEAR (0), "
+ "SPHERICAL (1), SINUSOIDAL (2) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/cartoon.c
==============================================================================
--- trunk/plug-ins/common/cartoon.c (original)
+++ trunk/plug-ins/common/cartoon.c Sat Apr 11 16:57:42 2009
@@ -114,7 +114,7 @@
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_FLOAT, "mask_radius", "Cartoon mask radius (radius of pixel neighborhood)" },
+ { GIMP_PDB_FLOAT, "mask-radius", "Cartoon mask radius (radius of pixel neighborhood)" },
{ GIMP_PDB_FLOAT, "pct-black", "Percentage of darkened pixels to set to black (0.0 - 1.0)" }
};
Modified: trunk/plug-ins/common/channel-mixer.c
==============================================================================
--- trunk/plug-ins/common/channel-mixer.c (original)
+++ trunk/plug-ins/common/channel-mixer.c Sat Apr 11 16:57:42 2009
@@ -158,7 +158,7 @@
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "monochrome", "Monochrome (TRUE or FALSE)" },
+ { GIMP_PDB_INT32, "monochrome", "Monochrome { TRUE, FALSE }" },
{ GIMP_PDB_FLOAT, "rr-gain", "Set the red gain for the red channel" },
{ GIMP_PDB_FLOAT, "rg-gain", "Set the green gain for the red channel" },
{ GIMP_PDB_FLOAT, "rb-gain", "Set the blue gain for the red channel" },
Modified: trunk/plug-ins/common/checkerboard.c
==============================================================================
--- trunk/plug-ins/common/checkerboard.c (original)
+++ trunk/plug-ins/common/checkerboard.c Sat Apr 11 16:57:42 2009
@@ -78,10 +78,10 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "check-mode", "Regular or Psychobilly" },
- { GIMP_PDB_INT32, "check-size", "Size of the checks" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "check-mode", "Check mode { REGULAR (0), PSYCHOBILY (1) }" },
+ { GIMP_PDB_INT32, "check-size", "Size of the checks" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/color-cube-analyze.c
==============================================================================
--- trunk/plug-ins/common/color-cube-analyze.c (original)
+++ trunk/plug-ins/common/color-cube-analyze.c Sat Apr 11 16:57:42 2009
@@ -92,8 +92,8 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
static const GimpParamDef return_vals[] =
Modified: trunk/plug-ins/common/color-enhance.c
==============================================================================
--- trunk/plug-ins/common/color-enhance.c (original)
+++ trunk/plug-ins/common/color-enhance.c Sat Apr 11 16:57:42 2009
@@ -60,8 +60,8 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/color-to-alpha.c
==============================================================================
--- trunk/plug-ins/common/color-to-alpha.c (original)
+++ trunk/plug-ins/common/color-to-alpha.c Sat Apr 11 16:57:42 2009
@@ -84,9 +84,9 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_COLOR, "color", "Color to remove" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_COLOR, "color", "Color to remove" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/colorify.c
==============================================================================
--- trunk/plug-ins/common/colorify.c (original)
+++ trunk/plug-ins/common/colorify.c Sat Apr 11 16:57:42 2009
@@ -92,9 +92,9 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_COLOR, "color", "Color to apply" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_COLOR, "color", "Color to apply" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/colormap-remap.c
==============================================================================
--- trunk/plug-ins/common/colormap-remap.c (original)
+++ trunk/plug-ins/common/colormap-remap.c Sat Apr 11 16:57:42 2009
@@ -78,7 +78,7 @@
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
{ GIMP_PDB_IMAGE, "image", "Input image" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "num-colors", "Length of `map' argument "
+ { GIMP_PDB_INT32, "num-colors", "Length of 'map' argument "
"(should be equal to colormap size)" },
{ GIMP_PDB_INT8ARRAY, "map", "Remap array for the colormap" }
};
@@ -86,10 +86,10 @@
static const GimpParamDef swap_args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT8, "index1", "First index in the colormap" },
- { GIMP_PDB_INT8, "index2", "Second (other) index in the colormap"}
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT8, "index1", "First index in the colormap" },
+ { GIMP_PDB_INT8, "index2", "Second (other) index in the colormap" }
};
gimp_install_procedure (PLUG_IN_PROC_REMAP,
Modified: trunk/plug-ins/common/contrast-normalize.c
==============================================================================
--- trunk/plug-ins/common/contrast-normalize.c (original)
+++ trunk/plug-ins/common/contrast-normalize.c Sat Apr 11 16:57:42 2009
@@ -71,8 +71,8 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/contrast-stretch-hsv.c
==============================================================================
--- trunk/plug-ins/common/contrast-stretch-hsv.c (original)
+++ trunk/plug-ins/common/contrast-stretch-hsv.c Sat Apr 11 16:57:42 2009
@@ -59,8 +59,8 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/contrast-stretch.c
==============================================================================
--- trunk/plug-ins/common/contrast-stretch.c (original)
+++ trunk/plug-ins/common/contrast-stretch.c Sat Apr 11 16:57:42 2009
@@ -59,8 +59,8 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/convolution-matrix.c
==============================================================================
--- trunk/plug-ins/common/convolution-matrix.c (original)
+++ trunk/plug-ins/common/convolution-matrix.c Sat Apr 11 16:57:42 2009
@@ -193,7 +193,7 @@
{ GIMP_PDB_INT32, "argc-channels", "The number of elements in following array. Should be always 5." },
{ GIMP_PDB_INT32ARRAY, "channels", "Mask of the channels to be filtered" },
- { GIMP_PDB_INT32, "bmode", "Mode for treating image borders" },
+ { GIMP_PDB_INT32, "bmode", "Mode for treating image borders { EXTEND (0), WRAP (1), CLEAR (2) }" },
};
gimp_install_procedure (PLUG_IN_PROC,
@@ -267,8 +267,8 @@
}
config.alpha_weighting = param[5].data.d_int32;
- config.divisor = param[6].data.d_float;
- config.offset = param[7].data.d_float;
+ config.divisor = param[6].data.d_float;
+ config.offset = param[7].data.d_float;
if (param[8].data.d_int32 != CHANNELS)
{
@@ -280,7 +280,7 @@
config.channels[y] = param[9].data.d_int32array[y];
}
- config.bmode = param[10].data.d_int32;
+ config.bmode = param[10].data.d_int32;
check_config (drawable);
}
Modified: trunk/plug-ins/common/crop-auto.c
==============================================================================
--- trunk/plug-ins/common/crop-auto.c (original)
+++ trunk/plug-ins/common/crop-auto.c Sat Apr 11 16:57:42 2009
@@ -76,8 +76,8 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (AUTOCROP_PROC,
Modified: trunk/plug-ins/common/crop-zealous.c
==============================================================================
--- trunk/plug-ins/common/crop-zealous.c (original)
+++ trunk/plug-ins/common/crop-zealous.c Sat Apr 11 16:57:42 2009
@@ -76,8 +76,8 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/cubism.c
==============================================================================
--- trunk/plug-ins/common/cubism.c (original)
+++ trunk/plug-ins/common/cubism.c Sat Apr 11 16:57:42 2009
@@ -142,7 +142,7 @@
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_FLOAT, "tile-size", "Average diameter of each tile (in pixels)" },
{ GIMP_PDB_FLOAT, "tile-saturation", "Expand tiles by this amount" },
- { GIMP_PDB_INT32, "bg-color", "Background color: { BLACK (0), BG (1) }" }
+ { GIMP_PDB_INT32, "bg-color", "Background color { BLACK (0), BG (1) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/deinterlace.c
==============================================================================
--- trunk/plug-ins/common/deinterlace.c (original)
+++ trunk/plug-ins/common/deinterlace.c Sat Apr 11 16:57:42 2009
@@ -81,9 +81,9 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "evenodd", "0 = keep odd, 1 = keep even" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "evenodd", "Which lines to keep { KEEP-ODD (0), KEEP-EVEN (1) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/despeckle.c
==============================================================================
--- trunk/plug-ins/common/despeckle.c (original)
+++ trunk/plug-ins/common/despeckle.c Sat Apr 11 16:57:42 2009
@@ -132,7 +132,7 @@
{ GIMP_PDB_IMAGE, "image", "Input image" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_INT32, "radius", "Filter box radius (default = 3)" },
- { GIMP_PDB_INT32, "type", "Filter type (0 = median, 1 = adaptive, 2 = recursive-median, 3 = recursive-adaptive)" },
+ { GIMP_PDB_INT32, "type", "Filter type { MEDIAN (0), ADAPTIVE (1), RECURSIVE-MEDIAN (2), RECURSIVE-ADAPTIVE (3) }" },
{ GIMP_PDB_INT32, "black", "Black level (-1 to 255)" },
{ GIMP_PDB_INT32, "white", "White level (0 to 256)" }
};
Modified: trunk/plug-ins/common/displace.c
==============================================================================
--- trunk/plug-ins/common/displace.c (original)
+++ trunk/plug-ins/common/displace.c Sat Apr 11 16:57:42 2009
@@ -161,7 +161,7 @@
{ GIMP_PDB_INT32, "do-y", "Displace in Y or tangent direction?" },
{ GIMP_PDB_DRAWABLE, "displace-map-x", "Displacement map for X or radial direction" },
{ GIMP_PDB_DRAWABLE, "displace-map-y", "Displacement map for Y or tangent direction" },
- { GIMP_PDB_INT32, "displace-type", "Edge behavior: { WRAP (0), SMEAR (1), BLACK (2) }" }
+ { GIMP_PDB_INT32, "displace-type", "Edge behavior { WRAP (0), SMEAR (1), BLACK (2) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/edge-dog.c
==============================================================================
--- trunk/plug-ins/common/edge-dog.c (original)
+++ trunk/plug-ins/common/edge-dog.c Sat Apr 11 16:57:42 2009
@@ -124,8 +124,8 @@
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_FLOAT, "inner", "Radius of inner gaussian blur (in pixels, > 0.0)" },
{ GIMP_PDB_FLOAT, "outer", "Radius of outer gaussian blur (in pixels, > 0.0)" },
- { GIMP_PDB_INT32, "normalize", "True, False" },
- { GIMP_PDB_INT32, "invert", "True, False" }
+ { GIMP_PDB_INT32, "normalize", "Normalize { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "invert", "Invert { TRUE, FALSE }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/edge-laplace.c
==============================================================================
--- trunk/plug-ins/common/edge-laplace.c (original)
+++ trunk/plug-ins/common/edge-laplace.c Sat Apr 11 16:57:42 2009
@@ -66,8 +66,8 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/edge-neon.c
==============================================================================
--- trunk/plug-ins/common/edge-neon.c (original)
+++ trunk/plug-ins/common/edge-neon.c Sat Apr 11 16:57:42 2009
@@ -114,10 +114,10 @@
{
static const GimpParamDef args[] =
{
- { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_FLOAT, "radius", "Radius of neon effect (in pixels)" },
+ { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_FLOAT, "radius", "Radius of neon effect (in pixels)" },
{ GIMP_PDB_FLOAT, "amount", "Effect enhancement variable (0.0 - 1.0)" },
};
Modified: trunk/plug-ins/common/edge.c
==============================================================================
--- trunk/plug-ins/common/edge.c (original)
+++ trunk/plug-ins/common/edge.c Sat Apr 11 16:57:42 2009
@@ -55,10 +55,6 @@
#include "libgimp/stdplugins-intl.h"
-#ifdef RCSID
-static gchar rcsid[] = "$Id$";
-#endif
-
/* Some useful macros */
#define PLUG_IN_PROC "plug-in-edge"
@@ -136,8 +132,8 @@
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_FLOAT, "amount", "Edge detection amount" },
- { GIMP_PDB_INT32, "wrapmode", "Edge detection behavior: { WRAP (0), SMEAR (1), BLACK (2) }" },
- { GIMP_PDB_INT32, "edgemode", "Edge detection algorithm: { SOBEL (0), PREWITT (1), GRADIENT (2), ROBERTS (3), DIFFERENTIAL (4), LAPLACE (5) }" }
+ { GIMP_PDB_INT32, "wrapmode", "Edge detection behavior { WRAP (0), SMEAR (1), BLACK (2) }" },
+ { GIMP_PDB_INT32, "edgemode", "Edge detection algorithm { SOBEL (0), PREWITT (1), GRADIENT (2), ROBERTS (3), DIFFERENTIAL (4), LAPLACE (5) }" }
};
const gchar *help_string =
Modified: trunk/plug-ins/common/engrave.c
==============================================================================
--- trunk/plug-ins/common/engrave.c (original)
+++ trunk/plug-ins/common/engrave.c Sat Apr 11 16:57:42 2009
@@ -90,10 +90,10 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "height", "Resolution in pixels" },
- { GIMP_PDB_INT32, "limit", "If true, limit line width" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "height", "Resolution in pixels" },
+ { GIMP_PDB_INT32, "limit", "Limit line width { TRUE, FALSE }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/film.c
==============================================================================
--- trunk/plug-ins/common/film.c (original)
+++ trunk/plug-ins/common/film.c Sat Apr 11 16:57:42 2009
@@ -204,7 +204,7 @@
{ GIMP_PDB_INT32, "at-top", "Flag for drawing numbers at top of film" },
{ GIMP_PDB_INT32, "at-bottom", "Flag for drawing numbers at bottom of film" },
{ GIMP_PDB_INT32, "num-images", "Number of images to be used for film" },
- { GIMP_PDB_INT32ARRAY, "image-ids", "num_images image IDs to be used for film"}
+ { GIMP_PDB_INT32ARRAY, "image-ids", "num-images image IDs to be used for film" }
};
static const GimpParamDef return_vals[] =
Modified: trunk/plug-ins/common/fractal-trace.c
==============================================================================
--- trunk/plug-ins/common/fractal-trace.c (original)
+++ trunk/plug-ins/common/fractal-trace.c Sat Apr 11 16:57:42 2009
@@ -107,8 +107,8 @@
{ GIMP_PDB_FLOAT, "ymin", "ymin fractal image delimiter" },
{ GIMP_PDB_FLOAT, "ymax", "ymax fractal image delimiter" },
{ GIMP_PDB_INT32, "depth", "Trace depth" },
- { GIMP_PDB_INT32, "outside-type", "Outside type"
- "(0=WRAP/1=TRANS/2=BLACK/3=WHITE)" }
+ { GIMP_PDB_INT32, "outside-type", "Outside type "
+ "{ WRAP (0), TRANS (1), BLACK (2), WHITE (3) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/gradient-map.c
==============================================================================
--- trunk/plug-ins/common/gradient-map.c (original)
+++ trunk/plug-ins/common/gradient-map.c Sat Apr 11 16:57:42 2009
@@ -75,8 +75,8 @@
static const GimpParamDef args[]=
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (GRADMAP_PROC,
Modified: trunk/plug-ins/common/guillotine.c
==============================================================================
--- trunk/plug-ins/common/guillotine.c (original)
+++ trunk/plug-ins/common/guillotine.c Sat Apr 11 16:57:42 2009
@@ -61,13 +61,13 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable (unused)" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable (unused)" }
};
static const GimpParamDef return_vals[] =
{
- { GIMP_PDB_INT32, "image-count", "Number of images created" },
- { GIMP_PDB_INT32ARRAY, "image-ids", "Output images" }
+ { GIMP_PDB_INT32, "image-count", "Number of images created" },
+ { GIMP_PDB_INT32ARRAY, "image-ids", "Output images" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/hot.c
==============================================================================
--- trunk/plug-ins/common/hot.c (original)
+++ trunk/plug-ins/common/hot.c Sat Apr 11 16:57:42 2009
@@ -197,9 +197,9 @@
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
{ GIMP_PDB_IMAGE, "image", "The Image" },
{ GIMP_PDB_DRAWABLE, "drawable", "The Drawable" },
- { GIMP_PDB_INT32, "mode", "Mode -- NTSC/PAL" },
+ { GIMP_PDB_INT32, "mode", "Mode { NTSC (0), PAL (1) }" },
{ GIMP_PDB_INT32, "action", "The action to perform" },
- { GIMP_PDB_INT32, "new-layer", "Create a new layer if True" }
+ { GIMP_PDB_INT32, "new-layer", "Create a new layer { TRUE, FALSE }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/illusion.c
==============================================================================
--- trunk/plug-ins/common/illusion.c (original)
+++ trunk/plug-ins/common/illusion.c Sat Apr 11 16:57:42 2009
@@ -80,10 +80,10 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "division", "The number of divisions" },
- { GIMP_PDB_INT32, "type", "Illusion type (0=type1, 1=type2)" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "division", "The number of divisions" },
+ { GIMP_PDB_INT32, "type", "Illusion type { TYPE1 (0), TYPE2 (1) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/iwarp.c
==============================================================================
--- trunk/plug-ins/common/iwarp.c (original)
+++ trunk/plug-ins/common/iwarp.c Sat Apr 11 16:57:42 2009
@@ -255,9 +255,9 @@
{
static const GimpParamDef args[] =
{
- { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0) }" },
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/jigsaw.c
==============================================================================
--- trunk/plug-ins/common/jigsaw.c (original)
+++ trunk/plug-ins/common/jigsaw.c Sat Apr 11 16:57:42 2009
@@ -346,7 +346,7 @@
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_INT32, "x", "Number of tiles across > 0" },
{ GIMP_PDB_INT32, "y", "Number of tiles down > 0" },
- { GIMP_PDB_INT32, "style", "The style/shape of the jigsaw puzzle, 0 or 1" },
+ { GIMP_PDB_INT32, "style", "The style/shape of the jigsaw puzzle { 0, 1 }" },
{ GIMP_PDB_INT32, "blend-lines", "Number of lines for shading bevels >= 0" },
{ GIMP_PDB_FLOAT, "blend-amount", "The power of the light highlights 0 =< 5" }
};
Modified: trunk/plug-ins/common/lens-apply.c
==============================================================================
--- trunk/plug-ins/common/lens-apply.c (original)
+++ trunk/plug-ins/common/lens-apply.c Sat Apr 11 16:57:42 2009
@@ -44,8 +44,8 @@
#include "libgimp/stdplugins-intl.h"
-#define PLUG_IN_PROC "plug-in-applylens"
-#define PLUG_IN_BINARY "lens-apply"
+#define PLUG_IN_PROC "plug-in-applylens"
+#define PLUG_IN_BINARY "lens-apply"
/* Declare local functions.
@@ -98,9 +98,9 @@
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_FLOAT, "refraction", "Lens refraction index" },
- { GIMP_PDB_INT32, "keep-surroundings", "Keep lens surroundings" },
- { GIMP_PDB_INT32, "set-background", "Set lens surroundings to BG value" },
- { GIMP_PDB_INT32, "set-transparent", "Set lens surroundings transparent" }
+ { GIMP_PDB_INT32, "keep-surroundings", "Keep lens surroundings { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "set-background", "Set lens surroundings to BG value { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "set-transparent", "Set lens surroundings transparent { TRUE, FALSE }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/lens-distortion.c
==============================================================================
--- trunk/plug-ins/common/lens-distortion.c (original)
+++ trunk/plug-ins/common/lens-distortion.c Sat Apr 11 16:57:42 2009
@@ -82,12 +82,12 @@
const GimpPlugInInfo PLUG_IN_INFO =
- {
- NULL, /* init_proc */
- NULL, /* quit_proc */
- query, /* query_proc */
- run, /* run_proc */
- };
+{
+ NULL, /* init_proc */
+ NULL, /* quit_proc */
+ query, /* query_proc */
+ run, /* run_proc */
+};
MAIN ()
@@ -97,17 +97,15 @@
{
static GimpParamDef args[] =
{
- { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_FLOAT, "offset-x", "Effect centre offset in X" },
- { GIMP_PDB_FLOAT, "offset-y", "Effect centre offset in Y" },
- { GIMP_PDB_FLOAT, "main-adjust",
- "Amount of second-order distortion" },
- { GIMP_PDB_FLOAT, "edge-adjust",
- "Amount of fourth-order distortion" },
- { GIMP_PDB_FLOAT, "rescale", "Rescale overall image size" },
- { GIMP_PDB_FLOAT, "brighten", "Adjust brightness in corners" }
+ { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_FLOAT, "offset-x", "Effect centre offset in X" },
+ { GIMP_PDB_FLOAT, "offset-y", "Effect centre offset in Y" },
+ { GIMP_PDB_FLOAT, "main-adjust", "Amount of second-order distortion" },
+ { GIMP_PDB_FLOAT, "edge-adjust", "Amount of fourth-order distortion" },
+ { GIMP_PDB_FLOAT, "rescale", "Rescale overall image size" },
+ { GIMP_PDB_FLOAT, "brighten", "Adjust brightness in corners" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/lens-flare.c
==============================================================================
--- trunk/plug-ins/common/lens-flare.c (original)
+++ trunk/plug-ins/common/lens-flare.c Sat Apr 11 16:57:42 2009
@@ -177,10 +177,10 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "pos-x", "X-position" },
- { GIMP_PDB_INT32, "pos-y", "Y-position" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "pos-x", "X-position" },
+ { GIMP_PDB_INT32, "pos-y", "Y-position" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/max-rgb.c
==============================================================================
--- trunk/plug-ins/common/max-rgb.c (original)
+++ trunk/plug-ins/common/max-rgb.c Sat Apr 11 16:57:42 2009
@@ -80,9 +80,9 @@
static const GimpParamDef args [] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (not used)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "max-p", "1 for maximizing, 0 for minimizing" }
+ { GIMP_PDB_IMAGE, "image", "Input image (not used)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "max-p", "{ MINIMIZE (0), MAXIMIZE (1) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/mosaic.c
==============================================================================
--- trunk/plug-ins/common/mosaic.c (original)
+++ trunk/plug-ins/common/mosaic.c Sat Apr 11 16:57:42 2009
@@ -349,9 +349,9 @@
{ GIMP_PDB_FLOAT, "color-variation", "Magnitude of random color variations (0.0 - 1.0)" },
{ GIMP_PDB_INT32, "antialiasing", "Enables smoother tile output at the cost of speed" },
{ GIMP_PDB_INT32, "color-averaging", "Tile color based on average of subsumed pixels" },
- { GIMP_PDB_INT32, "tile-type", "Tile geometry: { SQUARES (0), HEXAGONS (1), OCTAGONS (2), TRIANGLES (3) }" },
- { GIMP_PDB_INT32, "tile-surface", "Surface characteristics: { SMOOTH (0), ROUGH (1) }" },
- { GIMP_PDB_INT32, "grout-color", "Grout color (black/white or fore/background): { BW (0), FG_BG (1) }" }
+ { GIMP_PDB_INT32, "tile-type", "Tile geometry { SQUARES (0), HEXAGONS (1), OCTAGONS (2), TRIANGLES (3) }" },
+ { GIMP_PDB_INT32, "tile-surface", "Surface characteristics { SMOOTH (0), ROUGH (1) }" },
+ { GIMP_PDB_INT32, "grout-color", "Grout color (black/white or fore/background) { BW (0), FG-BG (1) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/newsprint.c
==============================================================================
--- trunk/plug-ins/common/newsprint.c (original)
+++ trunk/plug-ins/common/newsprint.c Sat Apr 11 16:57:42 2009
@@ -495,19 +495,19 @@
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "cell-width", "screen cell width, in pixels" },
+ { GIMP_PDB_INT32, "cell-width", "Screen cell width in pixels" },
- { GIMP_PDB_INT32, "colorspace", "separate to 0:Grayscale, 1:RGB, 2:CMYK, 3:Luminance" },
+ { GIMP_PDB_INT32, "colorspace", "Separate to { GRAYSCALE (0), RGB (1), CMYK (2), LUMINANCE (3) }" },
{ GIMP_PDB_INT32, "k-pullout", "Percentage of black to pullout (CMYK only)" },
{ GIMP_PDB_FLOAT, "gry-ang", "Grey/black screen angle (degrees)" },
- { GIMP_PDB_INT32, "gry-spotfn", "Grey/black spot function (0=dots, 1=lines, 2=diamonds, 3=euclidean dot, 4=PS diamond)" },
+ { GIMP_PDB_INT32, "gry-spotfn", "Grey/black spot function { DOTS (0), LINES (1), DIAMONDS (2), EUCLIDIAN-DOT (3), PS-DIAMONDS (4) }" },
{ GIMP_PDB_FLOAT, "red-ang", "Red/cyan screen angle (degrees)" },
- { GIMP_PDB_INT32, "red-spotfn", "Red/cyan spot function (values as gry_spotfn)" },
+ { GIMP_PDB_INT32, "red-spotfn", "Red/cyan spot function (values as gry-spotfn)" },
{ GIMP_PDB_FLOAT, "grn-ang", "Green/magenta screen angle (degrees)" },
- { GIMP_PDB_INT32, "grn-spotfn", "Green/magenta spot function (values as gry_spotfn)" },
+ { GIMP_PDB_INT32, "grn-spotfn", "Green/magenta spot function (values as gry-spotfn)" },
{ GIMP_PDB_FLOAT, "blu-ang", "Blue/yellow screen angle (degrees)" },
- { GIMP_PDB_INT32, "blu-spotfn", "Blue/yellow spot function (values as gry_spotfn)" },
+ { GIMP_PDB_INT32, "blu-spotfn", "Blue/yellow spot function (values as gry-spotfn)" },
{ GIMP_PDB_INT32, "oversample", "how many times to oversample spot fn" }
};
Modified: trunk/plug-ins/common/noise-randomize.c
==============================================================================
--- trunk/plug-ins/common/noise-randomize.c (original)
+++ trunk/plug-ins/common/noise-randomize.c Sat Apr 11 16:57:42 2009
@@ -193,7 +193,7 @@
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_FLOAT, "rndm_pct", "Randomization percentage (1.0 - 100.0)" },
{ GIMP_PDB_FLOAT, "rndm_rcount", "Repeat count (1.0 - 100.0)" },
- { GIMP_PDB_INT32, "randomize", "Use random seed (TRUE, FALSE)" },
+ { GIMP_PDB_INT32, "randomize", "Use random seed { TRUE, FALSE }" },
{ GIMP_PDB_INT32, "seed", "Seed value (used only if randomize is FALSE)" }
};
Modified: trunk/plug-ins/common/noise-rgb.c
==============================================================================
--- trunk/plug-ins/common/noise-rgb.c (original)
+++ trunk/plug-ins/common/noise-rgb.c Sat Apr 11 16:57:42 2009
@@ -126,6 +126,7 @@
{ GIMP_PDB_FLOAT, "noise-3", "Noise in the third channel (blue)" },
{ GIMP_PDB_FLOAT, "noise-4", "Noise in the fourth channel (alpha)" }
};
+
static const GimpParamDef noisify_args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
Modified: trunk/plug-ins/common/noise-solid.c
==============================================================================
--- trunk/plug-ins/common/noise-solid.c (original)
+++ trunk/plug-ins/common/noise-solid.c Sat Apr 11 16:57:42 2009
@@ -163,8 +163,8 @@
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
{ GIMP_PDB_IMAGE, "image", "Input image" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "tilable", "Create a tilable output (n=0/y=1)" },
- { GIMP_PDB_INT32, "turbulent", "Make a turbulent noise (n=0/y=1)" },
+ { GIMP_PDB_INT32, "tilable", "Create a tilable output { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "turbulent", "Make a turbulent noise { TRUE, FALSE }" },
{ GIMP_PDB_INT32, "seed", "Random seed" },
{ GIMP_PDB_INT32, "detail", "Detail level (0 - 15)" },
{ GIMP_PDB_FLOAT, "xsize", "Horizontal texture size" },
Modified: trunk/plug-ins/common/noise-spread.c
==============================================================================
--- trunk/plug-ins/common/noise-spread.c (original)
+++ trunk/plug-ins/common/noise-spread.c Sat Apr 11 16:57:42 2009
@@ -75,13 +75,11 @@
{
static const GimpParamDef args[] =
{
- { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_FLOAT, "spread-amount-x",
- "Horizontal spread amount (0 <= spread_amount_x <= 200)" },
- { GIMP_PDB_FLOAT, "spread-amount-y",
- "Vertical spread amount (0 <= spread_amount_y <= 200)" }
+ { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_FLOAT, "spread-amount-x", "Horizontal spread amount (0 <= spread_amount_x <= 200)" },
+ { GIMP_PDB_FLOAT, "spread-amount-y", "Vertical spread amount (0 <= spread_amount_y <= 200)" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/oilify.c
==============================================================================
--- trunk/plug-ins/common/oilify.c (original)
+++ trunk/plug-ins/common/oilify.c Sat Apr 11 16:57:42 2009
@@ -96,22 +96,22 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "mask-size", "Oil paint mask size" },
- { GIMP_PDB_INT32, "mode", "Algorithm {RGB (0), INTENSITY (1)}" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "mask-size", "Oil paint mask size" },
+ { GIMP_PDB_INT32, "mode", "Algorithm { RGB (0), INTENSITY (1) }" }
};
static const GimpParamDef args_enhanced[] =
{
- { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "mode", "Algorithm {RGB (0), INTENSITY (1)}" },
- { GIMP_PDB_INT32, "mask-size", "Oil paint mask size" },
- { GIMP_PDB_DRAWABLE, "mask-size-map", "Mask size control map" },
- { GIMP_PDB_INT32, "exponent", "Oil paint exponent" },
- { GIMP_PDB_DRAWABLE, "exponent-map", "Exponent control map" }
+ { GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "mode", "Algorithm { RGB (0), INTENSITY (1) }" },
+ { GIMP_PDB_INT32, "mask-size", "Oil paint mask size" },
+ { GIMP_PDB_DRAWABLE, "mask-size-map", "Mask size control map" },
+ { GIMP_PDB_INT32, "exponent", "Oil paint exponent" },
+ { GIMP_PDB_DRAWABLE, "exponent-map", "Exponent control map" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/pixelize.c
==============================================================================
--- trunk/plug-ins/common/pixelize.c (original)
+++ trunk/plug-ins/common/pixelize.c Sat Apr 11 16:57:42 2009
@@ -145,16 +145,16 @@
static const GimpParamDef pixelize_args[]=
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_INT32, "pixel-width", "Pixel width (the decrease in resolution)" }
};
static const GimpParamDef pixelize2_args[]=
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_INT32, "pixel-width", "Pixel width (the decrease in horizontal resolution)" },
{ GIMP_PDB_INT32, "pixel-height", "Pixel height (the decrease in vertical resolution)" }
};
Modified: trunk/plug-ins/common/plasma.c
==============================================================================
--- trunk/plug-ins/common/plasma.c (original)
+++ trunk/plug-ins/common/plasma.c Sat Apr 11 16:57:42 2009
@@ -165,10 +165,10 @@
static const GimpParamDef args[]=
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "seed", "Random seed" },
- { GIMP_PDB_FLOAT, "turbulence", "Turbulence of plasma" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_INT32, "seed", "Random seed" },
+ { GIMP_PDB_FLOAT, "turbulence", "Turbulence of plasma" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/polar-coords.c
==============================================================================
--- trunk/plug-ins/common/polar-coords.c (original)
+++ trunk/plug-ins/common/polar-coords.c Sat Apr 11 16:57:42 2009
@@ -142,13 +142,13 @@
static const GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_FLOAT, "circle", "Circle depth in %" },
- { GIMP_PDB_FLOAT, "angle", "Offset angle" },
- { GIMP_PDB_INT32, "backwards", "Map backwards?" },
- { GIMP_PDB_INT32, "inverse", "Map from top?" },
- { GIMP_PDB_INT32, "polrec", "Polar to rectangular?" }
+ { GIMP_PDB_IMAGE, "image", "Input image" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
+ { GIMP_PDB_FLOAT, "circle", "Circle depth in %" },
+ { GIMP_PDB_FLOAT, "angle", "Offset angle" },
+ { GIMP_PDB_INT32, "backwards", "Map backwards { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "inverse", "Map from top { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "polrec", "Polar to rectangular { TRUE, FALSE }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/qbist.c
==============================================================================
--- trunk/plug-ins/common/qbist.c (original)
+++ trunk/plug-ins/common/qbist.c Sat Apr 11 16:57:42 2009
@@ -393,8 +393,8 @@
GimpParamDef args[] =
{
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
- { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
- { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
+ { GIMP_PDB_IMAGE, "image", "Input image (unused)" },
+ { GIMP_PDB_DRAWABLE, "drawable", "Input drawable" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/ripple.c
==============================================================================
--- trunk/plug-ins/common/ripple.c (original)
+++ trunk/plug-ins/common/ripple.c Sat Apr 11 16:57:42 2009
@@ -112,13 +112,13 @@
{ GIMP_PDB_INT32, "run-mode", "The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }" },
{ GIMP_PDB_IMAGE, "image", "Input image (unused)" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
- { GIMP_PDB_INT32, "period", "Period; number of pixels for one wave to complete" },
- { GIMP_PDB_INT32, "amplitude", "Amplitude; maximum displacement of wave" },
+ { GIMP_PDB_INT32, "period", "Period: number of pixels for one wave to complete" },
+ { GIMP_PDB_INT32, "amplitude", "Amplitude: maximum displacement of wave" },
{ GIMP_PDB_INT32, "orientation", "Orientation { ORIENTATION-HORIZONTAL (0), ORIENTATION-VERTICAL (1) }" },
- { GIMP_PDB_INT32, "edges", "Edges; 0 = smear, 1 = wrap, 2 = blank" },
- { GIMP_PDB_INT32, "waveform", "0 = sawtooth, 1 = sine wave" },
- { GIMP_PDB_INT32, "antialias", "antialias; True or False" },
- { GIMP_PDB_INT32, "tile", "tile; if this is true, the image will retain it's tilability" }
+ { GIMP_PDB_INT32, "edges", "Edges { SMEAR (0), WRAP (1), BLANK (2) }" },
+ { GIMP_PDB_INT32, "waveform", "Waveform { SAWTOOTH (0), SINE (1) }" },
+ { GIMP_PDB_INT32, "antialias", "Antialias { TRUE, FALSE }" },
+ { GIMP_PDB_INT32, "tile", "Tileable { TRUE, FALSE }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/rotate.c
==============================================================================
--- trunk/plug-ins/common/rotate.c (original)
+++ trunk/plug-ins/common/rotate.c Sat Apr 11 16:57:42 2009
@@ -125,7 +125,7 @@
{ GIMP_PDB_IMAGE, "image", "Input image" },
{ GIMP_PDB_DRAWABLE, "drawable", "Input drawable" },
{ GIMP_PDB_INT32, "angle", "Angle { 90 (1), 180 (2), 270 (3) } degrees" },
- { GIMP_PDB_INT32, "everything", "Rotate the whole image? { TRUE, FALSE }" }
+ { GIMP_PDB_INT32, "everything", "Rotate the whole image { TRUE, FALSE }" }
};
gimp_install_procedure (PLUG_IN_PROC,
Modified: trunk/plug-ins/common/wind.c
==============================================================================
--- trunk/plug-ins/common/wind.c (original)
+++ trunk/plug-ins/common/wind.c Sat Apr 11 16:57:42 2009
@@ -166,8 +166,8 @@
{ GIMP_PDB_INT32, "threshold", "Controls where blending will be done >= 0" },
{ GIMP_PDB_INT32, "direction", "Left or Right: 0 or 1" },
{ GIMP_PDB_INT32, "strength", "Controls the extent of the blending > 1" },
- { GIMP_PDB_INT32, "algorithm", "WIND, BLAST" },
- { GIMP_PDB_INT32, "edge", "LEADING, TRAILING, or BOTH" }
+ { GIMP_PDB_INT32, "algorithm", "Algorithm { WIND (0), BLAST (1) }" },
+ { GIMP_PDB_INT32, "edge", "Edge behavior { BOTH (0), LEADING (1), TRAILING (2) }" }
};
gimp_install_procedure (PLUG_IN_PROC,
@@ -214,9 +214,9 @@
{
config.threshold = param[3].data.d_int32;
config.direction = param[4].data.d_int32;
- config.strength = param[5].data.d_int32;
- config.alg = param[6].data.d_int32;
- config.edge = param[7].data.d_int32;
+ config.strength = param[5].data.d_int32;
+ config.alg = param[6].data.d_int32;
+ config.edge = param[7].data.d_int32;
if (render_effect (drawable, NULL) == -1)
status = GIMP_PDB_EXECUTION_ERROR;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]