2 collision.hh -- declare Collision
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
12 #include "std-vector.hh"
13 #include "grob-interface.hh"
14 #include "lily-proto.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.
27 class Note_collision_interface
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