Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(491)

Delta Between Two Patch Sets: lily/melody-engraver.cc

Issue 6498077: Approximates cross-staff slurs in VerticalAxisGroup vertical-skylines. Base URL: http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Left Patch Set: Moves cross-staff skyline logic to page-layout-problem.cc Created 12 years, 7 months ago
Right Patch Set: Better approximations Created 12 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 /* 1 /*
2 This file is part of LilyPond, the GNU music typesetter. 2 This file is part of LilyPond, the GNU music typesetter.
3 3
4 Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl> 4 Copyright (C) 1997--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
5 5
6 LilyPond is free software: you can redistribute it and/or modify 6 LilyPond is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or 8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version. 9 (at your option) any later version.
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 Melody_spanner::add_stem (melody_item_, stem_); 66 Melody_spanner::add_stem (melody_item_, stem_);
67 } 67 }
68 } 68 }
69 stem_ = 0; 69 stem_ = 0;
70 } 70 }
71 71
72 void 72 void
73 Melody_engraver::acknowledge_slur (Grob_info info) 73 Melody_engraver::acknowledge_slur (Grob_info info)
74 { 74 {
75 if (!info.grob ()->internal_has_interface (ly_symbol2scm ("slur-stub-interface "))) 75 if (!info.grob ()->internal_has_interface (ly_symbol2scm ("cross-staff-stub-in terface")))
76 melody_item_ = 0; 76 melody_item_ = 0;
77 } 77 }
78 78
79 void 79 void
80 Melody_engraver::acknowledge_stem (Grob_info info) 80 Melody_engraver::acknowledge_stem (Grob_info info)
81 { 81 {
82 stem_ = info.grob (); 82 stem_ = info.grob ();
83 } 83 }
84 84
85 #include "translator.icc" 85 #include "translator.icc"
86 86
87 ADD_ACKNOWLEDGER (Melody_engraver, stem); 87 ADD_ACKNOWLEDGER (Melody_engraver, stem);
88 ADD_ACKNOWLEDGER (Melody_engraver, slur); 88 ADD_ACKNOWLEDGER (Melody_engraver, slur);
89 89
90 ADD_TRANSLATOR (Melody_engraver, 90 ADD_TRANSLATOR (Melody_engraver,
91 /* doc */ 91 /* doc */
92 "Create information for context dependent typesetting" 92 "Create information for context dependent typesetting"
93 " decisions.", 93 " decisions.",
94 94
95 /* create */ 95 /* create */
96 "MelodyItem ", 96 "MelodyItem ",
97 97
98 /* read */ 98 /* read */
99 "", 99 "",
100 100
101 /* write */ 101 /* write */
102 "" 102 ""
103 ); 103 );
104 104
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b