Revision: 4581
          http://sourceforge.net/p/vexi/code/4581
Author:   clrg
Date:     2013-11-18 15:36:30 +0000 (Mon, 18 Nov 2013)
Log Message:
-----------
More descriptive method name

Modified Paths:
--------------
    
branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/core/BoxRenderProperties.java
    branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/core/Surface.java
    branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp

Modified: 
branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/core/BoxRenderProperties.java
===================================================================
--- 
branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/core/BoxRenderProperties.java
      2013-11-18 15:32:55 UTC (rev 4580)
+++ 
branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/core/BoxRenderProperties.java
      2013-11-18 15:36:30 UTC (rev 4581)
@@ -231,7 +231,7 @@
         calculateDimensions();
     }
 
-    /** set fillcolor to arbitary value */
+    /** set fillcolor to arbitrary value */
     private boolean setFillcolor(int fillcolor, Box owner) {
         if (test(FILLCOLOR_SET) && fillcolor == this.fillcolor) {
             return false;

Modified: 
branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/core/Surface.java
===================================================================
--- branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/core/Surface.java  
2013-11-18 15:32:55 UTC (rev 4580)
+++ branches/vexi3/org.vexi-core.main/src/main/java/org/vexi/core/Surface.java  
2013-11-18 15:36:30 UTC (rev 4581)
@@ -821,7 +821,7 @@
             // reflow to new size as set by the frame
             int cwidth = root.contentwidth;
             int cheight = root.contentheight;
-            mouseUpdateRequired = root.reflow(this, pendingWidth, 
pendingHeight) || mouseUpdateRequired;
+            mouseUpdateRequired = root.surfaceReflow(this, pendingWidth, 
pendingHeight) || mouseUpdateRequired;
             if (Box.testShrink(root) && (cwidth!=root.contentwidth || 
cheight!=root.contentheight)) {
                 setMinimumSize(root.contentwidth, root.contentheight);
             }

Modified: branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp
===================================================================
--- branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp        
2013-11-18 15:32:55 UTC (rev 4580)
+++ branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp        
2013-11-18 15:36:30 UTC (rev 4581)
@@ -573,8 +573,9 @@
     }
 
     /** should only be invoked on the root box */
-    public boolean reflow(Surface fromSurface, int w, int h) {
+    public boolean surfaceReflow(Surface fromSurface, int w, int h) {
         if ((flags & REFLOW) == 0 && w==width && h==height) {
+            // no reflow requested and no change to surface dimensions
             return false;
         }
         constrain();

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to