2 collision.hh -- declare Collision
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "lily-proto.hh"
14 #include "lily-guile.hh"
16 #include "drul-array.hh"
20 Resolve conflicts between various Note_columns (chords).
24 * multistaff support (see Chlapik: equal noteheads should be on the
27 * Make interface of this, similar to align-interface.
30 class Note_collision_interface
33 static SCM automatic_shift (Grob*, Drul_array< Link_array <Grob> >);
34 static SCM forced_shift (Grob*);
36 static Drul_array< Link_array <Grob> > get_clash_groups (Grob *me);
37 DECLARE_SCHEME_CALLBACK (force_shift_callback, (SCM element, SCM axis));
38 static void do_shifts (Grob*);
39 static void add_column (Grob*me,Grob*ncol);
40 static bool has_interface(Grob*);
42 #endif // COLLISION_HH