[Laszlo-checkins] r11840 - in openlaszlo/trunk/docs/src/developers: . programs

lou@openlaszlo.org lou at openlaszlo.org
Thu Nov 20 06:31:30 PST 2008


Author: lou
Date: 2008-11-20 06:31:01 -0800 (Thu, 20 Nov 2008)
New Revision: 11840

Added:
   openlaszlo/trunk/docs/src/developers/programs/nonstandardcolors.lzx
Modified:
   openlaszlo/trunk/docs/src/developers/colors.dbk
Log:
Change 20081120-lou-n by lou at loumac.local on 2008-11-20 10:22:45 AST
    in /Users/lou/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: change nonstandard color example to use hex and rgb()

Bugs Fixed: LPP-7366

Technical Reviewer: (pending)
QA Reviewer: (pending)
Doc Reviewer: tucker

Details: replace example using the now-disgraced colors.lzx with one using hex and rgb()

Tests: visual verify



Modified: openlaszlo/trunk/docs/src/developers/colors.dbk
===================================================================
--- openlaszlo/trunk/docs/src/developers/colors.dbk	2008-11-20 14:27:50 UTC (rev 11839)
+++ openlaszlo/trunk/docs/src/developers/colors.dbk	2008-11-20 14:31:01 UTC (rev 11840)
@@ -73,15 +73,14 @@
    </programlisting>
 </example>
 
-</section><section><title>Non-Standard Colors</title>
+</section><section><title>Nonstandard Colors</title>
 <para>
-To specify any color but the 16 which are usable by name, use 0xFFFFFF hex codes. Alternatively, the non-standard colors named in <literal>lps/components/base/colors.lzx</literal> were added to OpenLaszlo's global namespace. Those colors can also be employed by name, but note the ${constraint} syntax around the bgcolor specification.  There are two ways to make the constraint: <literal>bgcolor="${global['iceblue1']}"</literal> is the same as <literal>bgcolor="${iceblue1}"</literal>.
-</para>
+To specify any color other than the 16 which are usable by name, use hex codes or <literal>rgb()</literal>. With <literal>rgb()</literal>, you can specify values as decimal or as percents. </para>
 
 <example role="live-example">
-   <title>Non-standard colors</title>
+   <title>Nonstandard colors</title>
    <programlisting language="lzx">
-   <textobject><textdata fileref="programs/color-$6.lzx"/></textobject> 
+   <textobject><textdata fileref="programs/nonstandardcolors.lzx"/></textobject> 
    </programlisting>
 </example>
 

Added: openlaszlo/trunk/docs/src/developers/programs/nonstandardcolors.lzx


Property changes on: openlaszlo/trunk/docs/src/developers/programs/nonstandardcolors.lzx
___________________________________________________________________
Name: svn:mime-type
   + text/plain
Name: svn:eol-style
   + native



More information about the Laszlo-checkins mailing list