[gegl] operations: annotate plasma's properties with property keys



commit d2eb7bb1bc981b8d7c9fd2cb0f0c99fceb99194d
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 16 02:23:38 2014 +0200

    operations: annotate plasma's properties with property keys
    
    Use an ad-hoc made up "role" to specify the output size, this
    probably has to change.

 operations/common/plasma.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/operations/common/plasma.c b/operations/common/plasma.c
index 428c46b..4e22b45 100644
--- a/operations/common/plasma.c
+++ b/operations/common/plasma.c
@@ -44,7 +44,7 @@ gegl_property_double (
     "min",     0.0,
     "max",     7.0,
     "default", 1.0,
-    "blurb", _("High values; gives more variation in details"),
+    "blurb", _("High values give more variation in details"),
     NULL)
 
 gegl_property_int (
@@ -53,6 +53,7 @@ gegl_property_int (
     "ui-min", -4096,
     "ui-max",  4096,
     "blurb", _("X start of the generated buffer"),
+    "role",  "source-x",
     NULL)
 
 gegl_property_int (
@@ -61,6 +62,7 @@ gegl_property_int (
     "ui-min", -4096,
     "ui-max",  4096,
     "blurb", _("Y start of the generated buffer"),
+    "role",  "source-y",
     NULL)
 
 gegl_property_int (
@@ -71,6 +73,7 @@ gegl_property_int (
     "ui-min",     0,
     "ui-max",  4096,
     "blurb", _("Width of the generated buffer"),
+    "role",  "source-width",
     NULL)
 
 gegl_property_int (
@@ -81,6 +84,7 @@ gegl_property_int (
     "ui-min",    0,
     "ui-max", 4096,
     "blurb", _("Height of the generated buffer"),
+    "role",  "source-height",
     NULL)
 
 #else


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