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