[Laszlo-checkins] r10232 - openlaszlo/trunk/demos/lzpix

jcrowley@openlaszlo.org jcrowley at openlaszlo.org
Mon Jul 7 14:03:05 PDT 2008


Author: jcrowley
Date: 2008-07-07 14:02:47 -0700 (Mon, 07 Jul 2008)
New Revision: 10232

Modified:
   openlaszlo/trunk/demos/lzpix/app.lzx
Log:
Change 20080707-laszlo-6 by laszlo at T43-L3XEXMW on 2008-07-07 12:53:43 EDT
    in /home/laszlo/src/svn/openlaszlo/trunk-liquid
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: lzpix demo code should not define a method named "stop" on a view, conflicts with view API method

New Features:

Bugs Fixed: LPP-5921 - lzpix demo code should not define a method named "stop" on a view, conflicts with view API method

Technical Reviewer: henry
QA Reviewer: max
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Changed "stop" to "stopper" on view "rubberband".
    (Also changed "start" to "starter", for good measure.)

Tests: Run the LZPix demo in SWF and DHTML.  There should
    be no change at all in its operation.



Modified: openlaszlo/trunk/demos/lzpix/app.lzx
===================================================================
--- openlaszlo/trunk/demos/lzpix/app.lzx	2008-07-07 20:53:41 UTC (rev 10231)
+++ openlaszlo/trunk/demos/lzpix/app.lzx	2008-07-07 21:02:47 UTC (rev 10232)
@@ -402,7 +402,7 @@
                 <attribute name="_sy" value="0" />
 
                 <attribute name="updel" value="$once{ new LzDelegate( this , 'update' ) }"/>
-                <method name="start">
+                <method name="starter">
                     this.setAttribute('visible',  true );
                     this._sx = parent.getMouse( "x" );
                     this._sy = parent.getMouse( "y" );
@@ -432,7 +432,7 @@
                     ]]>
                 </method>
 
-                <method name="stop" args="f = null, rel = null">
+                <method name="stopper" args="f = null, rel = null">
                     this.setAttribute('visible',  false );
                     this.updel.unregisterAll();
                     this.parent.selectInRectangle( this._sx , this._sy , 
@@ -443,10 +443,10 @@
 
             <attribute name="showhandcursor" value="false"/>
             <handler name="onmousedown">
-                if ( lyt.isgrid ) rubberband.start();
+                if ( lyt.isgrid ) rubberband.starter();
             </handler>
             <handler name="onmouseup">
-                rubberband.stop();
+                rubberband.stopper();
             </handler>
 
         </view> <!-- end photos -->



More information about the Laszlo-checkins mailing list