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) 1996--2019 Han-Wen Nienhuys | 4 Copyright (C) 1996--2019 Han-Wen Nienhuys |
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 30 matching lines...) Expand all Loading... |
41 private: | 41 private: |
42 rank_type rank_; | 42 rank_type rank_; |
43 Grob_array *all_elements_; | 43 Grob_array *all_elements_; |
44 void init_elements (); | 44 void init_elements (); |
45 friend class Paper_score; // ugh. | 45 friend class Paper_score; // ugh. |
46 Paper_score *pscore_; // ugh. | 46 Paper_score *pscore_; // ugh. |
47 | 47 |
48 public: | 48 public: |
49 Paper_score *paper_score () const; | 49 Paper_score *paper_score () const; |
50 Grob *get_neighboring_staff (Direction dir, Grob *vertical_axis_group, Interva
l_t<int> bounds); | 50 Grob *get_neighboring_staff (Direction dir, Grob *vertical_axis_group, Interva
l_t<int> bounds); |
51 virtual bool accepts_as_bound_item (const Item *) const; | 51 bool accepts_as_bound_item (const Item *) const override; |
52 virtual bool accepts_as_bound_paper_column (const Paper_column *) const; | 52 bool accepts_as_bound_paper_column (const Paper_column *) const override; |
53 Paper_column *get_bound (Direction d) const { | 53 Paper_column *get_bound (Direction d) const { |
54 // This is safe because only Paper_columns are accepted as bounds. | 54 // This is safe because only Paper_columns are accepted as bounds. |
55 return static_cast<Paper_column *> (Spanner::get_bound (d)); | 55 return static_cast<Paper_column *> (Spanner::get_bound (d)); |
56 } | 56 } |
57 Paper_column *get_pure_bound (Direction dir, vsize start, vsize end); | 57 Paper_column *get_pure_bound (Direction dir, vsize start, vsize end); |
58 Paper_column *get_maybe_pure_bound (Direction dir, bool pure, | 58 Paper_column *get_maybe_pure_bound (Direction dir, bool pure, |
59 vsize start, vsize end); | 59 vsize start, vsize end); |
60 rank_type get_rank () const { return rank_; } | 60 rank_type get_rank () const { return rank_; } |
61 vector<Real> get_footnote_heights_in_range (vsize st, vsize end); | 61 vector<Real> get_footnote_heights_in_range (vsize st, vsize end); |
62 vector<Real> get_in_note_heights_in_range (vsize st, vsize end); | 62 vector<Real> get_in_note_heights_in_range (vsize st, vsize end); |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 void add_column (Paper_column *); | 105 void add_column (Paper_column *); |
106 void typeset_grob (Grob *); | 106 void typeset_grob (Grob *); |
107 void pre_processing (); | 107 void pre_processing (); |
108 | 108 |
109 Interval begin_of_line_pure_height (vsize start, vsize end); | 109 Interval begin_of_line_pure_height (vsize start, vsize end); |
110 Interval rest_of_line_pure_height (vsize start, vsize end); | 110 Interval rest_of_line_pure_height (vsize start, vsize end); |
111 Interval pure_refpoint_extent (vsize start, vsize end); | 111 Interval pure_refpoint_extent (vsize start, vsize end); |
112 void collect_labels (Grob const *, SCM *); | 112 void collect_labels (Grob const *, SCM *); |
113 | 113 |
114 protected: | 114 protected: |
115 virtual void derived_mark () const; | 115 void derived_mark () const override; |
116 virtual System *clone () const { return new System (*this); } | 116 System *clone () const override { return new System (*this); } |
117 | 117 |
118 private: | 118 private: |
119 Interval part_of_line_pure_height (vsize start, vsize end, bool begin); | 119 Interval part_of_line_pure_height (vsize start, vsize end, bool begin); |
120 }; | 120 }; |
121 | 121 |
122 void set_loose_columns (System *which, Column_x_positions const *posns); | 122 void set_loose_columns (System *which, Column_x_positions const *posns); |
123 | 123 |
124 #endif /* SYSTEM_HH */ | 124 #endif /* SYSTEM_HH */ |
125 | 125 |
LEFT | RIGHT |