Revision: 4661 http://sourceforge.net/p/vexi/code/4661 Author: mkpg2 Date: 2014-02-14 17:08:28 +0000 (Fri, 14 Feb 2014) Log Message: ----------- Colour list.
Added Paths: ----------- branches/vexi3/org.vexi-vexi.widgets/src_poke/tool/colorlist.t Added: branches/vexi3/org.vexi-vexi.widgets/src_poke/tool/colorlist.t =================================================================== --- branches/vexi3/org.vexi-vexi.widgets/src_poke/tool/colorlist.t (rev 0) +++ branches/vexi3/org.vexi-vexi.widgets/src_poke/tool/colorlist.t 2014-02-14 17:08:28 UTC (rev 4661) @@ -0,0 +1,184 @@ +<!-- public domain --> + +<vexi xmlns:ui="vexi://ui" + xmlns:wi="vexi.widget" + xmlns:lang="vexi://lang" + xmlns:tool="org.vexi.tool"> + <wi:surface/> + <ui:box> + <wi:scrollpane id="area" orient="vertical" scrollhorizontal="false"> + + </wi:scrollpane> + + + <lang:subtemplate property="Row"> + <ui:Box> + <wi:border margin="10" hshrink="true" border="black" depth="3"> + <ui:Box id="colour" width="80" height="40"/> + </wi:border> + <ui:Box id="label" hshrink="true"/> + <ui:Box/> + const colour = arguments[0]; +// fill=colour; + $colour.fill=colour; + $label.text=colour; + </ui:Box> + </lang:subtemplate> + + for(var i,colour in static.LIST){ + $area.add(new Row(colour)); + } + + vexi.ui.frame = thisbox; + </ui:box> + + static.LIST = [ + "aliceblue", + "antiquewhite", + "aqua", + "aquamarine", + "azure", + "beige", + "bisque", + "black", + "blanchedalmond", + "blue", + "blueviolet", + "brown", + "burlywood", + "cadetblue", + "chartreuse", + "chocolate", + "coral", + "cornflowerblue", + "cornsilk", + "crimson", + "cyan", + "darkblue", + "darkcyan", + "darkgoldenrod", + "darkgray", + "darkgreen", + "darkgrey", + "darkkhaki", + "darkmagenta", + "darkolivegreen", + "darkorange", + "darkorchid", + "darkred", + "darksalmon", + "darkseagreen", + "darkslateblue", + "darkslategray", + "darkslategrey", + "darkturquoise", + "darkviolet", + "deeppink", + "deepskyblue", + "dimgray", + "dimgrey", + "dodgerblue", + "firebrick", + "floralwhite", + "forestgreen", + "fuchsia", + "gainsboro", + "ghostwhite", + "gold", + "goldenrod", + "gray", + "grey", + "green", + "greenyellow", + "honeydew", + "hotpink", + "indianred", + "indigo", + "ivory", + "khaki", + "lavender", + "lavenderblush", + "lawngreen", + "lemonchiffon", + "lightblue", + "lightcoral", + "lightcyan", + "lightgoldenrodyellow", + "lightgray", + "lightgreen", + "lightgrey", + "lightpink", + "lightsalmon", + "lightseagreen", + "lightskyblue", + "lightslategray", + "lightslategrey", + "lightsteelblue", + "lightyellow", + "lime", + "limegreen", + "linen", + "magenta", + "maroon", + "mediumaquamarine", + "mediumblue", + "mediumorchid", + "mediumpurple", + "mediumseagreen", + "mediumslateblue", + "mediumspringgreen", + "mediumturquoise", + "mediumvioletred", + "midnightblue", + "mintcream", + "mistyrose", + "moccasin", + "navajowhite", + "navy", + "oldlace", + "olive", + "olivedrab", + "orange", + "orangered", + "orchid", + "palegoldenrod", + "palegreen", + "paleturquoise", + "palevioletred", + "papayawhip", + "peachpuff", + "peru", + "pink", + "plum", + "powderblue", + "purple", + "red", + "rosybrown", + "royalblue", + "saddlebrown", + "salmon", + "sandybrown", + "seagreen", + "seashell", + "sienna", + "silver", + "skyblue", + "slateblue", + "slategray", + "slategrey", + "snow", + "springgreen", + "steelblue", + "tan", + "teal", + "thistle", + "tomato", + "turquoise", + "violet", + "wheat", + "white", + "whitesmoke", + "yellow", + "yellowgreen" + ]; +</vexi> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Android apps run on BlackBerry 10 Introducing the new BlackBerry 10.2.1 Runtime for Android apps. Now with support for Jelly Bean, Bluetooth, Mapview and more. Get your Android app in front of a whole new audience. Start now. http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn