Correct left text alignment of DynamicTextSpanner.
[lilypond.git] / lily / include / separation-item.hh
blobd1280c7a9ea85995c5f430ba975e1ea4b490bbf8
1 /*
2 single-malt-grouping-item.hh -- declare Separation_item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
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"
15 #include "skyline.hh"
17 struct Separation_item
19 DECLARE_GROB_INTERFACE ();
20 DECLARE_SCHEME_CALLBACK (calc_skylines, (SCM));
21 DECLARE_SCHEME_CALLBACK (print, (SCM));
23 static vector<Box> boxes (Grob *me, Grob *left);
24 static Skyline conditional_skyline (Grob *, Grob *);
25 static Grob *extremal_break_aligned_grob (Grob *, Direction, Interval *);
26 static Real set_distance (Item *left, Item *right, Real padding);
27 static bool is_empty (Grob *me);
28 static void add_item (Grob *, Item *);
29 static void add_conditional_item (Grob *, Grob *);
32 #endif /* SINGLE_MALT_GROUPING_ITEM_HH */