Revision: 1993
http://svn.sourceforge.net/vexi/?rev=1993&view=rev
Author: clrg
Date: 2007-07-17 16:39:14 -0700 (Tue, 17 Jul 2007)
Log Message:
-----------
Lib bug fixes
- Fix redirect to work with events
- Stop tooltipmanager from throwing an error
- Have focusmanager trap on surface
Modified Paths:
--------------
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/focusmanager.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/tooltipmanager.t
widgets/trunk/org.vexi.widgets/src/vexi/util/redirect.t
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/focusmanager.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/focusmanager.t
2007-07-17 23:01:47 UTC (rev 1992)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/focusmanager.t
2007-07-17 23:39:14 UTC (rev 1993)
@@ -148,7 +148,7 @@
}
/** pass key-press events to focused child */
- _KeyPressed ++= function(v)
+ surface._KeyPressed ++= function(v)
{
// boxes registered to steal keypress from focus model
//if (steallist.length > 0)
@@ -205,7 +205,7 @@
}
/** pass key-release events to focused child */
- _KeyReleased ++= function(v)
+ surface._KeyReleased ++= function(v)
{
// boxes registered to steal keyrelease from focus model
//if (steallist.length > 0)
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/tooltipmanager.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/tooltipmanager.t
2007-07-17 23:01:47 UTC (rev 1992)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/role/tooltipmanager.t
2007-07-17 23:39:14 UTC (rev 1993)
@@ -66,6 +66,7 @@
/** clean up on popdown */
thisbox.popdown ++= function(v)
{
+ if (!curTipReq) return true;
curTipReq.surface --= surfaceFunc;
curTipReq.visible --= visibleFunc;
surface.Press1 --= pressFunc;
Modified: widgets/trunk/org.vexi.widgets/src/vexi/util/redirect.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/util/redirect.t 2007-07-17
23:01:47 UTC (rev 1992)
+++ widgets/trunk/org.vexi.widgets/src/vexi/util/redirect.t 2007-07-17
23:39:14 UTC (rev 1993)
@@ -34,11 +34,8 @@
if (!from.redirect_lock[trapname])
{
from.redirect_lock[trapname] = true;
- try{
- from[trapname] = trapee[trapname];
- }finally{
- from.redirect_lock[trapname] = null;
- }
+ try { from[trapname] = v; }
+ finally { from.redirect_lock[trapname] = null; }
}
}
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