2 rest-collision.hh -- declare Rest_collision
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef REST_COLLISION_HH
11 #define REST_COLLISION_HH
13 #include "lily-proto.hh"
14 #include "lily-guile.hh"
19 Move rests in note-columns so that they do not collide.
25 maximum-rest-count -- kill off rests so we don't more than this
28 minimum-distance -- minimum distance between notes and rests.
32 elements -- list of elts (both rests and notes) participating in the
38 rest-collision -- pointer to self.
45 class Rest_collision // interface
48 static void add_column (Score_element*me,Score_element*);
49 static void set_interface (Score_element*me);
50 static bool has_interface (Score_element*);
51 static Real force_shift_callback (Score_element *, Axis);
52 static SCM do_shift (Score_element*,SCM);
54 #endif // REST_COLLISION_HH