mass rename and rebranding from xwt to ibex - fixed to use ixt files
[org.ibex.core.git] / src / org / ibex / builtin / button.ibex
similarity index 82%
rename from src/org/xwt/builtin/button.xwt
rename to src/org/ibex/builtin/button.ibex
index 6d19c17..45bad31 100644 (file)
@@ -1,8 +1,8 @@
 <!-- Copyright 2002 Adam Megacz, see the COPYING file for licensing [LGPL] -->
-<xwt>
+<ibex>
 
     <redirect target="self"/>
-    <preapply name="org.xwt.builtin.bevel"/>
+    <preapply name="org.ibex.builtin.bevel"/>
     <template hot="false">
 
         var owned = false;
             owned = true;
             press = true;
 
-            xwt.thread = function() {
-                xwt.sleep(holdfrequency);
+            ibex.thread = function() {
+                ibex.sleep(holdfrequency);
                 while (owned) {
-                    if (xwt.button == 1 and mouseinside) hold = true;
-                    xwt.sleep(holdfrequency);
+                    if (ibex.button == 1 and mouseinside) hold = true;
+                    ibex.sleep(holdfrequency);
                 }
             }
             root._Release1 = function() {
@@ -50,4 +50,4 @@
 
     </template>
 
-</xwt>    
\ No newline at end of file
+</ibex>