private MooTrackView mtv;
private MooNote note;
- private int columns;
private boolean selected;
private Rectangle pitchRect, veloRect;
public static final Color bgColor = new Color(160, 218, 255);
mtv = parent;
note = mn;
calculateString();
- columns = mn.getDuration() / (Moosique.getSequence().getResolution() / 4);
setBorder(BorderFactory.createLineBorder(Color.black));
setBackground(bgColor);
addMouseListener(new MAdapter());