Code

Extensions:
[inkscape.git] / share / extensions / color_randomize.inx
index 43b923fd67955b5e9c9fa1514d4ab6ad39ca0e8b..82691f0f46c432446035695c9118a028b54111d8 100644 (file)
@@ -1,12 +1,20 @@
-<inkscape-extension>
+<?xml version="1.0" encoding="UTF-8"?>
+<inkscape-extension xmlns="http://www.inkscape.org/namespace/inkscape/extension">
        <_name>Randomize</_name>
        <id>org.inkscape.color.randomize</id>
        <dependency type="executable" location="extensions">coloreffect.py</dependency>
        <dependency type="executable" location="extensions">color_randomize.py</dependency>
        <dependency type="executable" location="extensions">simplestyle.py</dependency>
-       <param name="hue" type="boolean" _gui-text="Hue">true</param>
-       <param name="saturation" type="boolean" _gui-text="Saturation">true</param>
-       <param name="lightness" type="boolean" _gui-text="Lightness">true</param>
+       <param name="tab" type="notebook">
+        <page name="Options" _gui-text="Options">
+               <param name="hue" type="boolean" _gui-text="Hue">true</param>
+               <param name="saturation" type="boolean" _gui-text="Saturation">true</param>
+               <param name="lightness" type="boolean" _gui-text="Lightness">true</param>
+        </page>
+        <page name="Help" _gui-text="Help">
+            <_param name="instructions" type="description" xml:space="preserve">Converts to HSL, randomizes hue and/or saturation and/or lightness and converts it back to RGB.</_param>
+        </page>
+    </param>    
        <effect>
                <object-type>all</object-type>
                <effects-menu>
@@ -16,4 +24,4 @@
        <script>
                <command reldir="extensions" interpreter="python">color_randomize.py</command>
        </script>
-</inkscape-extension>
\ No newline at end of file
+</inkscape-extension>