summaryrefslogtreecommitdiffstats
path: root/ksvg/test/ecma
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:00 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:00 -0600
commitec1fddcd0d6663ad273af85357f04abbc5689468 (patch)
tree6cb946ab8b4771868c6eee8d1aa5213d6ec246e2 /ksvg/test/ecma
parentc2637a0da6d9a1c8626ca39f8451ab3b7cda487a (diff)
downloadtdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.tar.gz
tdegraphics-ec1fddcd0d6663ad273af85357f04abbc5689468.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit c2637a0da6d9a1c8626ca39f8451ab3b7cda487a.
Diffstat (limited to 'ksvg/test/ecma')
-rw-r--r--ksvg/test/ecma/bbox/bbox.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksvg/test/ecma/bbox/bbox.js b/ksvg/test/ecma/bbox/bbox.js
index 2d692694..88eaa592 100644
--- a/ksvg/test/ecma/bbox/bbox.js
+++ b/ksvg/test/ecma/bbox/bbox.js
@@ -13,12 +13,12 @@ function bbox_loop(drawit, number)
for(var i = 0; i < number; i++)
{
- var shape = doc.getElementById("test-" + i);
- var bbox = shape.getBBox();
+ var tqshape = doc.getElementById("test-" + i);
+ var bbox = tqshape.getBBox();
if(drawit == "true")
{
- draw_it(doc, bbox, shape, i + 1);
+ draw_it(doc, bbox, tqshape, i + 1);
}
else
{
@@ -27,13 +27,13 @@ function bbox_loop(drawit, number)
}
}
-function do_string(shape, number)
+function do_string(tqshape, number)
{
- var string = "\nShape " + number + "\nX = " + shape.x + "\nY = " + shape.y + "\nW = " + shape.width + "\nH = " + shape.height;
+ var string = "\nShape " + number + "\nX = " + tqshape.x + "\nY = " + tqshape.y + "\nW = " + tqshape.width + "\nH = " + shape.height;
alert(string);
}
-function draw_it(doc, bbox, shape, number)
+function draw_it(doc, bbox, tqshape, number)
{
var element = doc.createElement("rect");
element.setAttribute("x", bbox.x);
@@ -45,7 +45,7 @@ function draw_it(doc, bbox, shape, number)
element.setAttribute("stroke-width", "3");
element.setAttribute("id", "bbox" + number);
- shape.getParentNode().appendChild(element);
+ tqshape.getParentNode().appendChild(element);
}
function gen_buttons(evt, number)