LEFT | RIGHT |
(no file at all) | |
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--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 1997--2019 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 23 matching lines...) Expand all Loading... |
34 Spanner *valign_; | 34 Spanner *valign_; |
35 bool qualifies (Grob_info) const; | 35 bool qualifies (Grob_info) const; |
36 SCM id_to_group_hashtab_; | 36 SCM id_to_group_hashtab_; |
37 | 37 |
38 public: | 38 public: |
39 TRANSLATOR_DECLARATIONS (Vertical_align_engraver); | 39 TRANSLATOR_DECLARATIONS (Vertical_align_engraver); |
40 void acknowledge_axis_group (Grob_info); | 40 void acknowledge_axis_group (Grob_info); |
41 void acknowledge_outside_staff (Grob_info); | 41 void acknowledge_outside_staff (Grob_info); |
42 | 42 |
43 protected: | 43 protected: |
44 virtual void derived_mark () const; | 44 void derived_mark () const override; |
45 void process_music (); | 45 void process_music (); |
46 virtual void finalize (); | 46 void finalize () override; |
47 virtual void initialize (); | 47 void initialize () override; |
48 | 48 |
49 bool top_level_; | 49 bool top_level_; |
50 }; | 50 }; |
51 | 51 |
52 void | 52 void |
53 Vertical_align_engraver::boot () | 53 Vertical_align_engraver::boot () |
54 { | 54 { |
55 ADD_ACKNOWLEDGER (Vertical_align_engraver, axis_group); | 55 ADD_ACKNOWLEDGER (Vertical_align_engraver, axis_group); |
56 ADD_ACKNOWLEDGER (Vertical_align_engraver, outside_staff); | 56 ADD_ACKNOWLEDGER (Vertical_align_engraver, outside_staff); |
57 } | 57 } |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 // context. | 204 // context. |
205 if (i.context () == context ()) | 205 if (i.context () == context ()) |
206 i.grob ()->set_parent (valign_, Y_AXIS); | 206 i.grob ()->set_parent (valign_, Y_AXIS); |
207 } | 207 } |
208 else | 208 else |
209 { | 209 { |
210 programming_error ("cannot claim outside-staff grob before creating st
aff grouper"); | 210 programming_error ("cannot claim outside-staff grob before creating st
aff grouper"); |
211 } | 211 } |
212 } | 212 } |
213 } | 213 } |
LEFT | RIGHT |