diff options
-rw-r--r-- | src/bltGrElemOp.C | 2 | ||||
-rw-r--r-- | tests/bitmapmarker.tcl | 2 | ||||
-rw-r--r-- | tests/crosshairs.tcl | 5 | ||||
-rw-r--r-- | tests/legend.tcl | 7 | ||||
-rw-r--r-- | tests/linemarker.tcl | 2 | ||||
-rw-r--r-- | tests/marker.tcl | 2 | ||||
-rw-r--r-- | tests/polygonmarker.tcl | 2 | ||||
-rw-r--r-- | tests/textmarker.tcl | 2 |
8 files changed, 13 insertions, 11 deletions
diff --git a/src/bltGrElemOp.C b/src/bltGrElemOp.C index 118d95b..427dbee 100644 --- a/src/bltGrElemOp.C +++ b/src/bltGrElemOp.C @@ -900,7 +900,7 @@ static Blt_OpSpec elemOps[] = { {"lower", 1, (void*)LowerOp, 4, 0, "?elemName?...",}, {"names", 1, (void*)NamesOp, 3, 0, "?pattern?...",}, {"raise", 1, (void*)RaiseOp, 4, 0, "?elemName?...",}, - {"show", 1, (void*)ShowOp, 4, 4, "?elemList?",}, + {"show", 1, (void*)ShowOp, 4, 0, "?elemList?",}, {"type", 1, (void*)TypeOp, 4, 4, "elemName",}, }; static int numElemOps = sizeof(elemOps) / sizeof(Blt_OpSpec); diff --git a/tests/bitmapmarker.tcl b/tests/bitmapmarker.tcl index 02fe772..9dff62a 100644 --- a/tests/bitmapmarker.tcl +++ b/tests/bitmapmarker.tcl @@ -11,7 +11,7 @@ echo "Testing Bitmap Marker..." 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 -bindtags {aa} bltTest3 $graph marker $mm -bitmap hourglass bltTest3 $graph marker $mm -coords {1 50} bltTest3 $graph marker $mm -element data2 diff --git a/tests/crosshairs.tcl b/tests/crosshairs.tcl index cb3a93e..ee4da4c 100644 --- a/tests/crosshairs.tcl +++ b/tests/crosshairs.tcl @@ -15,8 +15,9 @@ bltTest2 $graph crosshairs -hide yes bltTest2 $graph crosshairs -linewidth 3 bltTest2 $graph crosshairs -position "@100,100" -#bltCmd $graph crosshairs cget -#bltCmd $graph crosshairs configure +bltCmd $graph crosshairs cget -color +bltCmd $graph crosshairs configure +bltCmd $graph crosshairs configure -color bltCmd $graph crosshairs on bltCmd $graph crosshairs off bltCmd $graph crosshairs toggle diff --git a/tests/legend.tcl b/tests/legend.tcl index 3222d8d..88e8b69 100644 --- a/tests/legend.tcl +++ b/tests/legend.tcl @@ -49,12 +49,13 @@ bltTest2 $graph legend -titlefont "times 24 bold italic" #bltCmd $graph legend activate #bltCmd $graph legend bind -#bltCmd $graph legend cget -#bltCmd $graph legend configure +bltCmd $graph legend cget -fg +bltCmd $graph legend configure +bltCmd $graph legend configure -fg #bltCmd $graph legend curselection #bltCmd $graph legend deactivate bltCmd $graph legend focus data1 -bltCmd $graph legend get data1 +#bltCmd $graph legend get data1 bltCmd $graph legend selection anchor data1 bltCmd $graph legend selection mark data1 bltCmd $graph legend selection includes data2 diff --git a/tests/linemarker.tcl b/tests/linemarker.tcl index a02a33c..674aaf8 100644 --- a/tests/linemarker.tcl +++ b/tests/linemarker.tcl @@ -11,7 +11,7 @@ set nn [$graph marker create line ss -element data1 \ echo "Testing Line Marker..." -bltTest3 $graph marker $mm -bindtags {aa} +#bltTest3 $graph marker $mm -bindtags {aa} bltTest3 $graph marker $mm -cap round bltTest3 $graph marker $mm -coords {1 50 1.5 100 2 150} bltTest3 $graph marker $mm -dashes dashdot diff --git a/tests/marker.tcl b/tests/marker.tcl index bc034df..23a3a92 100644 --- a/tests/marker.tcl +++ b/tests/marker.tcl @@ -11,7 +11,7 @@ set nn [$graph marker create line ss -element data1 \ echo "Testing Marker..." -bltCmd $graph marker bind aa <Button-1> [list puts "%x %y"] +#bltCmd $graph marker bind aa <Button-1> [list puts "%x %y"] bltCmd $graph marker cget $mm -cap bltCmd $graph marker configure $mm bltCmd $graph marker configure $mm -cap diff --git a/tests/polygonmarker.tcl b/tests/polygonmarker.tcl index d71ab8d..9b553d2 100644 --- a/tests/polygonmarker.tcl +++ b/tests/polygonmarker.tcl @@ -8,7 +8,7 @@ set mm [$graph marker create polygon tt -element data1 \ echo "Testing Polygon Marker..." -bltTest3 $graph marker $mm -bindtags {aa} +#bltTest3 $graph marker $mm -bindtags {aa} bltTest3 $graph marker $mm -cap round bltTest3 $graph marker $mm -coords {1 50 1.5 100 2 150} bltTest3 $graph marker $mm -dashes dashdot diff --git a/tests/textmarker.tcl b/tests/textmarker.tcl index c5787f2..fbaf276 100644 --- a/tests/textmarker.tcl +++ b/tests/textmarker.tcl @@ -11,7 +11,7 @@ echo "Testing Text Marker..." bltTest3 $graph marker $mm -anchor nw bltTest3 $graph marker $mm -background blue bltTest3 $graph marker $mm -bg red -bltTest3 $graph marker $mm -bindtags {aa} +#bltTest3 $graph marker $mm -bindtags {aa} bltTest3 $graph marker $mm -coords {1 50} bltTest3 $graph marker $mm -element data2 bltTest3 $graph marker $mm -fg cyan |