diff options
author | amartin <olpc@localhost.localdomain> | 2007-02-27 06:43:38 (GMT) |
---|---|---|
committer | amartin <olpc@localhost.localdomain> | 2007-02-27 06:43:38 (GMT) |
commit | 2fbfd856f3e91fca3b48c0ae5eea9058dd5f1964 (patch) | |
tree | c89bfc72378d3b5207bcf0dd2580e5b3230bb91c /Edit/TrackInterface.py | |
parent | 29d74657499fd94e45e16cca910f8710fe8a0e4c (diff) |
instrument panel in popup, and misc bug fixes
Diffstat (limited to 'Edit/TrackInterface.py')
-rw-r--r-- | Edit/TrackInterface.py | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Edit/TrackInterface.py b/Edit/TrackInterface.py index 4acba12..cbe9673 100644 --- a/Edit/TrackInterface.py +++ b/Edit/TrackInterface.py @@ -185,6 +185,22 @@ class TrackInterface( gtk.EventBox ): self.clipboardDrumTrack = self.clipboardArea["tracks"][self.drumIndex] #======================================================= + # NoteDB notifications + + def notifyPageAdd( self, id, at ): + return + + def notifyPageDelete( self, which, safe ): + if self.screenBufPage[self.preScreen] in which: + self.screenBufPage[self.preScreen] = -1 + + def notifyPageDuplicate( self, new, at ): + return + + def notifyPageMove( self, which, low, high ): + return + + #======================================================= # Module Interface def getDrawingPackage( self, track ): @@ -359,7 +375,7 @@ class TrackInterface( gtk.EventBox ): id = self.noteDB.addNote( self.curPage, i, cs ) n = self.noteDB.getNote( self.curPage, i, id, self ) self.selectNotes( { i:[n] }, True ) - n.playSampleNote() + n.playSampleNote( False ) if i != self.drumIndex: # switch to drag duration self.updateDragLimits() self.clickLoc[0] += self.ticksToPixels( self.curBeats, 1 ) |