Revision: 3929 http://vexi.svn.sourceforge.net/vexi/?rev=3929&view=rev Author: clrg Date: 2010-10-20 14:06:08 +0000 (Wed, 20 Oct 2010)
Log Message: ----------- Minor optimization Modified Paths: -------------- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/combo.t Modified: trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/combo.t =================================================================== --- trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/combo.t 2010-10-20 13:49:42 UTC (rev 3928) +++ trunk/widgets/org.vexi.widgets/src/org/vexi/theme/classic/combo.t 2010-10-20 14:06:08 UTC (rev 3929) @@ -25,6 +25,8 @@ </scrollpane> </lib:layout.border> + var opt = .option[""]; + // assign theme variables thisbox.th_arrow = $arrow; thisbox.th_button = $button; @@ -34,7 +36,7 @@ thisbox.th_viewport = $focus; thisbox.v_cursor = $edit.v_cursor; thisbox.v_edit = $edit.v_edit; - thisbox.v_init = .option..optioninit; + thisbox.v_init = opt.optioninit; thisbox.v_popbox = $popbox; thisbox.v_prevfill = .settings..fill; @@ -45,11 +47,11 @@ // inherit static functions from classic.option thisbox.focused ++= .focusborder..focusWrite; - thisbox.popup ++= .option..popupWrite; - thisbox.popdown ++= .option..popdownWrite; - thisbox.width ++= .option..widthWrite; - $content.contentwidth ++= .option..listwidthWrite; - $content.contentheight ++= .option..contentheightWrite; + thisbox.popup ++= opt.popupWrite; + thisbox.popdown ++= opt.popdownWrite; + thisbox.width ++= opt.widthWrite; + $content.contentwidth ++= opt.listwidthWrite; + $content.contentheight ++= opt.contentheightWrite; thisbox.v_container ++= function(v) { cascade = v; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Vexi-svn mailing list Vexi-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vexi-svn