File tree Expand file tree Collapse file tree 3 files changed +1
-16
lines changed
Expand file tree Collapse file tree 3 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ image create photo redptr -file [file join $images ptr-red.gif]
4848image create photo greenptr -f ile [file join $images ptr-green.gif]
4949image create photo doc -f ile [file join $images doc-img.gif]
5050set ptrxbm @[file join $images ptr-mask.xbm]
51- set docxbm @[file join $images doc-mask.xbm]
5251
5352pack [label .l -justify l -t ext " Drag off this window to see a coloured\
5453 cursor\n(implemented using a canvas and the non-rectangular\nwindow\
@@ -67,7 +66,7 @@ set image(doc) [.cursor.workarea create image 3 4 \
6766# pack [label .cursor.ptr -bd 0 -image greenptr]
6867update idletasks
6968shape set .cursor.workarea -o ffset 0 0 bitmap $ptrxbm
70- shape upd .cursor.workarea + -o ffset 3 4 bitmap $docxbm
69+ shape upd .cursor.workarea + -o ffset 3 4 photo doc
7170shape set .cursor window .cursor.workarea
7271
7372proc movecursor {x y} {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments