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) 2002--2019 Juergen Reuter <reuter@ipd.uka.de> | 4 Copyright (C) 2002--2019 Juergen Reuter <reuter@ipd.uka.de> |
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 10 matching lines...) Expand all Loading... |
21 #define LIGATURE_ENGRAVER_HH | 21 #define LIGATURE_ENGRAVER_HH |
22 | 22 |
23 #include "engraver.hh" | 23 #include "engraver.hh" |
24 #include "moment.hh" | 24 #include "moment.hh" |
25 | 25 |
26 class Ligature_engraver : public Engraver | 26 class Ligature_engraver : public Engraver |
27 { | 27 { |
28 protected: | 28 protected: |
29 Ligature_engraver (Context *c); | 29 Ligature_engraver (Context *c); |
30 void stop_translation_timestep (); | 30 void stop_translation_timestep (); |
31 virtual void finalize (); | 31 void finalize () override; |
32 | 32 |
33 void acknowledge_rest (Grob_info); | 33 void acknowledge_rest (Grob_info); |
34 void acknowledge_ligature_head (Grob_info); | 34 void acknowledge_ligature_head (Grob_info); |
35 void listen_ligature (Stream_event *ev); | 35 void listen_ligature (Stream_event *ev); |
36 void process_music (); | 36 void process_music (); |
37 virtual Spanner *create_ligature_spanner () = 0; | 37 virtual Spanner *create_ligature_spanner () = 0; |
38 virtual void typeset_ligature (Spanner *ligature, | 38 virtual void typeset_ligature (Spanner *ligature, |
39 vector<Grob_info> const &primitives) = 0; | 39 vector<Grob_info> const &primitives) = 0; |
40 virtual Spanner *current_ligature (); | 40 virtual Spanner *current_ligature (); |
41 SCM brew_ligature_primitive_proc; | 41 SCM brew_ligature_primitive_proc; |
(...skipping 14 matching lines...) Expand all Loading... |
56 | 56 |
57 Stream_event *prev_start_event_; | 57 Stream_event *prev_start_event_; |
58 | 58 |
59 // moment where ligature started. | 59 // moment where ligature started. |
60 Moment ligature_start_mom_; | 60 Moment ligature_start_mom_; |
61 | 61 |
62 Grob *last_bound_; | 62 Grob *last_bound_; |
63 }; | 63 }; |
64 | 64 |
65 #endif // LIGATURE_ENGRAVER_HH | 65 #endif // LIGATURE_ENGRAVER_HH |
LEFT | RIGHT |