Revision: 4313 http://vexi.svn.sourceforge.net/vexi/?rev=4313&view=rev Author: clrg Date: 2012-01-06 07:26:27 +0000 (Fri, 06 Jan 2012) Log Message: ----------- Remove code made redundant by previous commit
Modified Paths: -------------- trunk/org.vexi-vexi.guide/src_main/org/vexi/guide/uiobject.t trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t Modified: trunk/org.vexi-vexi.guide/src_main/org/vexi/guide/uiobject.t =================================================================== --- trunk/org.vexi-vexi.guide/src_main/org/vexi/guide/uiobject.t 2012-01-06 07:22:32 UTC (rev 4312) +++ trunk/org.vexi-vexi.guide/src_main/org/vexi/guide/uiobject.t 2012-01-06 07:26:27 UTC (rev 4313) @@ -35,7 +35,7 @@ // functions for a complete redirect from $content->inner var innerRead = function() { return uiwidget[trapname]; } var innerWrite = function(v) { uiwidget[trapname] = v; return; } - var syncOverlay = function(v) { overlay.resync(); cascade = v; } + var syncOverlay = function(v) { cascade = v; overlay.resync(); } /** first time a child is added, make it redirect target 'inner' */ thisbox.Children ++= function(v) { @@ -44,7 +44,7 @@ uiwidget = v; v.wrapper = thisbox; v.focusable = false; - v.layoutupdate ++= syncOverlay; + v.Resize ++= syncOverlay; thisbox.distanceto ++= innerRead; if (v.redirect) { thisbox.indexof ++= innerRead; Modified: trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t =================================================================== --- trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t 2012-01-06 07:22:32 UTC (rev 4312) +++ trunk/org.vexi-vexi.widgets/src_main/org/vexi/lib/layout/grid.t 2012-01-06 07:26:27 UTC (rev 4313) @@ -15,8 +15,6 @@ <ui:box layout="layer"> <ui:box id="content" align="topleft" layout="place" /> - thisbox.layoutupdate; - /******************************** ******** INTERNAL LOGIC ******** ********************************/ @@ -25,8 +23,6 @@ var numrows = 1; var userows = true; - var place_width = false; - var place_height = false; var pack_children = false; var min = function(a, b) { return a > b ? b : a; } @@ -209,9 +205,6 @@ // targetColumnSize = (target-size) / cols; // for (int r=0; regmark>r; r++) // sizes[regions[r]] += regions[r] * targetColumnSize+0.5; - - // width placing complete - place_width = false; } // child height solving @@ -347,13 +340,7 @@ // targetRowSize = (target-size) / rows; // for (int r=0; regmark>r; r++) // sizes[regions[r]] += regions[r] * targetRowSize+0.5; - - // height placing complete - place_height = false; } - - // notification - layoutupdate = true; } /* This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn