Hi,

I really like the way you guys have created the vi-like commands, btw in 
the "initial" multikey I've made there was an little idea that I find 
very useful: it automagically stops after 5 seconds of inactivity 
(useful with <no-exit/> tags). So I added it again, here's the cvs diff:

Index: multikey.nas
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/Nasal/multikey.nas,v
retrieving revision 1.9
diff -r1.9 multikey.nas
5a6
 > var timers = 0;
31a33,36
 > var auto_stop = func {
 >     timers -= 1;
 >     if (!timers and dialog.isopen) stop();
 > }
33a39,40
 >       settimer(auto_stop, 5);
 >       timers += 1;

btw, I began to play with the new system, adapting the old "key-handler 
system" with this new one, thanks for that.

regards
seb

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to