[gimp] Bug 749902 - Add Hue-Chroma operation/tool and LCH color selector
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 749902 - Add Hue-Chroma operation/tool and LCH color selector
- Date: Sun, 7 May 2017 16:33:27 +0000 (UTC)
commit e5e9e4b6c8851b13f88b0e707f1de3e2078e305b
Author: Michael Natterer <mitch gimp org>
Date: Sun May 7 18:32:45 2017 +0200
Bug 749902 - Add Hue-Chroma operation/tool and LCH color selector
Add gegl:hue-chroma to the "Colors" menu.
app/actions/filters-actions.c | 6 ++++++
app/sanity.c | 1 +
app/tools/gimpgegltool.c | 1 +
app/widgets/gimphelp-ids.h | 1 +
menus/image-menu.xml.in | 1 +
5 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/app/actions/filters-actions.c b/app/actions/filters-actions.c
index 16f678a..8ae9c00 100644
--- a/app/actions/filters-actions.c
+++ b/app/actions/filters-actions.c
@@ -292,6 +292,11 @@ static const GimpStringActionEntry filters_actions[] =
"gegl:high-pass",
GIMP_HELP_FILTER_HIGH_PASS },
+ { "filters-hue-chroma", GIMP_ICON_GEGL,
+ NC_("filters-action", "_Hue-_Chroma..."), NULL, NULL,
+ "gegl:hue-chroma",
+ GIMP_HELP_FILTER_HUE_CHROMA },
+
{ "filters-illusion", GIMP_ICON_GEGL,
NC_("filters-action", "_Illusion..."), NULL, NULL,
"gegl:illusion",
@@ -748,6 +753,7 @@ filters_actions_update (GimpActionGroup *group,
SET_SENSITIVE ("filters-gegl-graph", writable);
SET_SENSITIVE ("filters-grid", writable);
SET_SENSITIVE ("filters-high-pass", writable);
+ SET_SENSITIVE ("filters-hue-chroma", writable);
SET_SENSITIVE ("filters-illusion", writable);
SET_SENSITIVE ("filters-image-gradient", writable);
SET_SENSITIVE ("filters-kaleidoscope", writable);
diff --git a/app/sanity.c b/app/sanity.c
index 8e3b438..90fe1be 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -565,6 +565,7 @@ sanity_check_gegl_ops (void)
"gegl:gegl",
"gegl:grid",
"gegl:high-pass",
+ "gegl:hue-chroma",
"gegl:illusion",
"gegl:image-gradient",
"gegl:introspect",
diff --git a/app/tools/gimpgegltool.c b/app/tools/gimpgegltool.c
index 7691f7f..c12e04f 100644
--- a/app/tools/gimpgegltool.c
+++ b/app/tools/gimpgegltool.c
@@ -151,6 +151,7 @@ gimp_gegl_tool_operation_blacklisted (const gchar *name,
"gegl:gegl",
"gegl:grid",
"gegl:high-pass",
+ "gegl:hue-chroma",
"gegl:illusion",
"gegl:image-gradient",
"gegl:invert-linear",
diff --git a/app/widgets/gimphelp-ids.h b/app/widgets/gimphelp-ids.h
index 20e93f9..d782e3f 100644
--- a/app/widgets/gimphelp-ids.h
+++ b/app/widgets/gimphelp-ids.h
@@ -371,6 +371,7 @@
#define GIMP_HELP_FILTER_GEGL_GRAPH "gimp-filter-gegl"
#define GIMP_HELP_FILTER_GAUSSIAN_GRID "gimp-filter-grid"
#define GIMP_HELP_FILTER_HIGH_PASS "gimp-filter-high-pass"
+#define GIMP_HELP_FILTER_HUE_CHROMA "gimp-filter-hue-chroma"
#define GIMP_HELP_FILTER_ILLUSION "gimp-filter-illusion"
#define GIMP_HELP_FILTER_IMAGE_GRADIENT "gimp-filter-image-gradient"
#define GIMP_HELP_FILTER_KALEIDOSCOPE "gimp-filter-kaleidoscope"
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index bee5a62..8a98afc 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -558,6 +558,7 @@
<menu action="colors-menu" name="Colors">
<menuitem action="tools-color-balance" />
<menuitem action="filters-color-temperature" />
+ <menuitem action="filters-hue-chroma" />
<menuitem action="tools-hue-saturation" />
<menuitem action="filters-saturation" />
<menuitem action="filters-exposure" />
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]