[Vexi-svn] SF.net SVN: vexi:[4596] branches/vexi3/org.vexi-vexi.widgets/src_main/org/ vexi/lib/text

2013-11-21 Thread clrg
Revision: 4596
  http://sourceforge.net/p/vexi/code/4596
Author:   clrg
Date: 2013-11-21 19:19:25 + (Thu, 21 Nov 2013)
Log Message:
---
Feature - 'interactive' property for edit implementations
- put false to disable mouse interaction (enabled by default)

Modified Paths:
--
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/edit.t

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t
===
--- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t   
2013-11-21 19:00:50 UTC (rev 4595)
+++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/default.t   
2013-11-21 19:19:25 UTC (rev 4596)
@@ -85,7 +85,7 @@
 
 thisbox.cursorcolor ++= static.cursorcolorWrite;
 
-.util.redirect..addRedirect(thisbox, v_edit, multiline, textalign, 
wraptext, wrapwidth);
+.util.redirect..addRedirect(thisbox, v_edit, interactive, 
multiline, textalign, wraptext, wrapwidth);
 
 /ui:box
 

Modified: branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/edit.t
===
--- branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/edit.t  
2013-11-21 19:00:50 UTC (rev 4595)
+++ branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/text/edit.t  
2013-11-21 19:19:25 UTC (rev 4596)
@@ -1644,7 +1644,7 @@
 }
 
 /** select word if double-clicked on */
