]> ruin.nu Git - moosique.git/blobdiff - MooTrackTitle.java
no message
[moosique.git] / MooTrackTitle.java
index 6c629d90522651f4743fa765e1fb114b9083dc98..3ec0b63456a8643b1f7da5eb2173fa9be998ed5e 100644 (file)
@@ -175,17 +175,25 @@ public class MooTrackTitle extends JPanel {
                                Moosique.setTrackSolo(track, selected);
                        } else if (source == record) {
                                Sequencer sequencer = Moosique.getSequencer();
+                               boolean quantize = false;
                                if (record.getText() == "Record") {
+                                       /* Show a dialog with:
+                                               "Track" combo box,
+                                               ("Channel" combo box,)
+                                               "Quantize" checkbox and 
+                                               "Start Recording" button.
+                                       */
                                        record.setText("Stop");
                                        mtv.enableKeyboardRecording();
                                        sequencer.recordEnable(track, channel);
                                        sequencer.startRecording();
+                                       Moosique.setEdited();
                                } else {
                                        record.setText("Record");
                                        mtv.disableKeyboardRecording();
                                        sequencer.stopRecording();
                                        sequencer.recordDisable(track);
-                                       mtv.placeNoteElements();
+                                       mtv.placeNoteElements(quantize);
                                }
                        }
                }