summaryrefslogtreecommitdiff
path: root/muse2/muse/midiedit/pianoroll.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2011-05-14 13:29:32 +0000
committerFlorian Jung <flo@windfisch.org>2011-05-14 13:29:32 +0000
commit0ec79fb4c59be4adb77d3dcbc068dee7107ed381 (patch)
treedfe2623fbec584095c1b7462952157b59b19a0bb /muse2/muse/midiedit/pianoroll.h
parent8aed0b79c9b28af69ef67e858992385ea074df63 (diff)
- removed unneccessary _to and _quant* - stuff from piano roll and drum edit
this also involved changing the Toolbar1 - removed unneccessary short cuts: SHRT_OVER_QUANTIZE etc. instead added SHRT_QUANTIZE - changed behaviour for scripts: the "quant"-parameter they get isn't the quant-combo's setting, but the snap-combo's now - changed behaviour for step-recording: the note-length is now the "raster"- value instead of the "quant"-value
Diffstat (limited to 'muse2/muse/midiedit/pianoroll.h')
-rw-r--r--muse2/muse/midiedit/pianoroll.h15
1 files changed, 1 insertions, 14 deletions
diff --git a/muse2/muse/midiedit/pianoroll.h b/muse2/muse/midiedit/pianoroll.h
index 87bf52b6..32be3bea 100644
--- a/muse2/muse/midiedit/pianoroll.h
+++ b/muse2/muse/midiedit/pianoroll.h
@@ -119,19 +119,11 @@ class PianoRoll : public MidiEditor {
int colorMode;
- static int _quantInit, _rasterInit;
+ static int _rasterInit;
static int _widthInit, _heightInit;
- static int _quantStrengthInit;
- static int _quantLimitInit;
- static bool _quantLenInit;
- static int _toInit;
static int colorModeInit;
- int _quantStrength;
- int _quantLimit;
- int _to;
- bool _quantLen;
bool _playEvents;
//QScrollBar* infoScroll;
@@ -153,13 +145,8 @@ class PianoRoll : public MidiEditor {
void soloChanged(bool flag);
//void trackInfoScroll(int);
void setRaster(int);
- void setQuant(int);
- void setQuantStrength(int val) { _quantStrength = val; }
- void setQuantLimit(int val) { _quantLimit = val; }
- void setQuantLen(bool val) { _quantLen = val; }
void cmd(int);
void setSteprec(bool);
- void setTo(int val) { _to = val; }
void eventColorModeChanged(int);
void clipboardChanged(); // enable/disable "Paste"
void selectionChanged(); // enable/disable "Copy" & "Paste"