2 hara-kiri-vertical-group-spanner.hh -- declare Har_kiri_vertical_group_spanner
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--2000 Jan Nieuwenhuizen <janneke@gnu.org>
10 #ifndef HARA_KIRI_VERTICAL_GROUP_SPANNER_HH
11 #define HARA_KIRI_VERTICAL_GROUP_SPANNER_HH
16 As Vertical_group_spanner, but keep track of interesting items. If
17 we don't contain any interesting items after linebreaking, then
18 gracefully commit suicide. Objective: don't disgrace Lily by
19 typesetting empty lines in orchestral scores.
23 items-worth-living -- list of interesting items. If empty in a particular system,
27 class Hara_kiri_group_spanner : public Spanner
30 static Real force_hara_kiri_callback (Score_element const* , Axis);
31 Hara_kiri_group_spanner (SCM);
32 virtual void after_line_breaking ();
33 void add_interesting_item (Item* n);
35 VIRTUAL_COPY_CONS(Score_element);
39 #endif // HARA_KIRI_VERTICAL_GROUP_SPANNER_HH