Fixed bug I introduced last checkin, and now if you click towards the end of the key in the piano roll, it plays the note louder than if you play it towards the base

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1910 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Andrew Kelley
2008-12-13 09:02:11 +00:00
parent b7f4f7be6d
commit 4d8490e21b
4 changed files with 100 additions and 28 deletions

View File

@@ -171,6 +171,13 @@ private:
bool isSelection() const;
void testPlayNote( note * n );
inline int noteEditTop() const;
inline int keyAreaBottom() const;
inline int noteEditBottom() const;
inline int keyAreaTop() const;
inline int noteEditRight() const;
inline int noteEditLeft() const;
void dragNotes( int x, int y, bool alt );
static const int cm_scrollAmtHoriz = 10;