lilypond-1.5.10
[lilypond.git] / lily / include / collision.hh
blob712fe371f9028cfbf57c9dbdc60dd80f411aad78
1 /*
2 collision.hh -- declare Collision
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
10 #ifndef COLLISION_HH
11 #define COLLISION_HH
13 #include "lily-proto.hh"
14 #include "lily-guile.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.
28 class Collision // interface
30 public:
31 static SCM automatic_shift (Grob*);
32 static SCM forced_shift (Grob*);
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_l);
37 #endif // COLLISION_HH