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"
20 Move rests in note-columns so that they do not collide.
26 maximum-rest-count -- kill off rests so we don't more than this
29 minimum-distance -- minimum distance between notes and rests.
33 elements -- list of elts (both rests and notes) participating in the
39 rest-collision -- pointer to self.
46 class Rest_collision // interface
49 static void add_column (Score_element*me,Score_element*);
50 static void set_interface (Score_element*me);
51 static bool has_interface (Score_element*);
52 DECLARE_SCHEME_CALLBACK(force_shift_callback, (SCM element, SCM axis));
53 static SCM do_shift (Score_element*,SCM);
55 #endif // REST_COLLISION_HH