# HG changeset patch # User drewp # Date 1026018336 0 # Node ID 6faae180d1c59ac7febd11e93776246df7dab7e0 # Parent 1b0266dd233a6fdf27802aa5d84ad2a05fc5b32f conv image to gif, clean up source formatting diff -r 1b0266dd233a -r 6faae180d1c5 light8/guysanddolls.gif Binary file light8/guysanddolls.gif has changed diff -r 1b0266dd233a -r 6faae180d1c5 light8/stage.py --- a/light8/stage.py Sun Jul 07 04:52:48 2002 +0000 +++ b/light8/stage.py Sun Jul 07 05:05:36 2002 +0000 @@ -153,9 +153,11 @@ if self.lmbstate=='rectangle': sr = self.find_withtag('selectrect') if not sr: - sr=self.create_rectangle( self.lmbstart[0],self.lmbstart[1],coords[0],coords[1],tag='selectrect') -# sr=self.create_rectangle( *(self.lmbstart+coords), tag='selectrect' ) + sr=self.create_rectangle( self.lmbstart[0],self.lmbstart[1],coords[0],coords[1], + outlinestipple='gray50', + tag='selectrect') + # move rectangle with mouse self.coords(sr,*(self.lmbstart+coords)) # redo the dynselection with the new rectangle @@ -236,7 +238,7 @@ root=Tk() root.wm_geometry("+376+330") s=Stage(root) -s.setimage('guysanddolls.ppm') +s.setimage('guysanddolls.gif') s.pack() s.addlight('drew',(330,640),(90,20)) s.addlight('house',(360,640))