Correct left text alignment of DynamicTextSpanner.
[lilypond.git] / lily / include / note-collision.hh
blob9390321e590fca3df3798cb5c09a8cce1c500a03
1 /*
2 collision.hh -- declare Collision
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #ifndef COLLISION_HH
10 #define COLLISION_HH
12 #include "std-vector.hh"
13 #include "grob-interface.hh"
14 #include "lily-proto.hh"
17 /**
18 Resolve conflicts between various Note_columns (chords).
20 TODO
22 * multistaff support (see Chlapik: equal noteheads should be on the
23 same hpos.)
25 * Make interface of this, similar to align-interface.
27 class Note_collision_interface
29 public:
30 static SCM automatic_shift (Grob *, Drul_array<vector<Grob*> >);
31 static SCM forced_shift (Grob *);
33 static Drul_array<vector<Grob*> > get_clash_groups (Grob *me);
34 DECLARE_SCHEME_CALLBACK (calc_positioning_done, (SCM smob));
35 static void add_column (Grob *me, Grob *ncol);
36 DECLARE_GROB_INTERFACE();
38 #endif // COLLISION_HH