chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.db-test.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mention older versions of the uploader
[ypp-sc-tools.db-test.git]
/
yarrg
/
pantest.tcl
diff --git
a/yarrg/pantest.tcl
b/yarrg/pantest.tcl
index 53d80f1b137da60e8676ab3a9e5816710ef12444..e864d0bd722130fc800bdcff64f0ed28b384217a 100755
(executable)
--- a/
yarrg/pantest.tcl
+++ b/
yarrg/pantest.tcl
@@
-1,7
+1,12
@@
#!/usr/bin/wish
#!/usr/bin/wish
-source panner.tcl
-namespace import panner::*
+pkg_mkIndex .
+set auto_path [concat . $auto_path]
+
+#source panner.tcl
+#namespace import panner::*
+
+package require panner
set scale 50
set scale 50
@@
-12,8
+17,8
@@
for {set x -$scale} {$x < 500} {incr x $scale} {
}
}
}
}
-canvas-scroll-bbox .c
-panner
-create .p .c 200 200
+
panner::
canvas-scroll-bbox .c
+panner
::create .p .c 200 200 1
-pack .c -expand y -fill both -side left
pack .p -side right
pack .p -side right
+pack .c -expand y -fill both -side left