Mercurial > code > home > repos > light9
diff light8/Subs.py @ 51:71489bb71528
- Meet Fader. He is going to grow up and be a crossfader some day
- Meet Fader. He is going to grow up and be a crossfader some day
(tomarrow)
- Tkinter -> Tix so we can use ScrolledListBox which has a command
- Some improvements to Cue
- Cues need to specify their final values
- Cues are imported by subs. This should be fixed for style points.
- Some other cleanups
author | dmcc |
---|---|
date | Sun, 07 Jul 2002 15:40:45 +0000 |
parents | d07b3a20c48e |
children | 177e9ba0b4a7 |
line wrap: on
line diff
--- a/light8/Subs.py Sun Jul 07 15:26:02 2002 +0000 +++ b/light8/Subs.py Sun Jul 07 15:40:45 2002 +0000 @@ -1,6 +1,6 @@ from Patch import * from time import time -from Tkinter import * +from Tix import * from types import TupleType stdfont = ('Arial', 8) @@ -216,7 +216,7 @@ def reload_data(dummy): - global subs + global subs, cues if dummy: import ConfigDummy as Config else: @@ -234,5 +234,8 @@ subs[name] = Sub(name, levels, color=color) # subs = dict([(name, Sub(levels)) for name, levels in Config.subs.items()]) + + cues = Config.cues + def longestsubname(): return max([len(x) for x in subs.keys()])