Mercurial > code > home > repos > light9
comparison flax/TheShow.py @ 139:83e2c4ceb79a
KeyboardComposer: let's get it working again
KeyboardComposer: let's get it working again
TheShow: get_timelines method
Timeline: it's late, okay?
TimelineDMX: timeline selector, basically copied from that music player
thing
author | dmcc |
---|---|
date | Sat, 14 Jun 2003 16:19:40 +0000 |
parents | 5670f66845ce |
children |
comparison
equal
deleted
inserted
replaced
138:304152488ed7 | 139:83e2c4ceb79a |
---|---|
1 | |
2 | |
3 from Timeline import * | 1 from Timeline import * |
4 from Submaster import Submasters, sub_maxes | 2 from Submaster import Submasters, sub_maxes |
5 | 3 |
6 class Show: | 4 class Show: |
7 def __init__(self, timelines, submasters): | 5 def __init__(self, timelines, submasters): |
34 print "Show: '%s' is not the same of a timeline." | 32 print "Show: '%s' is not the same of a timeline." |
35 def set_time(self, time): | 33 def set_time(self, time): |
36 "set time of current timeline" | 34 "set time of current timeline" |
37 self.current_time = time | 35 self.current_time = time |
38 self.current_timeline.set_time(time) | 36 self.current_timeline.set_time(time) |
37 def get_timelines(self): | |
38 "Get names of all timelines" | |
39 return self.timelines.keys() | |
39 | 40 |
40 # this is the default blender | 41 # this is the default blender |
41 linear = LinearBlender() | 42 linear = LinearBlender() |
42 def T(time, level, **kw): | 43 def T(time, level, **kw): |
43 """This used to be a synonym for TimedEvent: | 44 """This used to be a synonym for TimedEvent: |