Mercurial > code > home > repos > light9
changeset 502:d3ed4ebf53a5
curve: whitespace and header cleanups
author | drewp@bigasterisk.com |
---|---|
date | Mon, 15 Jun 2009 00:39:20 +0000 |
parents | 7a792ce79099 |
children | a63635f98110 |
files | light9/curve.py |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/curve.py Sun Jun 14 04:40:23 2009 +0000 +++ b/light9/curve.py Mon Jun 15 00:39:20 2009 +0000 @@ -8,8 +8,7 @@ import louie as dispatcher import run_local -from light9 import Submaster, dmxclient, networking, cursors -from light9.TLUtility import make_attributes_from_args +from light9 import cursors from light9.dmxchanedit import gradient from light9.zoomcontrol import RegionZoom from bcf2000 import BCF2000 @@ -145,7 +144,7 @@ def __init__(self, master, curve, knobEnabled=False, **kw): """knobEnabled=True highlights the previous key and ties it to a hardware knob""" - self.curve=curve + self.curve = curve self.knobEnabled = knobEnabled self._time = 0 self.last_mouse_world = None @@ -159,7 +158,7 @@ dispatcher.connect(self.update_curve,"zoom changed") dispatcher.connect(self.update_curve,"points changed", sender=self.curve) - dispatcher.connect(self.select_between,"select between") + dispatcher.connect(self.select_between, "select between") if self.knobEnabled: dispatcher.connect(self.knob_in, "knob in") dispatcher.connect(self.slider_in, "set key") @@ -722,7 +721,6 @@ f = tk.Frame(self,relief='raised',bd=1) f.pack(side='top',fill='both',exp=1) - leftside = tk.Frame(f) leftside.pack(side='left')