[babl] extensions/HSV: update model docs



commit ea6de89e307d189dbcd400f8728635c2547beee9
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Jul 24 15:28:38 2019 +0200

    extensions/HSV: update model docs

 extensions/HSV.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/extensions/HSV.c b/extensions/HSV.c
index aa301e3..5659386 100644
--- a/extensions/HSV.c
+++ b/extensions/HSV.c
@@ -95,23 +95,23 @@ components (void)
 static void
 models (void)
 {
+
   babl_model_new (
-    "name", "HSVA",
+    "name", "HSV",
     babl_component ("hue"),
     babl_component ("saturation"),
     babl_component ("value"),
-    babl_component ("alpha"),
-    "alpha",
-    "doc", "A legacy color model that exists for compatibility with old GIMP code, V is MAX(R,G,B), with 
separate alpha.",
+    "doc", "A legacy color model that exists for compatibility with old GIMP code, V is MAX(R,G,B).",
     NULL
   );
-
   babl_model_new (
-    "name", "HSV",
+    "name", "HSVA",
     babl_component ("hue"),
     babl_component ("saturation"),
     babl_component ("value"),
-    "doc", "A legacy color model that exists for compatibility with old GIMP code, V is MAX(R,G,B).",
+    babl_component ("alpha"),
+    "alpha",
+    "doc", "HSV with separate alpha.",
     NULL
   );
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]