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) 2005--2019 Han-Wen Nienhuys <hanwen@xs4all.nl> | 4 Copyright (C) 2005--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 28 matching lines...) Expand all Loading... |
39 virtual void create_grobs (Engraver *, SCM) {} | 39 virtual void create_grobs (Engraver *, SCM) {} |
40 }; | 40 }; |
41 | 41 |
42 struct Bracket_nesting_group : public Bracket_nesting_node | 42 struct Bracket_nesting_group : public Bracket_nesting_node |
43 { | 43 { |
44 Spanner *delimiter_; | 44 Spanner *delimiter_; |
45 vector<Bracket_nesting_node *> children_; | 45 vector<Bracket_nesting_node *> children_; |
46 SCM symbol_; | 46 SCM symbol_; |
47 | 47 |
48 void from_list (SCM); | 48 void from_list (SCM); |
49 virtual void add_support (Grob *grob); | 49 void add_support (Grob *grob) override; |
50 virtual bool add_staff (Grob *grob); | 50 bool add_staff (Grob *grob) override; |
51 virtual void set_nesting_support (Grob *); | 51 void set_nesting_support (Grob *) override; |
52 virtual void set_bound (Direction, Grob *grob); | 52 void set_bound (Direction, Grob *grob) override; |
53 virtual void create_grobs (Engraver *, SCM); | 53 void create_grobs (Engraver *, SCM) override; |
54 ~Bracket_nesting_group (); | 54 ~Bracket_nesting_group (); |
55 Bracket_nesting_group (); | 55 Bracket_nesting_group (); |
56 }; | 56 }; |
57 | 57 |
58 struct Bracket_nesting_staff : public Bracket_nesting_node | 58 struct Bracket_nesting_staff : public Bracket_nesting_node |
59 { | 59 { |
60 Grob *staff_; | 60 Grob *staff_; |
61 | 61 |
62 Bracket_nesting_staff (Grob *s) { staff_ = s; } | 62 Bracket_nesting_staff (Grob *s) { staff_ = s; } |
63 virtual bool add_staff (Grob *); | 63 bool add_staff (Grob *) override; |
64 }; | 64 }; |
65 | 65 |
66 Bracket_nesting_group::Bracket_nesting_group () | 66 Bracket_nesting_group::Bracket_nesting_group () |
67 { | 67 { |
68 symbol_ = SCM_EOL; | 68 symbol_ = SCM_EOL; |
69 delimiter_ = 0; | 69 delimiter_ = 0; |
70 } | 70 } |
71 | 71 |
72 bool | 72 bool |
73 Bracket_nesting_staff::add_staff (Grob *g) | 73 Bracket_nesting_staff::add_staff (Grob *g) |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 public: | 166 public: |
167 TRANSLATOR_DECLARATIONS (System_start_delimiter_engraver); | 167 TRANSLATOR_DECLARATIONS (System_start_delimiter_engraver); |
168 | 168 |
169 protected: | 169 protected: |
170 Bracket_nesting_group *nesting_; | 170 Bracket_nesting_group *nesting_; |
171 | 171 |
172 void acknowledge_system_start_delimiter (Grob_info); | 172 void acknowledge_system_start_delimiter (Grob_info); |
173 void acknowledge_staff_symbol (Grob_info); | 173 void acknowledge_staff_symbol (Grob_info); |
174 | 174 |
175 void process_music (); | 175 void process_music (); |
176 virtual void finalize (); | 176 void finalize () override; |
177 }; | 177 }; |
178 | 178 |
179 System_start_delimiter_engraver::System_start_delimiter_engraver (Context *c) | 179 System_start_delimiter_engraver::System_start_delimiter_engraver (Context *c) |
180 : Engraver (c) | 180 : Engraver (c) |
181 { | 181 { |
182 nesting_ = 0; | 182 nesting_ = 0; |
183 } | 183 } |
184 | 184 |
185 void | 185 void |
186 System_start_delimiter_engraver::process_music () | 186 System_start_delimiter_engraver::process_music () |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 "SystemStartBar ", | 252 "SystemStartBar ", |
253 | 253 |
254 /* read */ | 254 /* read */ |
255 "systemStartDelimiter " | 255 "systemStartDelimiter " |
256 "systemStartDelimiterHierarchy " | 256 "systemStartDelimiterHierarchy " |
257 "currentCommandColumn ", | 257 "currentCommandColumn ", |
258 | 258 |
259 /* write */ | 259 /* write */ |
260 "" | 260 "" |
261 ); | 261 ); |
LEFT | RIGHT |