chiark / gitweb /
where-vessels: smash flags - set width of b string
[ypp-sc-tools.main.git] / yarrg / pantest.tcl
index b13326e9c3bd1a604fd7283824891644e3d1162d..e864d0bd722130fc800bdcff64f0ed28b384217a 100755 (executable)
@@ -1,7 +1,12 @@
 #!/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
 
@@ -12,8 +17,8 @@ for {set x -$scale} {$x < 500} {incr x $scale} {
     }
 }
 
-canvas-scroll-bbox .c
-panner-create .p .c 200 200 1
+panner::canvas-scroll-bbox .c
+panner::create .p .c 200 200 1
 
 pack .p -side right
 pack .c -expand y -fill both -side left