app, libgimp*, modules, pdb, plug-ins: new GimpParamColor.
This is meant to obsolete GeglParamColor with at least an additional argument has_alpha which we need in GIMP. It allows to advertize when a parameter wants an opaque color, which in particular means we know when displaying a GUI to pick colors with alpha or not.
This commit is contained in:
@ -113,10 +113,10 @@ gimp_label_color_class_init (GimpLabelColorClass *klass)
|
||||
*
|
||||
* Since: 3.0
|
||||
**/
|
||||
object_props[PROP_VALUE] = gegl_param_spec_color_from_string ("value",
|
||||
object_props[PROP_VALUE] = gimp_param_spec_color_from_string ("value",
|
||||
"Color",
|
||||
"The displayed color",
|
||||
"black",
|
||||
TRUE, "black",
|
||||
GIMP_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT);
|
||||
|
||||
|
Reference in New Issue
Block a user