diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-19 15:24:43 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-10-19 15:24:43 (GMT) |
commit | bc7953bb9ea9f68296b5274ebcde73616c14c379 (patch) | |
tree | 1f5d7bae71789afc0554bd7a231bdda7cb8708ef /tests | |
parent | 033a34d42974f5727b36afbf5a2838a8c24a84c4 (diff) | |
download | tk-bc7953bb9ea9f68296b5274ebcde73616c14c379.zip tk-bc7953bb9ea9f68296b5274ebcde73616c14c379.tar.gz tk-bc7953bb9ea9f68296b5274ebcde73616c14c379.tar.bz2 |
Rename all XBM format files to be called *.xbm instead of *.bmp [Bug 733835]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/canvPsBmap.tcl | 20 | ||||
-rw-r--r-- | tests/canvPsImg.tcl | 4 |
2 files changed, 12 insertions, 12 deletions
diff --git a/tests/canvPsBmap.tcl b/tests/canvPsBmap.tcl index dbc9c83..e9e5748 100644 --- a/tests/canvPsBmap.tcl +++ b/tests/canvPsBmap.tcl @@ -2,7 +2,7 @@ # for bitmaps in canvases. It is part of the Tk visual test suite, # which is invoked via the "visual" script. # -# RCS: @(#) $Id: canvPsBmap.tcl,v 1.3 1999/04/16 01:51:35 stanton Exp $ +# RCS: @(#) $Id: canvPsBmap.tcl,v 1.4 2004/10/19 15:25:08 dkf Exp $ catch {destroy .t} toplevel .t @@ -26,47 +26,47 @@ canvas $c -width 6i -height 6i -bd 2 -relief sunken pack $c -expand yes -fill both -padx 2m -pady 2m $c create bitmap 0.5i 0.5i \ - -bitmap @[file join $tk_library demos/images/flagdown.bmp] \ + -bitmap @[file join $tk_library demos/images/flagdown.xbm] \ -background {} -foreground black -anchor nw $c create rect 0.47i 0.47i 0.53i 0.53i -fill {} -outline black $c create bitmap 3.0i 0.5i \ - -bitmap @[file join $tk_library demos/images/flagdown.bmp] \ + -bitmap @[file join $tk_library demos/images/flagdown.xbm] \ -background {} -foreground black -anchor n $c create rect 2.97i 0.47i 3.03i 0.53i -fill {} -outline black $c create bitmap 5.5i 0.5i \ - -bitmap @[file join $tk_library demos/images/flagdown.bmp] \ + -bitmap @[file join $tk_library demos/images/flagdown.xbm] \ -background black -foreground white -anchor ne $c create rect 5.47i 0.47i 5.53i 0.53i -fill {} -outline black $c create bitmap 0.5i 3.0i \ - -bitmap @[file join $tk_library demos/images/face.bmp] \ + -bitmap @[file join $tk_library demos/images/face.xbm] \ -background {} -foreground black -anchor w $c create rect 0.47i 2.97i 0.53i 3.03i -fill {} -outline black $c create bitmap 3.0i 3.0i \ - -bitmap @[file join $tk_library demos/images/face.bmp] \ + -bitmap @[file join $tk_library demos/images/face.xbm] \ -background {} -foreground black -anchor center $c create rect 2.97i 2.97i 3.03i 3.03i -fill {} -outline black $c create bitmap 5.5i 3.0i \ - -bitmap @[file join $tk_library demos/images/face.bmp] \ + -bitmap @[file join $tk_library demos/images/face.xbm] \ -background blue -foreground black -anchor e $c create rect 5.47i 2.97i 5.53i 3.03i -fill {} -outline black $c create bitmap 0.5i 5.5i \ - -bitmap @[file join $tk_library demos/images/flagup.bmp] \ + -bitmap @[file join $tk_library demos/images/flagup.xbm] \ -background black -foreground white -anchor sw $c create rect 0.47i 5.47i 0.53i 5.53i -fill {} -outline black $c create bitmap 3.0i 5.5i \ - -bitmap @[file join $tk_library demos/images/flagup.bmp] \ + -bitmap @[file join $tk_library demos/images/flagup.xbm] \ -background green -foreground white -anchor s $c create rect 2.97i 5.47i 3.03i 5.53i -fill {} -outline black $c create bitmap 5.5i 5.5i \ - -bitmap @[file join $tk_library demos/images/flagup.bmp] \ + -bitmap @[file join $tk_library demos/images/flagup.xbm] \ -background {} -foreground black -anchor se $c create rect 5.47i 5.47i 5.53i 5.53i -fill {} -outline black diff --git a/tests/canvPsImg.tcl b/tests/canvPsImg.tcl index 054be90..e36cecb 100644 --- a/tests/canvPsImg.tcl +++ b/tests/canvPsImg.tcl @@ -2,7 +2,7 @@ # for images in canvases. It is part of the Tk visual test suite, # which is invoked via the "visual" script. # -# RCS: @(#) $Id: canvPsImg.tcl,v 1.2 2002/07/12 13:40:59 dgp Exp $ +# RCS: @(#) $Id: canvPsImg.tcl,v 1.3 2004/10/19 15:25:08 dkf Exp $ # Build a test image in a canvas proc BuildTestImage {} { @@ -69,7 +69,7 @@ foreach l { monochrome gray color } { pack .t.$l -in .t.top.r -anchor w } -set BitmapImage [image create bitmap -file $tk_library/demos/images/face.bmp \ +set BitmapImage [image create bitmap -file $tk_library/demos/images/face.xbm \ -background white -foreground black] set PhotoImage [image create photo -file $tk_library/demos/images/teapot.ppm] |