2 single-malt-grouping-item.hh -- declare Separation_item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
9 #ifndef SINGLE_MALT_GROUPING_ITEM_HH
10 #define SINGLE_MALT_GROUPING_ITEM_HH
12 #include "lily-proto.hh"
13 #include "direction.hh"
14 #include "grob-interface.hh"
17 struct Separation_item
19 DECLARE_GROB_INTERFACE();
20 DECLARE_SCHEME_CALLBACK(calc_skylines, (SCM));
22 static vector<Box> boxes (Grob *me, Grob *left);
23 static Skyline conditional_skyline (Grob *, Grob *);
24 static Interval width (Grob *);
25 static Interval relative_width (Grob *, Grob *);
26 static Grob *extremal_break_aligned_grob (Grob *, Direction, Interval *);
27 static bool set_distance (Drul_array<Item *>, Real);
28 static void set_skyline_distance (Drul_array<Item*>, Real);
29 static void add_item (Grob *, Item *);
30 static void add_conditional_item (Grob *, Grob *);
33 #endif /* SINGLE_MALT_GROUPING_ITEM_HH */