diff color_macros.xml @ 0:03bbcfd3d708 draft default tip

"planemo upload for repository https://github.com/ximg-chess/galaxytools/tree/master/tools/neper commit 9f77ab5ee7831c00b3a27e02ec8e59d95e6fb9cf"
author ximgchess
date Thu, 07 Jul 2022 12:31:10 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/color_macros.xml	Thu Jul 07 12:31:10 2022 +0000
@@ -0,0 +1,149 @@
+    <macros>
+        <xml name="color_options">
+            <option value="black">black</option>
+            <option value="red">red</option>
+            <option value="green">green</option>
+            <option value="yellow">yellow</option>
+            <option value="cyan">cyan</option>
+            <option value="blue">blue</option>
+            <option value="magenta">magenta</option>
+            <option value="white">white</option>
+            <option value="maroon">maroon</option>
+            <option value="chartreuse">chartreuse</option>
+            <option value="olive">olive</option>
+            <option value="teal">teal</option>
+            <option value="deepskyblue">deepskyblue</option>
+            <option value="darkgray">darkgray</option>
+            <option value="silver">silver</option>
+            <option value="darkred">darkred</option>
+            <option value="darkorange">darkorange</option>
+            <option value="ghostwhite">ghostwhite</option>
+            <option value="mediumblue">mediumblue</option>
+            <option value="mintcream">mintcream</option>
+            <option value="lightcoral">lightcoral</option>
+            <option value="coral">coral</option>
+            <option value="floralwhite">floralwhite</option>
+            <option value="lemonchiffon">lemonchiffon</option>
+            <option value="darkgreen">darkgreen</option>
+            <option value="aliceblue">aliceblue</option>
+            <option value="lightyellow">lightyellow</option>
+            <option value="darkcyan">darkcyan</option>
+            <option value="steelblue">steelblue</option>
+            <option value="seashell">seashell</option>
+            <option value="darkslateblue">darkslateblue</option>
+            <option value="lightsalmon">lightsalmon</option>
+            <option value="lightskyblue">lightskyblue</option>
+            <option value="honeydew">honeydew</option>
+            <option value="peachpuff">peachpuff</option>
+            <option value="tomato">tomato</option>
+            <option value="hotpink">hotpink</option>
+            <option value="blanchedalmond">blanchedalmond</option>
+            <option value="moccasin">moccasin</option>
+            <option value="mediumseagreen">mediumseagreen</option>
+            <option value="violet">violet</option>
+            <option value="papayawhip">papayawhip</option>
+            <option value="rosybrown">rosybrown</option>
+            <option value="saddlebrown">saddlebrown</option>
+            <option value="dodgerblue">dodgerblue</option>
+            <option value="burlywood">burlywood</option>
+            <option value="linen">linen</option>
+            <option value="turquoise">turquoise</option>
+            <option value="mediumturquoise">mediumturquoise</option>
+            <option value="mistyrose">mistyrose</option>
+            <option value="antiquewhite">antiquewhite</option>
+            <option value="limegreen">limegreen</option>
+            <option value="lightsteelblue">lightsteelblue</option>
+            <option value="palegreen">palegreen</option>
+            <option value="wheat">wheat</option>
+            <option value="lavender">lavender</option>
+            <option value="lightgreen">lightgreen</option>
+            <option value="darkslategray">darkslategray</option>
+            <option value="seagreen">seagreen</option>
+            <option value="blueviolet">blueviolet</option>
+            <option value="navy">navy</option>
+            <option value="springgreen">springgreen</option>
+            <option value="purple">purple</option>
+            <option value="gray">gray</option>
+            <option value="lawngreen">lawngreen</option>
+            <option value="orangered">orangered</option>
+            <option value="snow">snow</option>
+            <option value="darkblue">darkblue</option>
+            <option value="azure">azure</option>
+            <option value="ivory">ivory</option>
+            <option value="lightpink">lightpink</option>
+            <option value="indigo">indigo</option>
+            <option value="pink">pink</option>
+            <option value="salmon">salmon</option>
+            <option value="aquamarine">aquamarine</option>
+            <option value="gold">gold</option>
+            <option value="orange">orange</option>
+            <option value="lightcyan">lightcyan</option>
+            <option value="darkmagenta">darkmagenta</option>
+            <option value="peru">peru</option>
+            <option value="lavenderblush">lavenderblush</option>
+            <option value="mediumspringgreen">mediumspringgreen</option>
+            <option value="darkgoldenrod">darkgoldenrod</option>
+            <option value="bisque">bisque</option>
+            <option value="lightgoldenrodyellow">lightgoldenrodyellow</option>
+            <option value="cornsilk">cornsilk</option>
+            <option value="whitesmoke">whitesmoke</option>
+            <option value="slategray">slategray</option>
+            <option value="oldlace">oldlace</option>
+            <option value="darkkhaki">darkkhaki</option>
+            <option value="darkturquoise">darkturquoise</option>
+            <option value="mediumvioletred">mediumvioletred</option>
+            <option value="greenyellow">greenyellow</option>
+            <option value="darkseagreen">darkseagreen</option>
+            <option value="deeppink">deeppink</option>
+            <option value="darkviolet">darkviolet</option>
+            <option value="lightslategray">lightslategray</option>
+            <option value="navajowhite">navajowhite</option>
+            <option value="mediumslateblue">mediumslateblue</option>
+            <option value="skyblue">skyblue</option>
+            <option value="beige">beige</option>
+            <option value="tan">tan</option>
+            <option value="thistle">thistle</option>
+            <option value="darksalmon">darksalmon</option>
+            <option value="royalblue">royalblue</option>
+            <option value="crimson">crimson</option>
+            <option value="mediumorchid">mediumorchid</option>
+            <option value="khaki">khaki</option>
+            <option value="paleturquoise">paleturquoise</option>
+            <option value="darkorchid">darkorchid</option>
+            <option value="yellowgreen">yellowgreen</option>
+            <option value="palevioletred">palevioletred</option>
+            <option value="olivedrab">olivedrab</option>
+            <option value="sandybrown">sandybrown</option>
+            <option value="mediumaquamarine">mediumaquamarine</option>
+            <option value="palegoldenrod">palegoldenrod</option>
+            <option value="midnightblue">midnightblue</option>
+            <option value="lightgray">lightgray</option>
+            <option value="cornflowerblue">cornflowerblue</option>
+            <option value="firebrick">firebrick</option>
+            <option value="indianred">indianred</option>
+            <option value="lightblue">lightblue</option>
+            <option value="brown">brown</option>
+            <option value="gainsboro">gainsboro</option>
+            <option value="cadetblue">cadetblue</option>
+            <option value="mediumpurple">mediumpurple</option>
+            <option value="darkolivegreen">darkolivegreen</option>
+            <option value="slateblue">slateblue</option>
+            <option value="forestgreen">forestgreen</option>
+            <option value="lightseagreen">lightseagreen</option>
+            <option value="orchid">orchid</option>
+            <option value="sienna">sienna</option>
+            <option value="powderblue">powderblue</option>
+            <option value="dimgray">dimgray</option>
+            <option value="chocolate">chocolate</option>
+            <option value="goldenrod">goldenrod</option>
+            <option value="plum">plum</option>
+        </xml>
+        <token name="@COLOR_REGEX@">([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])</token>
+        <xml name="color_selector" token_name="imagebackground" token_label="Color">
+            <param name="@NAME@" type="text" value="" optional="true" label="@LABEL@">
+                <help>A color name or RGB, e.g. yellow or 255,255,0 </help>
+                <expand macro="color_options"/>
+                <validator type="regex" message="color name or numbers between 0 and 255" >^([a-z]+|@COLOR_REGEX@,@COLOR_REGEX@,@COLOR_REGEX@)$</validator>
+            </param>
+        </xml>
+</macros>