1 <!-- Copyleft 2004 - see COPYING for details [LGPL] -->
5 Author: Charles Goodwin
7 See ibex.theme.repeatable for details
12 thisbox.counter = 0; // consecutive repetition counter
13 thisbox.interval = 100; // repetition interval (ms)
14 thisbox.initialinterval; // the initial interval of a repeating action
15 thisbox.repeat; // repeating state
17 interval ++= function() {
18 // return interval for counter > 0 or initialinterval otherwise
19 return counter ? cascade : initialinterval ? initialinterval : cascade;
22 repeat ++= function(v) {
24 // only start if previously false
28 ibex.thread = function() {
32 ibex.thread.sleep(interval);