Mercurial > code > home > repos > light9
comparison flax/CueFaders.py @ 181:ccd635df77a9
- commit latest cue and sub changes
- commit latest cue and sub changes
- CueFaders: show sub levels everywhere, update TODO section
author | dmcc |
---|---|
date | Fri, 11 Jul 2003 16:04:13 +0000 |
parents | ce362534d133 |
children | 74a34c677588 |
comparison
equal
deleted
inserted
replaced
180:69ff620b752b | 181:ccd635df77a9 |
---|---|
11 'cur' : ('yellow', 'black'), | 11 'cur' : ('yellow', 'black'), |
12 'next' : ('red', 'white'), | 12 'next' : ('red', 'white'), |
13 } | 13 } |
14 | 14 |
15 # TODO | 15 # TODO |
16 # .... pause fades, set new time to be remaining about of time in the fade so | 16 # FIXE pause fades, set new time to be remaining about of time in the fade so |
17 # fade can continue properly | 17 # fade can continue properly |
18 # FIX? make fades work properly: the set_next / prev bug | 18 # FIXE make fades work properly: the set_next / prev bug |
19 # WONT find cue by page ("not necessawy!") | 19 # WONT find cue by page ("not necessawy!") |
20 # WONT CueFader controls KeyboardController? unlikely | 20 # WONT CueFader controls KeyboardController? unlikely |
21 | 21 |
22 class LabelledScale(Tk.Frame): | 22 class LabelledScale(Tk.Frame): |
23 """Scale with two labels: a name and current value""" | 23 """Scale with two labels: a name and current value""" |
504 | 504 |
505 def edit_cue(index): | 505 def edit_cue(index): |
506 index = int(index) | 506 index = int(index) |
507 self.editor.set_cue_to_edit(self.cues[index]) | 507 self.editor.set_cue_to_edit(self.cues[index]) |
508 | 508 |
509 self.columns = ('name', 'time', 'page', 'cuenum', 'desc') | 509 self.columns = ('name', 'time', 'page', 'cuenum', 'desc', 'sub_levels') |
510 self.scrolled_hlist = Tk.ScrolledHList(self, | 510 self.scrolled_hlist = Tk.ScrolledHList(self, |
511 options='hlist.columns %d hlist.header 1' % len(self.columns)) | 511 options='hlist.columns %d hlist.header 1' % len(self.columns)) |
512 self.hlist = self.scrolled_hlist.hlist | 512 self.hlist = self.scrolled_hlist.hlist |
513 self.hlist.configure(fg='white', bg='black', | 513 self.hlist.configure(fg='white', bg='black', |
514 command=self.select_callback, browsecmd=edit_cue) | 514 command=self.select_callback, browsecmd=edit_cue) |