]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/collision.hh
release: 1.3.50
[lilypond.git] / lily / include / collision.hh
1 /*
2   collision.hh -- declare Collision
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef COLLISION_HH
11 #define COLLISION_HH
12 #include "lily-proto.hh"
13 #include "item.hh"
14
15
16 /**
17   Resolve conflicts between various Note_columns (chords).
18   
19   TODO 
20
21   multistaff support (see Chlapik: equal noteheads should be on the
22   same hpos.)  
23 */
24 class Collision : public Item
25 {
26 protected:
27   SCM automatic_shift ();
28   SCM forced_shift ();
29   
30   virtual void before_line_breaking ();
31 public:
32     
33   void add_column (Note_column*ncol_l);
34   Collision();
35 };
36 #endif // COLLISION_HH