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

Side by Side Diff: lily/note-head-line-engraver.cc

Issue 573670043: Refactor get/set_property to take the item as first argument
Patch Set: Manual completion of patch set Created 4 years, 11 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:
View unified diff | Download patch
« no previous file with comments | « lily/note-head.cc ('k') | lily/note-heads-engraver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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) 2000--2020 Jan Nieuwenhuizen <janneke@gnu.org> 4 Copyright (C) 2000--2020 Jan Nieuwenhuizen <janneke@gnu.org>
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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 last_staff_ = 0; 61 last_staff_ = 0;
62 } 62 }
63 63
64 void 64 void
65 Note_head_line_engraver::acknowledge_rhythmic_head (Grob_info info) 65 Note_head_line_engraver::acknowledge_rhythmic_head (Grob_info info)
66 { 66 {
67 head_ = info.grob (); 67 head_ = info.grob ();
68 Context *tr = find_context_above (context (), ly_symbol2scm ("Staff")); 68 Context *tr = find_context_above (context (), ly_symbol2scm ("Staff"));
69 if (tr 69 if (tr
70 && tr != last_staff_ 70 && tr != last_staff_
71 && to_boolean (get_property ("followVoice"))) 71 && to_boolean (get_property (this, "followVoice")))
72 { 72 {
73 if (last_head_) 73 if (last_head_)
74 follow_ = true; 74 follow_ = true;
75 } 75 }
76 last_staff_ = tr; 76 last_staff_ = tr;
77 } 77 }
78 78
79 void 79 void
80 Note_head_line_engraver::process_acknowledged () 80 Note_head_line_engraver::process_acknowledged ()
81 { 81 {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 120
121 /* create */ 121 /* create */
122 "VoiceFollower ", 122 "VoiceFollower ",
123 123
124 /* read */ 124 /* read */
125 "followVoice ", 125 "followVoice ",
126 126
127 /* write */ 127 /* write */
128 "" 128 ""
129 ); 129 );
OLDNEW
« no previous file with comments | « lily/note-head.cc ('k') | lily/note-heads-engraver.cc » ('j') | no next file with comments »

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