mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-04 01:43:24 +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
|
@ -237,10 +237,10 @@ gimp_color_button_class_init (GimpColorButtonClass *klass)
|
|||
* Since: 2.4
|
||||
*/
|
||||
g_object_class_install_property (object_class, PROP_COLOR,
|
||||
gegl_param_spec_color_from_string ("color",
|
||||
gimp_param_spec_color_from_string ("color",
|
||||
"Color",
|
||||
"The color displayed in the button's color area",
|
||||
"black",
|
||||
TRUE, "black",
|
||||
GIMP_PARAM_READWRITE |
|
||||
G_PARAM_CONSTRUCT));
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue