source file of the GNU LilyPond music typesetter
- (c) 2001--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ (c) 2001--2009 Han-Wen Nienhuys <hanwen@xs4all.nl>
*/
#ifndef STAFF_SPACING_HH
#include "lily-proto.hh"
#include "grob-interface.hh"
+#include "spring.hh"
class Staff_spacing
{
+ static Real optical_correction (Grob *, Grob *, Interval);
+ static Real next_notes_correction (Grob *, Grob *);
+
public:
- static void next_notes_correction (Grob *, Grob *, Real, Real, Real *, Real *);
- static void next_note_correction (Grob *, Grob *, Interval, Real, Real, Real*, Real *, int *);
DECLARE_GROB_INTERFACE();
- static void get_spacing_params (Grob *, Real *, Real *);
-
+ static Spring get_spacing (Grob *, Grob *right_col);
static Interval bar_y_positions (Grob *);
};