X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=blobdiff_plain;f=MooGUI.java;h=2ae23a64849221afc93de30cefd997f47f958ef4;hp=57759c9961699ba3d118e211a213ad0a9627854c;hb=e49cbedbb512d2cbadb19f9b4b84c1b0ef39ff9c;hpb=22067aec9dd544828d90ff39a3a6d40cdfc7ea9f diff --git a/MooGUI.java b/MooGUI.java index 57759c9..2ae23a6 100644 --- a/MooGUI.java +++ b/MooGUI.java @@ -19,7 +19,7 @@ public class MooGUI extends JFrame { private MooView view; private JLabel statusBar; private java.util.Timer timer; - private boolean updateView = true; + private boolean updateView = 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); @@ -146,6 +146,10 @@ public class MooGUI extends JFrame { toolbar.updateProgInd(tickPosition); } + public MooView getView() { + return view; + } + /** * Creates an action for a specific octave. * @param increase true for increase, false for decrease