summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjoye <joye>2014-03-19 19:19:22 (GMT)
committerjoye <joye>2014-03-19 19:19:22 (GMT)
commitaad4b63a80f7461314e733de4f559d94f09246e9 (patch)
tree6ad387660f0c5236398baba04731d5cb14b45a5f /tests
parent35c3d137f2666241c88c83016b9e6558ba5ae47b (diff)
downloadblt-aad4b63a80f7461314e733de4f559d94f09246e9.zip
blt-aad4b63a80f7461314e733de4f559d94f09246e9.tar.gz
blt-aad4b63a80f7461314e733de4f559d94f09246e9.tar.bz2
*** empty log message ***
Diffstat (limited to 'tests')
-rw-r--r--tests/bitmapmarker.tcl8
-rw-r--r--tests/textmarker.tcl2
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/bitmapmarker.tcl b/tests/bitmapmarker.tcl
index b71e58d..8d8f108 100644
--- a/tests/bitmapmarker.tcl
+++ b/tests/bitmapmarker.tcl
@@ -4,15 +4,13 @@ set w .line
set graph [bltLineGraph $w]
set mm [$graph marker create bitmap tt -element data1 \
- -coords {1.5 100} -bitmap error]
-return
+ -x 1.5 -y 100 -bitmap error]
+
bltTest3 $graph marker $mm -anchor nw
bltTest3 $graph marker $mm -background yellow
bltTest3 $graph marker $mm -bg red
bltTest3 $graph marker $mm -bindtags {aa}
bltTest3 $graph marker $mm -bitmap hourglass
-bltTest3 $graph marker $mm -coords {1 50}
-bltTest3 $graph marker $mm -coords {1 50 1.1 60}
bltTest3 $graph marker $mm -element data2
bltTest3 $graph marker $mm -fg cyan
bltTest3 $graph marker $mm -fill yellow
@@ -23,7 +21,9 @@ bltTest3 $graph marker $mm -mapy y
bltTest3 $graph marker $mm -outline green
bltTest3 $graph marker $mm -state disabled
bltTest3 $graph marker $mm -under yes
+bltTest3 $graph marker $mm -x 1
bltTest3 $graph marker $mm -xoffset 20
+bltTest3 $graph marker $mm -y 150
bltTest3 $graph marker $mm -yoffset 20
echo "done"
diff --git a/tests/textmarker.tcl b/tests/textmarker.tcl
index 29da9b2..3d1fa2a 100644
--- a/tests/textmarker.tcl
+++ b/tests/textmarker.tcl
@@ -5,7 +5,7 @@ set graph [bltLineGraph $w]
set mm [$graph marker create text tt -element data1 \
-x 1.5 -y 100 -text {Text Marker} -font {24}]
-return
+
bltTest3 $graph marker $mm -anchor nw
bltTest3 $graph marker $mm -background blue
bltTest3 $graph marker $mm -bg red