summaryrefslogtreecommitdiff
path: root/muse2/muse/midiedit/piano.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-11-12 04:49:31 +0000
committerTim E. Real <termtech@rogers.com>2012-11-12 04:49:31 +0000
commitbe1005a6031861b91e1a2df33f62e1c5a0a2aeb6 (patch)
tree89152909549c7dd624f4748f394c3adbcbf65b86 /muse2/muse/midiedit/piano.h
parent31f618e5461553bd7836677f944acfa233e5ae3c (diff)
Finished Aftertouch controllers
Feature: Piano KB / drum list show coloured dots when per-pitch controllers exist / have data.
Diffstat (limited to 'muse2/muse/midiedit/piano.h')
-rw-r--r--muse2/muse/midiedit/piano.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/muse2/muse/midiedit/piano.h b/muse2/muse/midiedit/piano.h
index f42037ec..c2044dd4 100644
--- a/muse2/muse/midiedit/piano.h
+++ b/muse2/muse/midiedit/piano.h
@@ -3,6 +3,7 @@
// Linux Music Editor
// $Id: piano.h,v 1.2 2004/05/31 11:48:55 lunar_shuttle Exp $
// (C) Copyright 1999 Werner Schweer (ws@seh.de)
+// (C) Copyright 2012 Tim E. Real (terminator356 on users dot sourceforge dot net)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -34,7 +35,9 @@ class QPixmap;
#define KH 13
namespace MusEGui {
-
+
+class MidiEditor;
+
//---------------------------------------------------------
// Piano
//---------------------------------------------------------
@@ -42,7 +45,8 @@ namespace MusEGui {
class Piano : public View
{
Q_OBJECT
-
+
+ MidiEditor* _midiEditor;
int curPitch;
int _curSelectedPitch;
QPixmap* octave;
@@ -83,7 +87,7 @@ class Piano : public View
void setPitch(int);
public:
- Piano(QWidget*, int);
+ Piano(QWidget* parent, int ymag, MidiEditor* editor = 0);
int curSelectedPitch() const { return _curSelectedPitch; }
void setCurSelectedPitch(int pitch);
};