-thisbox.DoubleClick1 ++= function(v) {
+const selectWordUnderMouse = function(v) {
 cascade = v;
 if (!mBlock or !mBlock.mWord) {
 return;
@@ -1680,7 +1680,7 @@
 }
 
 /** standard mouse interaction */
-thisbox.Press1 ++= function(v) {
+const startMouseSelect = function(v) {
 cascade = v;
 if (select) {
 // previously in select mode
@@ -1712,6 +1712,21 @@
 surface ++= releaseSelected;
 }
 
+/** enables/disables mouse text selection */
+thisbox.interactive ++= function(v) {
+cascade = v;
+if (v) {
+thisbox.Press1 ++= startMouseSelect;
+thisbox.DoubleClick1 ++= selectWordUnderMouse;
+} else {
+thisbox.Press1 --= startMouseSelect;
+thisbox.DoubleClick1 --= selectWordUnderMouse;
+}
+};
+// defaulting to on for now
+// TODO: remove this
+interactive = true;
+
 /** selects all available words */
 thisbox.selectAll = function() {
 // TODO - is this next line even needed?
@@ -2232,16 +2247,16 @@
 }
 
 static.charCaretLookup = {
-65:194,  194:65,  // A-\xC2
-97:226,  226:97,  // a-\xE2
-69:202,  202:69,  // E-\xCA
-101:234, 234:101, // e-\xEA
-73:206,  206:73,  // I-\xCE
-105:238, 238:105, // i-\xEE
-79:212,  212:79,  // O-\xD4
-111:244, 244:111, // o-\xF4
-85:219,  219:85,  // U-\xDB
-117:251, 251:117, // u-\xFB
+65:194,  194:65,  // A-�
+97:226,  226:97,  // a-�
+69:202,  202:69,  // E-�
+101:234, 234:101, // e-�
+73:206,  206:73,  // I-�
+105:238, 238:105, // i-�
+79:212,  212:79,  // O-�
+111:244, 244:111, // o-�
+85:219,  219:85,  // U-�
+117:251, 251:117, // u-�
 87:372,  372:87,  // W-
 119:373, 373:119, // w-
 89:374,  374:89,  // Y-

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


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn


[Vexi-svn] SF.net SVN: vexi:[4598] branches/vexi3/org.vexi-vexi.widgets/src_main/org/ vexi/theme/classic

2013-11-21 Thread clrg
Revision: 4598
  http://sourceforge.net/p/vexi/code/4598
Author:   clrg
Date: 2013-11-21 22:06:41 + (Thu, 21 Nov 2013)
Log Message:
---
Fix classic tabpane not using lib.button

Modified Paths:
--

branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/tabpane.t

Added Paths:
---

branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/lib/tablist.t

Removed Paths:
-

branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/tablist.t

Copied: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/lib/tablist.t
 (from rev 4581, 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/tablist.t)
===
--- 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/lib/tablist.t
  (rev 0)
+++ 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/lib/tablist.t
  2013-11-21 22:06:41 UTC (rev 4598)
@@ -0,0 +1,93 @@
+!-- Copyright 2013 - see COPYING for details [LGPL] --
+
+vexi xmlns:ui=vexi://ui
+  xmlns:lay=org.vexi.lib.layout
+  xmlns:lib=org.vexi.lib.widget
+  xmlns:wi=vexi.widget
+  xmlns=vexi.theme
+
+lib:option /
+lay:margin redirect=:$content margin=3 maxlistheight=160 
shrink=true
+lib.button id=button width=18 minheight=18
+ui:box layout=layer 
+ui:box id=arrow fill=:.image.arrowdown shrink=true /
+/ui:box
+/lib.button
+!-- our popox --
+lay:border id=popbox border=black depth=1
+scrollpane id=scroll autohide=true 
fill=:.settings..surfacefill hshrink=true scrollhorizontal=false
+ui:box id=content align=left fill=white 
orient=vertical shrink=true /
+/scrollpane
+/lay:border
+
+// assign theme variables
+thisbox.th_arrow = $arrow;
+thisbox.th_button = $button;
+thisbox.th_scroll = $scroll;
+thisbox.v_content = $content;
+thisbox.v_textbox = false; // flags to ignore text-related
+thisbox.v_popbox = $popbox;
+
+// assign static functions
+thisbox.popup   ++= static.popupWrite;
+thisbox.popdown ++= static.popdownWrite;
+thisbox.text++= static.textWrite;
+
+// pointer back to thisbox for static traps
+$popbox.p_option = thisbox;
+
+/** grow content scrollpane */
+$content.height ++= function(v) {
+// FIXME: this is all a bit of a hack really - do it properly
+if (!popped) {
+cascade = v;
+return;
+}
+var surf = 
surface.frame.height-surface.frame.distanceto($popbox).y;
+surf = maxlistheightsurf ? surf : maxlistheight;
+$scroll.minheight = vsurf ? surf : v;
+cascade = v;
+}
+
+thisbox.surfaceWidth = function(dx, sw) {
+v_popbox.surface_x = vexi.math.max(0, dx-v_popbox.width+width-3);
+}
+
+thisbox.surfaceHeight = function(dy, sh) {
+v_popbox.surface_y = vexi.math.min(dy+height-3, 
sh-v_popbox.height);
+}
+
+v_popbox.width ++= function(v) {
+cascade = v;
+var s = surface;
+if (s!=null) {
+surfaceWidth(s.frame.distanceto(thisbox).x, s.frame.width);
+}
+}
+
+/lay:margin
+lay:container /
+
+/** ignore text writes */
+static.textWrite = function(v) { return; }
+
+/** use button focus effect */
+static.focusWrite = function(v) {
+cascade = v;
+trapee.th_button.focused = v;
+}
+
+/** change button on popup */
+static.popupWrite = function(v) {
+cascade = v;
+trapee.value = null;
+trapee.th_arrow.fill = .image.arrowup;
+}
+
+/** change button on popdown */
+static.popdownWrite = function(v) {
+cascade = v;
+trapee.th_arrow.fill = .image.arrowdown;
+}
+
+/vexi

Deleted: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/tablist.t
===
--- 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/tablist.t  
2013-11-21 19:44:02 UTC (rev 4597)
+++ 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/tablist.t  
2013-11-21 22:06:41 UTC (rev 4598)
@@ -1,95 +0,0 @@
-!-- Copyright 2011 - see COPYING for details [LGPL] --
-
-vexi xmlns:ui=vexi://ui xmlns:meta=vexi://meta xmlns=vexi.theme
-xmlns:lay=org.vexi.lib.layout
-xmlns:lib=org.vexi.lib.widget
-xmlns:wi=vexi.widget 
-meta:doc
-authorCharles Goodwin/author
-/meta:doc
-
-lib:option /
-lay:margin redirect=:$content margin=3 maxlistheight=160 
shrink=true
-  

[Vexi-svn] SF.net SVN: vexi:[4586] branches/vexi4c/

2013-11-21 Thread clrg
Revision: 4586
  http://sourceforge.net/p/vexi/code/4586
Author:   clrg
Date: 2013-11-21 13:08:20 + (Thu, 21 Nov 2013)
Log Message:
---


Added Paths:
---
branches/vexi4c/

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


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn


[Vexi-svn] SF.net SVN: vexi:[4591] branches

2013-11-21 Thread clrg
Revision: 4591
  http://sourceforge.net/p/vexi/code/4591
Author:   clrg
Date: 2013-11-21 14:33:24 + (Thu, 21 Nov 2013)
Log Message:
---
Fix tests when run on paths with spaces

Modified Paths:
--
branches/vexi3/org.vexi-library.js/src/poke/java/org/ibex/js/JSTestUtil.java

branches/vexi4c/org.vexi-core.main/src/test/java/testdeployment/NanoHTTPD.java

Modified: 
branches/vexi3/org.vexi-library.js/src/poke/java/org/ibex/js/JSTestUtil.java
===
--- 
branches/vexi3/org.vexi-library.js/src/poke/java/org/ibex/js/JSTestUtil.java
2013-11-21 13:11:23 UTC (rev 4590)
+++ 
branches/vexi3/org.vexi-library.js/src/poke/java/org/ibex/js/JSTestUtil.java
2013-11-21 14:33:24 UTC (rev 4591)
@@ -3,6 +3,7 @@
 import java.io.File;
 import java.io.FilenameFilter;
 import java.lang.reflect.Method;
+import java.net.URISyntaxException;
 import java.util.HashMap;
 import java.util.LinkedList;
 import java.util.Map;
@@ -43,12 +44,14 @@
return new Fountain.File(dir.getPath());
}catch(JSExn e){
throw new RuntimeException(e);
-   }
+   }catch (URISyntaxException e){
+   throw new RuntimeException(e);
+   }
}


-   static public File getResourceFile(Class c, final String 
resourceSuffix) {
-   File dir = new File(c.getResource(.).getPath());
+   static public File getResourceFile(Class c, final String 
resourceSuffix) throws URISyntaxException {
+   File dir = new File(c.getResource(.).toURI());
boolean hasResources = dir.list(new FilenameFilter(){
public boolean accept(File dir, String name) {
return name.endsWith(resourceSuffix);

Modified: 
branches/vexi4c/org.vexi-core.main/src/test/java/testdeployment/NanoHTTPD.java
===
--- 
branches/vexi4c/org.vexi-core.main/src/test/java/testdeployment/NanoHTTPD.java  
2013-11-21 13:11:23 UTC (rev 4590)
+++ 
branches/vexi4c/org.vexi-core.main/src/test/java/testdeployment/NanoHTTPD.java  
2013-11-21 14:33:24 UTC (rev 4591)
@@ -13,6 +13,7 @@
 import java.net.ServerSocket;
 import java.net.Socket;
 import java.net.SocketException;
+import java.net.URISyntaxException;
 import java.net.URLEncoder;
 import java.text.SimpleDateFormat;
 import java.util.Date;
@@ -236,8 +237,9 @@
 * Starts a HTTP server to given port.p
 * Throws an IOException if the socket is already in use
 * @throws InterruptedException 
+* @throws URISyntaxException 
 */
-   public NanoHTTPD(int port, int rate, File rootDir) throws IOException, 
InterruptedException
+   public NanoHTTPD(int port, int rate, File rootDir) throws IOException, 
InterruptedException, URISyntaxException
{   
PORT = port;
MAX_BYTES_PER_SECOND = rate;

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


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn


[Vexi-svn] SF.net SVN: vexi:[4590] branches/vexi4c/org.vexi-core.main/

2013-11-21 Thread clrg
Revision: 4590
  http://sourceforge.net/p/vexi/code/4590
Author:   clrg
Date: 2013-11-21 13:11:23 + (Thu, 21 Nov 2013)
Log Message:
---


Added Paths:
---
branches/vexi4c/org.vexi-core.main/

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


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn


[Vexi-svn] SF.net SVN: vexi:[4592] branches/vexi4c/org.vexi-core.main/src

2013-11-21 Thread clrg
Revision: 4592
  http://sourceforge.net/p/vexi/code/4592
Author:   clrg
Date: 2013-11-21 14:41:09 + (Thu, 21 Nov 2013)
Log Message:
---
Box redirect properties extended to:
- text properties: font, fontsize, text, textcolor
- child control: align, layout, orient

Modified Paths:
--

branches/vexi4c/org.vexi-core.main/src/main/java/org/vexi/core/Constants.java
branches/vexi4c/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp
branches/vexi4c/org.vexi-core.main/src/test/java/test/core/box/TestBox.java
branches/vexi4c/org.vexi-core.main/src/test/java/test/core/box/redirect.t

Modified: 
branches/vexi4c/org.vexi-core.main/src/main/java/org/vexi/core/Constants.java
===
--- 
branches/vexi4c/org.vexi-core.main/src/main/java/org/vexi/core/Constants.java   
2013-11-21 14:33:24 UTC (rev 4591)
+++ 
branches/vexi4c/org.vexi-core.main/src/main/java/org/vexi/core/Constants.java   
2013-11-21 14:41:09 UTC (rev 4592)
@@ -6,6 +6,7 @@
 public interface Constants extends org.ibex.js.Constants {
static final JS SC_0 = JSU.S(0,true);
static final JS SC_add = JSU.S(add,true);
+   static final JS SC_align = JSU.S(align,true);
static final JS SC_align_topleft = JSU.S(topleft,true);
 static final JS SC_align_top = JSU.S(top,true);
 static final JS SC_align_topright = JSU.S(topright,true);
@@ -38,7 +39,9 @@
static final JS SC_hshrink = JSU.S(hshrink,true);
static final JS SC_html = JSU.S(html,true);
 static final JS SC_indexof = JSU.S(indexof,true);
+static final JS SC_orient = JSU.S(orient,true);
 static final JS SC_layer = JSU.S(layer,true);
+static final JS SC_layout = JSU.S(layout,true);
 static final JS SC_maxheight = JSU.S(maxheight,true);
static final JS SC_maxwidth = JSU.S(maxwidth,true);
static final JS SC_minheight = JSU.S(minheight,true);
@@ -52,6 +55,8 @@
static final JS SC_stringify = JSU.S(stringify,true);
static final JS SC_subComponents = JSU.S(subComponents,true);
static final JS SC_surface = JSU.S(surface,true);
+   static final JS SC_text = JSU.S(text,true);
+   static final JS SC_textcolor = JSU.S(textcolor,true);
static final JS SC_thisobj = JSU.S(thisobj,true);
 static final JS SC_vertical = JSU.S(vertical,true);
static final JS SC_visible = JSU.S(visible,true);

Modified: branches/vexi4c/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp
===
--- branches/vexi4c/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp   
2013-11-21 14:33:24 UTC (rev 4591)
+++ branches/vexi4c/org.vexi-core.main/src/main/jpp/org/vexi/core/Box.jpp   
2013-11-21 14:41:09 UTC (rev 4592)
@@ -1782,7 +1782,7 @@
 case path:
 if (path != null) return JSU.S(path.toString());
 String ret = ;
-for(int i=0; ivisual.str.length(); i++) ret += 
font.glyphs[visual.str.charAt(i)].path;
+for(int i=0; ivisual.text.length(); i++) ret += 
font.glyphs[visual.text.charAt(i)].path;
 return JSU.S(ret);
 case strokecolor: return JSU.S(Color.colorToString(strokecolor));
 case strokewidth: return JSU.N(strokewidth);
@@ -1833,7 +1833,10 @@
  * @initial_value(vexi.ui.font.vera)
  * @nofollow
  * */
-case font: return visual.font.stream;
+case font:
+   if (redirect == null) return null;
+   if (redirect == this) return visual.font.stream;
+   return redirect.getAndTriggerTraps(SC_font);
 
 /* pThe size, either in points or relative size, to render the 
text./p
  * 
@@ -1854,7 +1857,10 @@
  * @type(Number)
  * @initial_value(medium)
  * */
-case fontsize: return BoxVisual.sizeToJS(visual.fontsize);
+case fontsize:
+   if (redirect == null) return null;
+   if (redirect == this) return 
BoxVisual.sizeToJS(visual.fontsize);
+   return redirect.getAndTriggerTraps(SC_fontsize);
 
 /* pThe text of a box. Visually codenull/code renders the same 
as the text to 
  * (i.e as nothing)./p
@@ -1863,7 +1869,10 @@
  * @type(String)
  * @nofollow
  * */
-case text: return visual.text;
+case text:
+   if (redirect == null) return null;
+   if (redirect == this) return visual.text;
+   return redirect.getAndTriggerTraps(SC_text);
 
 /* pIf the value is a 5-character hex string (#RGB), 7-character hex 
string (#RRGGBB),
  * 9-character hex string (#AARRGGBB), a box's text color will be set 
to that color./p
@@ -1877,7 +1886,10 @@
  * @initial_value(#ff)
  * @type(String)
  * */
-case textcolor: return 

[Vexi-svn] SF.net SVN: vexi:[4597] branches/vexi3/org.vexi-core.main/src/main/jpp/org/ vexi/core/Vexi.jpp

2013-11-21 Thread clrg
Revision: 4597
  http://sourceforge.net/p/vexi/code/4597
Author:   clrg
Date: 2013-11-21 19:44:02 + (Thu, 21 Nov 2013)
Log Message:
---
Compile fix

Modified Paths:
--
branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp

Modified: branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp
===
--- branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp   
2013-11-21 19:19:25 UTC (rev 4596)
+++ branches/vexi3/org.vexi-core.main/src/main/jpp/org/vexi/core/Vexi.jpp   
2013-11-21 19:44:02 UTC (rev 4597)
@@ -468,7 +468,7 @@
 /* The current default textcolor
  * @initial_value(#00)
  * @type(String) */
-case ui.textcolor: return 
JSU.S(Color.colorToString(BoxRenderProperties.DEFAULT_COLOR));
+case ui.textcolor: return 
JSU.S(Color.colorToString(BoxVisual.DEFAULT_COLOR));
 
 /* pThe current default fontsize, in points./p
  * 
@@ -479,48 +479,48 @@
  * 
  * @initial_value(10)
  * @type(Number) */
-case ui.fontsize.medium: return 
JSU.N(BoxRenderProperties.MEDIUM_SIZE);
+case ui.fontsize.medium: return JSU.N(BoxVisual.MEDIUM_SIZE);
 
 /* Extra extra small offset from the current default fontsize, used 
when a box's fontsize
  * is set to codexxsmall/code
  * @initial_value(-8)
  * @type(Number) */
-case ui.fontsize.xxsmall: return 
JSU.N(BoxRenderProperties.MEDIUM_SIZE+BoxRenderProperties.XXSMALL_OFFSET);
+case ui.fontsize.xxsmall: return 
JSU.N(BoxVisual.MEDIUM_SIZE+BoxVisual.XXSMALL_OFFSET);
 
 /* Extra small offset from the current default fontsize, used when a 
box's fontsize
  * is set to codexsmall/code
  * @initial_value(-4)
  * @type(Number) */
-case ui.fontsize.xsmall: return 
JSU.N(BoxRenderProperties.MEDIUM_SIZE+BoxRenderProperties.XSMALL_OFFSET);
+case ui.fontsize.xsmall: return 
JSU.N(BoxVisual.MEDIUM_SIZE+BoxVisual.XSMALL_OFFSET);
 
 /* Small offset from the current default fontsize, used when a box's 
fontsize
  * is set to codesmall/code
  * @initial_value(-2)
  * @type(Number) */
-case ui.fontsize.small: return 
JSU.N(BoxRenderProperties.MEDIUM_SIZE+BoxRenderProperties.SMALL_OFFSET);
+case ui.fontsize.small: return 
JSU.N(BoxVisual.MEDIUM_SIZE+BoxVisual.SMALL_OFFSET);
 
 /* Large offset from the current default fontsize, used when a box's 
fontsize
  * is set to codelarge/code
  * @initial_value(4)
  * @type(Number) */
-case ui.fontsize.large: return 
JSU.N(BoxRenderProperties.MEDIUM_SIZE+BoxRenderProperties.LARGE_OFFSET);
+case ui.fontsize.large: return 
JSU.N(BoxVisual.MEDIUM_SIZE+BoxVisual.LARGE_OFFSET);
 
 /* Extra large offset from the current default fontsize, used when a 
box's fontsize
  * is set to codexlarge/code
  * @initial_value(8)
  * @type(Number) */
-case ui.fontsize.xlarge: return 
JSU.N(BoxRenderProperties.MEDIUM_SIZE+BoxRenderProperties.XLARGE_OFFSET);
+case ui.fontsize.xlarge: return 
JSU.N(BoxVisual.MEDIUM_SIZE+BoxVisual.XLARGE_OFFSET);
 
 /* Extra extra large offset from the current default fontsize, used 
when a box's fontsize
  * is set to codexxlarge/code
  * @initial_value(14)
  * @type(Number) */
-case ui.fontsize.xxlarge: return 
JSU.N(BoxRenderProperties.MEDIUM_SIZE+BoxRenderProperties.XXLARGE_OFFSET);
+case ui.fontsize.xxlarge: return 
JSU.N(BoxVisual.MEDIUM_SIZE+BoxVisual.XXLARGE_OFFSET);
 
 /* The current default font stream
  * @initial_value(vexi.ui.font.sansserif)
  * @type(Stream) */
-case ui.font.defaultstream: return 
BoxRenderProperties.DEFAULT_STREAM;
+case ui.font.defaultstream: return BoxVisual.DEFAULT_STREAM;
 case ui.font.install: return METHOD;
 /* @nofollow */
 case ui.font.installed: return Resources.installedFonts;
@@ -658,7 +658,7 @@
 case ui.textcolor:
 throw new JSExn(not yet implemented);
 /*
-BoxRenderProperties.DEFAULT_COLOR = 
Color.stringToColor(JSU.toString(value));
+BoxVisual.DEFAULT_COLOR = Color.stringToColor(JSU.toString(value));
 // dirty all surfaces
 for (int i=0; iSurface.allSurfaces.size(); i++) {
 ((Surface)Surface.allSurfaces.elementAt(i)).dirty();
@@ -670,7 +670,7 @@
 if (6ps  ps!=0) {
 throw new JSExn(Minimum font pointsize is 6);
 }
-if (BoxRenderProperties.setDefaultPointsize(ps)) {
+if (BoxVisual.setDefaultPointsize(ps)) {
 // reflow all surfaces
 // FIXME: this does not get work 

[Vexi-svn] SF.net SVN: vexi:[4588] branches/vexi4c/

2013-11-21 Thread clrg
Revision: 4588
  http://sourceforge.net/p/vexi/code/4588
Author:   clrg
Date: 2013-11-21 13:09:42 + (Thu, 21 Nov 2013)
Log Message:
---


Removed Paths:
-
branches/vexi4c/

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


--
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311iu=/4140/ostg.clktrk
___
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn