LineSegment* Trill::createLineSegment() { TrillSegment* seg = new TrillSegment(score()); seg->setTrack(track()); seg->setColor(color()); return seg; }
LineSegment* Trill::createLineSegment() { TrillSegment* seg = new TrillSegment(this, score()); seg->setTrack(track()); seg->setColor(color()); seg->initElementStyle(&trillSegmentStyle); return seg; }