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>
12 #include "lily-proto.hh"
13 #include "lily-guile.hh"
17 Resolve conflicts between various Note_columns (chords).
21 * multistaff support (see Chlapik: equal noteheads should be on the
24 * Make interface of this, similar to align-interface.
26 class Note_collision_interface
29 static SCM automatic_shift (Grob *, Drul_array< Link_array<Grob> >);
30 static SCM forced_shift (Grob *);
32 static Drul_array< Link_array<Grob> > get_clash_groups (Grob *me);
33 DECLARE_SCHEME_CALLBACK (force_shift_callback, (SCM element, SCM axis));
34 static void do_shifts (Grob *);
35 static void add_column (Grob *me, Grob *ncol);
36 static bool has_interface (Grob *);
38 #endif // COLLISION_HH