]> ruin.nu Git - moosique.git/blobdiff - MooGUI.java
*** empty log message ***
[moosique.git] / MooGUI.java
index 71b14937a1f8f1a0e610a08b085a43727df50ff5..78105be707d229b2743fae15323b1bebe879e6a8 100644 (file)
@@ -18,6 +18,7 @@ public class MooGUI extends JFrame {
        private MooView view;
        private JLabel statusBar;
        private java.util.Timer timer;
+       private boolean drawEmptyTracks = false;
        public static final int statusResetDelay = 3000;
        public static final Font FONT = new Font("Helvetica", Font.PLAIN, 10);
        public static final Color bgColor = new Color(192, 224, 255);
@@ -139,6 +140,22 @@ public class MooGUI extends JFrame {
                toolbar.updateProgInd(tickPosition);
        }
 
+       /** 
+        * Shows the given message in the status bar.
+        * @param text  the message to show
+        */
+       public boolean drawEmptyTracks() {
+               return drawEmptyTracks;
+       }
+
+       /** 
+        * Shows the given message in the status bar.
+        * @param text  the message to show
+        */
+       public void setDrawEmptyTracks(boolean state) {
+               drawEmptyTracks = state;
+       }
+
        private Action createOctaveAction(final int octave) {
                Action octaveAction = new AbstractAction() {
                        public void actionPerformed(ActionEvent ae) {