Revision: 2510 http://vexi.svn.sourceforge.net/vexi/?rev=2510&view=rev Author: clrg Date: 2007-10-21 18:28:30 -0700 (Sun, 21 Oct 2007)
Log Message: ----------- Few more changes - tweak about screen text - add missing images - nicer images for colorpicker Modified Paths: -------------- trunk/widgets/org.vexi.demo/src/org/vexi/demo/about.t trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/colorpicker.t trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/colorpicker.png trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/colorpicker_circle.png Added Paths: ----------- trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/arrowright.png trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/arrowright2.png trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/colorpicker_marker.png trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/home.png Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/about.t =================================================================== --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/about.t 2007-10-22 00:58:42 UTC (rev 2509) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/about.t 2007-10-22 01:28:30 UTC (rev 2510) @@ -48,9 +48,12 @@ + "The images are either contributed or from the tango " + "project:"; </wi:label> - <link text="http://tango.freedesktop.org/" icon="home"> - action ++= function(v) { vexi.ui.browser(text); return; } - </link> + <ui:box vshrink="true"> + <ui:box width="20" shrink="true" /> + <link text="http://tango.freedesktop.org" icon="home" shrink="true"> + action ++= function(v) { vexi.ui.browser(text); return; } + </link> + </ui:box> </ui:box> </wi:pad> </vexi> Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/colorpicker.t =================================================================== --- trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/colorpicker.t 2007-10-22 00:58:42 UTC (rev 2509) +++ trunk/widgets/org.vexi.demo/src/org/vexi/demo/feature/colorpicker.t 2007-10-22 01:28:30 UTC (rev 2510) @@ -24,36 +24,34 @@ <ui:box fill=":.image.colorpicker_circle" id="circle" shrink="true"/> </ui:box> <ui:box width="5"/> - <wi:bevel thickness="2" form="down" orient="vertical" width="34" shrink="true" id="grad_back"> - <ui:box shrink="true" fill=":.image.gradient" layout="layer" id="gradient"> - thisbox.marker = $marker; - - thisbox.gradient_move = function(v) { - var pos = thisbox.mouse.y; - if (pos > thisbox.height) {pos = thisbox.height;} - else if (0 > pos) {pos = 0;} - dad.n = 1 - (pos/height); - return; - } - - thisbox.Press1 ++= function(v) { - gradient_move(v); - surface.addMoveTrap(gradient_move); - surface.Release1 ++= function(v) { - surface._Release1 --= callee; - surface.delMoveTrap(gradient_move); + <ui:box layout="layer"> + <wi:bevel margintop="4" thickness="2" form="down" orient="vertical" width="34" shrink="true" id="grad_back"> + <ui:box shrink="true" fill=":.image.gradient" layout="layer" id="gradient"> + + thisbox.gradient_move = function(v) { + var pos = thisbox.mouse.y; + if (pos > thisbox.height) {pos = thisbox.height;} + else if (0 > pos) {pos = 0;} + dad.n = 1 - (pos/height); return; } - return; - } - - <ui:box width="30" height="2" align="bottom" x="0" y="0" id="marker" orient="vertical"> - <ui:box fill="white" height="1"/> - <ui:box fill="black" height="1"/> - thisbox.y = 10; + + thisbox.Press1 ++= function(v) { + gradient_move(v); + surface.addMoveTrap(gradient_move); + surface.Release1 ++= function(v) { + surface._Release1 --= callee; + surface.delMoveTrap(gradient_move); + return; + } + return; + } + </ui:box> - </ui:box> - </wi:bevel> + </wi:bevel> + <ui:box shrink="true" align="bottom" x="0" y="0" id="marker" fill=":.image.colorpicker_marker" /> + </ui:box> + $gradient.marker = $marker; </ui:box> <ui:box height="5"/> <ui:box> Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/arrowright.png =================================================================== (Binary files differ) Property changes on: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/arrowright.png ___________________________________________________________________ Name: svn:executable + * Name: svn:mime-type + application/octet-stream Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/arrowright2.png =================================================================== (Binary files differ) Property changes on: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/arrowright2.png ___________________________________________________________________ Name: svn:executable + * Name: svn:mime-type + application/octet-stream Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/colorpicker.png =================================================================== (Binary files differ) Modified: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/colorpicker_circle.png =================================================================== (Binary files differ) Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/colorpicker_marker.png =================================================================== (Binary files differ) Property changes on: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/colorpicker_marker.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream Added: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/home.png =================================================================== (Binary files differ) Property changes on: trunk/widgets/org.vexi.demo/src/org/vexi/demo/image/home.png ___________________________________________________________________ Name: svn:executable + * Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn