mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 09:53:25 +00:00
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:
parent
cbb333c220
commit
2b27feb2fd
50 changed files with 526 additions and 162 deletions
|
@ -296,7 +296,7 @@ script_fu_arg_get_param_spec (SFArg *arg,
|
|||
{
|
||||
GeglColor *color = sf_color_arg_get_default_color (arg);
|
||||
|
||||
pspec = gegl_param_spec_color (name, nick, arg->label, color, G_PARAM_READWRITE);
|
||||
pspec = gimp_param_spec_color (name, nick, arg->label, TRUE, color, G_PARAM_READWRITE);
|
||||
g_object_unref (color);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue