Commit e2dc72b1 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

various plug-in parameter cleanups that have piled up on my disk: some

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.


svn path=/trunk/; revision=28260
parent 83b37fb4
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.
2009-04-03 Michael Natterer <mitch@gimp.org>
Bug 577575 transform tool fills underlying extracted area wrongly
......
......@@ -172,10 +172,10 @@ query (void)
{ 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,
......
......@@ -119,8 +119,8 @@ query (void)
{ 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,
......
......@@ -132,7 +132,7 @@ query (void)
{ 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[] =
......
......@@ -145,7 +145,7 @@ query (void)
{ 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)" },
......
......@@ -246,10 +246,10 @@ query (void)
{ 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,
......
......@@ -114,7 +114,7 @@ query (void)
{ 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)" }
};
......
......@@ -158,7 +158,7 @@ query (void)
{ 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" },
......
......@@ -78,10 +78,10 @@ query (void)
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,
......
......@@ -92,8 +92,8 @@ query (void)
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[] =
......
......@@ -60,8 +60,8 @@ query (void)
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,
......
......@@ -84,9 +84,9 @@ query (void)
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,
......
......@@ -92,9 +92,9 @@ query (void)
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,
......
......@@ -78,7 +78,7 @@ query (void)
{ 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 @@ query (void)
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,
......
......@@ -71,8 +71,8 @@ query (void)
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,
......
......@@ -59,8 +59,8 @@ query (void)
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,
......
......@@ -59,8 +59,8 @@ query (void)
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,
......
......@@ -193,7 +193,7 @@ query (void)
{ 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 @@ run (const gchar *name,
}
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 @@ run (const gchar *name,
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);
}
......
......@@ -76,8 +76,8 @@ query (void)
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,
......
......@@ -76,8 +76,8 @@ query (void)
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,
......
Supports Markdown
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