Revision: 1902
http://svn.sourceforge.net/vexi/?rev=1902&view=rev
Author: clrg
Date: 2007-07-02 08:35:55 -0700 (Mon, 02 Jul 2007)
Log Message:
-----------
More vexi3 porting effort
Modified Paths:
--------------
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/head.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/option.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/splitpane.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/table.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/combo.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/option.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/bevel.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/border.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/button.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/cardpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/cell.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/check.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/combo.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/item.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/label.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/list.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/menu.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/menuitem.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/option.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/radio.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/scrollpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/slider.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/spin.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/splitpane.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/status.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/submenu.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/tab.t
widgets/trunk/org.vexi.widgets/src/vexi/widget/toolbar.t
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/text/word.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -129,7 +129,4 @@
/** write textcolor information to internal text-box only */
static.textcolorFunc = function(v) { trapee[0][trapname] = v; }
- /** set the colspan to the width of a word */
- static.widthFunc = function(v) { trapee.colspan = v; }
-
</vexi>
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -23,9 +23,10 @@
var selectFunc = function(v) { selected = trapee; }
/** done outside of loadData in-case data is loaded manually */
- ChildAdded ++= function(v)
+ Children ++= function(v)
{
- v.fill = (numchildren-1)%2 ? fill2 : fill1;
+ cascade = v;
+ v.fill = (arguments.index-1)%2 ? fill2 : fill1;
v.Press1 ++= selectFunc;
}
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/head.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/head.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/head.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -16,8 +16,9 @@
else cascade = v;
}
- ChildAdded ++= function(c)
+ Children ++= function(c)
{
+ cascade = c;
c.Press1 ++= pressFunc;
}
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -258,8 +258,10 @@
thisbox.th_content ++= function(v)
{
/** set up table components */
- v.ChildAdded ++= function(c)
+ v.Children ++= function(c)
{
+ cascade = c;
+
/** set up column headers */
if (c.v_table_type == "head")
{
@@ -275,8 +277,9 @@
}
// assign functions to new column headers
- c.ChildAdded ++= function(e)
+ c.Children ++= function(e)
{
+ cascade = e;
e.action ++= actionFunc;
e.colwidth ++= colwidthFunc;
e.width ++= widthFunc;
@@ -309,10 +312,15 @@
th_footview[0] = c;
// set up existing footers
- for (var i=0; c.numchildren > i; i++) c[i].width =
th_head[i].width;
+ for (var i=0; c.numchildren > i; i++)
+ c[i].width = th_head[i].width;
// size new footers
- c.ChildAdded ++= function(e) { e.width =
th_head[th_body.indexof(e)].width; }
+ c.Children ++= function(e)
+ {
+ cascade = e;
+ e.width = th_head[arguments.index].width;
+ }
}
}
}
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/list.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -93,8 +93,10 @@
th_content ++= function(v)
{
/** write trap to group children */
- v.ChildAdded ++= function(c)
+ v.Children ++= function(c)
{
+ cascade = c;
+
if (listgroup) c.group = listgroup;
else listgroup = c.group;
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/option.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/option.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/option.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -82,7 +82,7 @@
trapee.p_option.itemgroup = v.group;
trapee.p_option.itemgroup.p_option = trapee.p_option;
trapee.p_option.itemgroup.selected ++= static.syncViewFunc;
- trapee.ChildAdded --= callee;
+ trapee.Children --= callee;
}
cascade = v;
}
@@ -103,8 +103,8 @@
{
v.p_option = trapee;
v.value ++= static.contentValueFunc;
- v.ChildAdded ++= static.contentChildAddedFunc;
- v.ChildAdded ++= static.contentFirstChildAddedFunc;
+ v.Children ++= static.contentChildAddedFunc;
+ v.Children ++= static.contentFirstChildAddedFunc;
v.Release1 ++= static.contentReleaseFunc;
cascade = v;
}
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/splitpane.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/splitpane.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/splitpane.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -158,7 +158,7 @@
{
if (v == "h" or v == "horizontal")
{
- th_content.rows = 1;
+ th_content.orient = "horizontal";
for (var i=0; th_content.numchildren > i; i++)
{
if (th_content[i].type == "divider")
@@ -171,7 +171,7 @@
}
else
{
- th_content.cols = 1;
+ th_content.orient = "vertical";
for (var i=0; th_content.numchildren > i; i++)
{
if (th_content[i].type == "divider")
@@ -185,36 +185,39 @@
cascade = v;
}
- /** set up ChildAdded/Removed traps */
+ /** set up Children trap */
th_content ++= function(v)
{
/** set up introduced dividers */
- v.ChildAdded ++= function(c)
+ v.Children ++= function(c)
{
- if (c.type == "divider")
+ if (c != null)
{
- if (orient == "h" or orient == "horizontal")
+ if (c.type == "divider")
{
- c.orient = "vertical";
- c.Press1 ++= xPressFunc;
+ if (orient == "h" or orient == "horizontal")
+ {
+ c.orient = "vertical";
+ c.Press1 ++= xPressFunc;
+ }
+ else
+ {
+ c.orient = "horizontal";
+ c.Press1 ++= yPressFunc;
+ }
}
else
{
- c.orient = "horizontal";
- c.Press1 ++= yPressFunc;
+ if (!master) master = c;
+ numvalid ++;
}
+
+ cascade = c;
+ return;
}
- else
- {
- if (!master) master = c;
- numvalid ++;
- }
- cascade = v;
- }
-
- /** remove trap functions from departing dividers */
- v.ChildRemoved ++= function(c)
- {
+
+ c = trapee[arguments.index];
+
if (c.type == "divider")
{
c.Press1 --= xPressFunc;
@@ -236,8 +239,10 @@
}
}
}
- cascade = v;
+
+ cascade = null;
}
+
cascade = v;
}
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/table.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/table.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/table.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -268,8 +268,10 @@
thisbox.th_content ++= function(v)
{
/** set up table components */
- v.ChildAdded ++= function(c)
+ v.Children ++= function(c)
{
+ cascade = c;
+
/** set up column headers */
if (c.v_table_type == "head")
{
@@ -285,8 +287,9 @@
}
// assign functions to new column headers
- c.ChildAdded ++= function(e)
+ c.Childrem ++= function(e)
{
+ cascade = e;
e.action ++= actionFunc;
e.colwidth ++= colwidthFunc;
e.width ++= widthFunc;
@@ -319,10 +322,15 @@
th_footview[0] = c;
// set up existing footers
- for (var i=0; c.numchildren > i; i++) c[i].width =
th_head[i].width;
+ for (var i=0; c.numchildren > i; i++)
+ c[i].width = th_head[i].width;
// size new footers
- c.ChildAdded ++= function(e) { e.width =
th_head[th_body.indexof(e)].width; }
+ c.Children ++= function(e)
+ {
+ cascade = e;
+ e.width = th_head[arguments.index].width;
+ }
}
}
}
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/combo.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/combo.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/combo.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -71,7 +71,8 @@
$edit.height ++= function(v) { th_viewport.height = v; }
/** move proxy children to $popbox children */
- $proxy.ChildAdded ++= function(v) { $content[$content.numchildren] =
v; }
+ $proxy.Children ++= function(v) { $content[arguments.index] = v; }
+ $proxy.Children ++= function() { return $content[arguments.index]; }
</lib:widget.combo>
</vexi>
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/option.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/option.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/option.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -70,7 +70,8 @@
$pad.width ++= function(v) { $focus.width = v; }
/** move proxy children to $popbox children */
- $proxy.ChildAdded ++= function(v) { $content[$content.numchildren] =
v; }
+ $proxy.Children ++= function(v) { $content[arguments.index] = v; }
+ $proxy.Children ++= function() { return $content[arguments.index]; }
</lib:option>
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t
2007-07-02 15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/tree.t
2007-07-02 15:35:55 UTC (rev 1902)
@@ -46,21 +46,25 @@
v.cols = 1;
- v.ChildAdded ++= function(c)
+ v.Children ++= function(c)
{
- cascade = c;
- $vtrail.display = $handle.display = (v.numchildren>0);
- if (v.indexof(c) == v.numchildren-1) {
- if (v.numchildren > 1) v[v.numchildren-2].y --=
vtrailHeightFunc;
- c.y ++= vtrailHeightFunc;
+ if (c != null)
+ {
+ $vtrail.display = $handle.display = (v.numchildren>0);
+ if (v.indexof(c) == v.numchildren-1)
+ {
+ if (v.numchildren > 1)
+ v[v.numchildren-2].y --= vtrailHeightFunc;
+ c.y ++= vtrailHeightFunc;
+ }
+ cascade = c;
+ return;
}
- }
-
- v.ChildRemoved ++= function(c)
- {
- cascade = c;
+
+ c = trapee[arguments.index];
$vtrail.display = $handle.display = (v.numchildren>0);
c.y --= vtrailHeightFunc;
+ cascade = null;
}
v.display ++= function(d)
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/bevel.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/bevel.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/bevel.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -22,7 +22,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "form");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/border.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/border.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/border.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -28,7 +28,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "border", "depth");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/button.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/button.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/button.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -27,7 +27,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "action", "enabled", "fill",
"focusable", "focused", "group", "selected", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/cardpane.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/cardpane.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/cardpane.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -17,7 +17,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "remembersteps",
"show");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/cell.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/cell.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/cell.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -11,7 +11,7 @@
rdrt..addRedirect(thisbox, $margin, "margin", "margintop",
"marginright", "marginbottom", "marginleft");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingtop",
"paddingright", "paddingbottom", "paddingleft");
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor", "value");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor", "value");
if ($widget.padding) $pad.padding = $widget.padding;
if ($widget.margin) $margin.margin = $widget.margin;
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/check.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/check.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/check.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -24,7 +24,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "fill", "focusable",
"focused", "group", "selected", "KeyPressed", "KeyReleased", "mixed");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/combo.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/combo.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/combo.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -19,7 +19,7 @@
// glue code
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "padding",
"paddingleft", "paddingright", "paddingtop", "paddingbottom");
+ rdrt..addRedirect(thisbox, $content, "orient", "padding",
"paddingleft", "paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "caretposition", "enabled",
"fill", "focusable", "focused", "maxlistheight",
"matchtext", "popdown", "popup", "font",
"fontsize", "text", "textcolor", "value",
"showvalue", "selectonfocus",
"selectAll", "unselectAll", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/item.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/item.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/item.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -20,7 +20,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "group", "nextselect",
"prevselect", "selected", "value");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/label.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/label.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/label.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -12,7 +12,7 @@
</pad>
</pad>
- rdrt..addRedirect(thisbox, $widget, "cols", "rows", "font",
"fontsize", "text", "textcolor", "enabled", "focused", "KeyPressed");
+ rdrt..addRedirect(thisbox, $widget, "orient", "font", "fontsize",
"text", "textcolor", "enabled", "focused", "KeyPressed");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/list.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/list.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/list.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -20,15 +20,11 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows");
+ rdrt..addRedirect(thisbox, $content, "orient");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "numselected", "text",
"value", "values", "setValue", "setValues");
- // initialize list layout to theme default
- if ($widget.cols) $content.cols = $widget.cols;
- else $content.rows = $widget.rows;
-
if ($widget.margin) $margin.margin = $widget.margin;
if ($widget.padding) $pad.padding = $widget.padding;
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/menu.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/menu.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/menu.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -20,7 +20,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "fill", "group",
"selected", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/menuitem.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/menuitem.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/menuitem.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -20,7 +20,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "action", "enabled", "fill",
"group", "selected", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/option.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/option.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/option.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -22,7 +22,7 @@
// glue code
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "padding",
"paddingleft", "paddingright", "paddingtop", "paddingbottom");
+ rdrt..addRedirect(thisbox, $content, "orient", "padding",
"paddingleft", "paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "fill", "focusable",
"focused", "maxlistheight", "popdown", "popup", "showvalue",
"font", "fontsize", "text", "textcolor",
"value", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/radio.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/radio.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/radio.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -32,7 +32,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "fill", "focusable",
"focused", "group", "selected", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/scrollpane.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/scrollpane.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/scrollpane.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -22,7 +22,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "fill", "autohide",
"autohidehorizontal", "autohidevertical",
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/slider.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/slider.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/slider.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -21,7 +21,7 @@
// glue code
rdrt..addRedirect($widget, thisbox, "hshrink", "shrink", "vshrink");
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "focusable", "focused",
"interval", "max", "min", "orient", "value", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/spin.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/spin.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/spin.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -20,7 +20,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "focusable", "focused",
"interval", "max", "min", "value", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/splitpane.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/splitpane.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/splitpane.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -22,7 +22,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "fill", "liveresize", "master",
"orient");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/status.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/status.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/status.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -20,7 +20,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "action", "enabled", "fill",
"focusable", "focused");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/submenu.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/submenu.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/submenu.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -20,7 +20,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "action", "enabled", "fill",
"group", "level", "selected", "KeyPressed", "KeyReleased");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/tab.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/tab.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/tab.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -22,7 +22,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled", "focusable", "focused",
"fill", "group", "selected", "KeyPressed");
Modified: widgets/trunk/org.vexi.widgets/src/vexi/widget/toolbar.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/widget/toolbar.t 2007-07-02
15:34:58 UTC (rev 1901)
+++ widgets/trunk/org.vexi.widgets/src/vexi/widget/toolbar.t 2007-07-02
15:35:55 UTC (rev 1902)
@@ -20,7 +20,7 @@
// glue code
- rdrt..addRedirect(thisbox, $content, "cols", "rows", "font",
"fontsize", "text", "textcolor");
+ rdrt..addRedirect(thisbox, $content, "orient", "font", "fontsize",
"text", "textcolor");
rdrt..addRedirect(thisbox, $margin, "margin", "marginleft",
"marginright", "margintop", "marginbottom");
rdrt..addRedirect(thisbox, $pad, "fill", "padding", "paddingleft",
"paddingright", "paddingtop", "paddingbottom");
rdrt..addRedirect(thisbox, $widget, "enabled");
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn