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"
16 struct Separation_item
18 DECLARE_GROB_INTERFACE();
19 DECLARE_SCHEME_CALLBACK(calc_skylines, (SCM));
21 static vector<Box> boxes (Grob *me);
22 static Interval conditional_width (Grob *, Grob *);
23 static Interval width (Grob *);
24 static Interval relative_width (Grob *, Grob *);
25 static Grob *extremal_break_aligned_grob (Grob *, Direction, Interval *);
26 static void set_distance (Drul_array<Item *>, Real);
27 static void set_skyline_distance (Drul_array<Item*>, Real);
28 static void add_item (Grob *, Item *);
29 static void add_conditional_item (Grob *, Grob *);
32 #endif /* SINGLE_MALT_GROUPING_ITEM_HH */