col = e.column
tone = col.tone
return u'%2d %5s %3s %3s %s' % \
- (col.index, col.state, tone.midi, tone.name, e.syllabus)
+ (col.index, e.state, tone.midi, tone.name, e.syllabus)
def _log_col(e) :
""" formate les événements de colonne COLDOWN, COLUP, COLOVER
self.rect = self.rectOff
self.state = state
- self.dirty = 1
+ self.dirty = 1
- evt = pygame.event.Event(events.COLSTATECHANGE, column=self, syllabus=syllabus)
+ evt = pygame.event.Event(events.COLSTATECHANGE, column=self, state=state, syllabus=syllabus)
pygame.event.post(evt)