X-Git-Url: https://ruin.nu/git/?p=moosique.git;a=blobdiff_plain;f=MooTrackView.java;h=1d46e09d258b227546816e0efd8eaabb1201f8f8;hp=1a612e47eb01f7f748ed05e70d01cc88351b7be0;hb=5508e288626b65061da51e75d318516dbccdd5bb;hpb=65ea2a43eb97459592d222ea00082e46343c9d8b diff --git a/MooTrackView.java b/MooTrackView.java index 1a612e4..1d46e09 100644 --- a/MooTrackView.java +++ b/MooTrackView.java @@ -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);