OLD | NEW |
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) 2006--2015 Joe Neeman <joeneeman@gmail.com> | 4 Copyright (C) 2006--2015 Joe Neeman <joeneeman@gmail.com> |
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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 /* the next 3 are in sync (ie. same number of elements, etc.) */ | 90 /* the next 3 are in sync (ie. same number of elements, etc.) */ |
91 vector<Rational> breakable_moments_; | 91 vector<Rational> breakable_moments_; |
92 vector<Grob *> breakable_columns_; | 92 vector<Grob *> breakable_columns_; |
93 vector<bool> special_barlines_; | 93 vector<bool> special_barlines_; |
94 | 94 |
95 SCM max_permission (SCM perm1, SCM perm2); | 95 SCM max_permission (SCM perm1, SCM perm2); |
96 Real penalty (Rational rest_len); | 96 Real penalty (Rational rest_len); |
97 Grob *breakable_column (Page_turn_event const &); | 97 Grob *breakable_column (Page_turn_event const &); |
98 | 98 |
99 protected: | 99 protected: |
100 DECLARE_TRANSLATOR_LISTENER (break); | 100 void listen_break (Stream_event *); |
101 DECLARE_ACKNOWLEDGER (note_head); | 101 void acknowledge_note_head (Grob_info); |
102 | 102 |
103 public: | 103 public: |
104 TRANSLATOR_DECLARATIONS (Page_turn_engraver); | 104 TRANSLATOR_DECLARATIONS (Page_turn_engraver); |
105 void stop_translation_timestep (); | 105 void stop_translation_timestep (); |
106 void start_translation_timestep (); | 106 void start_translation_timestep (); |
107 void finalize (); | 107 void finalize (); |
108 }; | 108 }; |
109 | 109 |
110 Page_turn_engraver::Page_turn_engraver () | 110 Page_turn_engraver::Page_turn_engraver () |
111 { | 111 { |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 /* create */ | 356 /* create */ |
357 "", | 357 "", |
358 | 358 |
359 /* read */ | 359 /* read */ |
360 "minimumPageTurnLength " | 360 "minimumPageTurnLength " |
361 "minimumRepeatLengthForPageTurn ", | 361 "minimumRepeatLengthForPageTurn ", |
362 | 362 |
363 /* write */ | 363 /* write */ |
364 "" | 364 "" |
365 ); | 365 ); |
OLD | NEW |