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
13 #include "lily-guile.hh"
14 #include "lily-proto.hh"
17 As Vertical_group_spanner, but keep track of interesting items. If
18 we don't contain any interesting items after linebreaking, then
19 gracefully commit suicide. Objective: don't disgrace Lily by
20 typesetting empty lines in orchestral scores.
24 items-worth-living -- list of interesting items. If empty in a particular system,
30 class Hara_kiri_group_spanner
33 static Real force_hara_kiri_callback (Score_element * , Axis);
34 static Interval y_extent (Score_element * , Axis);
35 static Real force_hara_kiri_in_parent_callback (Score_element * , Axis);
36 static void add_element (Score_element *me, Score_element *e);
37 static void set_interface (Score_element*me);
38 static bool has_interface (Score_element*);
39 static void consider_suicide (Score_element*me);
40 static void add_interesting_item (Score_element * me , Score_element* n);
44 #endif // HARA_KIRI_VERTICAL_GROUP_SPANNER_HH