updated tests
[org.ibex.core.git] / tests / test.t
1 <ibex xmlns:ui="ibex://ui">
2     <ui:box width="300" height="300" fill="red" axis="z">
3         ibex.ui.frame = thisbox;
4
5         <ui:box fill="blue" width="50" height="50" x="100" y="100" id="blue" axis="z"/>
6
7         // this thread makes things spin.
8         var rot = 0;
9         ibex.thread = function(f) { while(true) {
10              ibex.thread.sleep(100);
11              $blue.transform = "rotate(" + rot + ")";
12              $blue.x = 100;
13              $blue.y = 100;
14              rot += 5;
15        } }
16     </ui:box>
17 </ibex>