]> ruin.nu Git - moosique.git/commitdiff
*** empty log message ***
authorEinar Pehrson <einarp@itstud.chalmers.se>
Fri, 16 May 2003 13:51:21 +0000 (13:51 +0000)
committerEinar Pehrson <einarp@itstud.chalmers.se>
Fri, 16 May 2003 13:51:21 +0000 (13:51 +0000)
MooTrackView.java
MooView.java
report.txt

index 1a612e47eb01f7f748ed05e70d01cc88351b7be0..1d46e09d258b227546816e0efd8eaabb1201f8f8 100644 (file)
@@ -14,6 +14,7 @@ import java.util.*;
 public class MooTrackView extends JPanel {
 
        private Track track;
+       private MooTrackTitle;
        private Rectangle box;
 
        private JPopupMenu popup;
@@ -23,9 +24,10 @@ public class MooTrackView extends JPanel {
        protected static int extraHeight = 0;
        public static final int NOTE_HEIGHT = 10, NOTE_WIDTH = 40, VIEW_WIDTH = 200;
 
-       public MooTrackView (Track track) {
+       public MooTrackView (Track track, MooTrackTitle title;) {
                super(true);
                this.track = track;
+               this.title = title;
 
                // Configures panel
                setBackground(Color.white);
index 4ce6a8288987059901e29a52a98235bf275cd194..3374bd614d38a4995c927c96adb2a14485c9125e 100644 (file)
@@ -70,8 +70,9 @@ public class MooView extends JScrollPane {
                        for (int i = 1; i < tracks.length; i++) {
                                if (Moosique.shouldBeDrawn(tracks[i])) {
                                        System.out.println("Draws track " + i);
-                                       trackPanel.add(new MooTrackView(tracks[i]));
-                                       titlePanel.add(new MooTrackTitle(tracks[i],i));
+                                       MooTrackTitle title = new MooTrackTitle(tracks[i],i);
+                                       titlePanel.add(title);
+                                       trackPanel.add(new MooTrackView(tracks[i], title));
                                        progressBar.setValue(i);
                                } else {
                                        System.out.println("Doesn't draw track " + i);
index bbdb98baa8ed6fd18bc75f5157fcdfcef0e750ac..400585eba7cced2718eebfbcf9b2fbaaa7689935 100644 (file)
@@ -65,7 +65,7 @@ This problem was especially unfortunate since it was the only performance aspect
 [Ă„ndra font och dra ner textstorlek, citat juh!]
 "Delays during execution should be minimized, but are allowed when loading files. Playback should be smooth and delays should not change the beat or tempo."
 
-However, as we recently discovered, 
+However, as we recently discovered, the Sun developers were also aware of this issue and, in trying to find a remedy for it, implemented some additional methods for controlling the viewport's visualisation during scrolling. This allowed us to reduce the time lag to a fraction.
 
 The major changes and that not enough work design of the graphical classes resulted in that the different graphical classes couldn't be implemented on their own. Instead changes often had to take place in many different classes when some feature was added. This made the implementation slow, especially in the beginning, since there where many different ideas on how things should be implemented. This got better through time though, when the basic foundation was implemented it got easier to add the rest of the features.
 ------------------------------