[Laszlo-checkins] r16780 - openlaszlo/branches/4.8/WEB-INF/lps/lfc/views

ptw@openlaszlo.org ptw at openlaszlo.org
Thu Jun 24 07:58:31 PDT 2010


Author: ptw
Date: 2010-06-24 07:58:29 -0700 (Thu, 24 Jun 2010)
New Revision: 16780

Modified:
   openlaszlo/branches/4.8/WEB-INF/lps/lfc/views/LaszloView.lzs
Log:
Change 20100624-ptw-z by ptw at padme.home on 2010-06-24 10:56:04 EDT
    in /Users/ptw/OpenLaszlo/4.8
    for http://svn.openlaszlo.org/openlaszlo/branches/4.8

Summary: Revert risky changes incorrectly integrated from 16757

Bugs Fixed:  LPP-9124 setAttribute('tintcolor' issues a warning about fgcolor being set

Technical Reviewer: andre.bargull at udo.edu (pending)
QA Reviewer: RyanM at avtech.com (pending)



Modified: openlaszlo/branches/4.8/WEB-INF/lps/lfc/views/LaszloView.lzs
===================================================================
--- openlaszlo/branches/4.8/WEB-INF/lps/lfc/views/LaszloView.lzs	2010-06-24 01:18:28 UTC (rev 16779)
+++ openlaszlo/branches/4.8/WEB-INF/lps/lfc/views/LaszloView.lzs	2010-06-24 14:58:29 UTC (rev 16780)
@@ -2223,7 +2223,7 @@
   * view or subview resources. Use the view method
   * <method>setColorTransform</method> to tint a view.
   * @param Integer c: A color in rgb format; for example, 0xff0000 is red.
-  * @deprecated Use setAttribute('tintcolor', ...) instead.
+  * @deprecated Use setAttribute('fgcolor', ...) instead.
   */
 final function setColor ( c ){
     if ($debug) Debug.deprecated(this, arguments.callee, this.setAttribute);
@@ -2258,10 +2258,8 @@
   *
   * @runtimes as2
   * @param Object o: A color transformation dictionary
-  * @deprecated Use setAttribute('tintcolor', ...) instead.
   */
 function setColorTransform ( o ){
-    if ($debug) Debug.deprecated(this, arguments.callee, this.setAttribute);
     if (this.capabilities.colortransform) {
         this.sprite.setColorTransform(o);
        // update the tintcolor attribute
@@ -2289,10 +2287,8 @@
   * o.ab: overall offset (-255 to 255);
   *
   * @runtimes as2
-  * @deprecated
   */
 function getColorTransform (){
-    if ($debug) Debug.deprecated(this, arguments.callee, this.tintcolor);
     if (this.capabilities.colortransform) {
         return this.sprite.getColorTransform();
     } else if ($debug) {



More information about the Laszlo-checkins mailing list