X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstaff-spacing.hh;h=b4241f2800b323363efc57cd57cc7d0a44b8dae4;hb=01cdf1ac7e78505f63eae27894fe709ea50c0c96;hp=3d697dcc31ed9570a811297e145d211c8654de50;hpb=3130370f1e21481c80abc3e67fb33b3b505cb241;p=lilypond.git diff --git a/lily/include/staff-spacing.hh b/lily/include/staff-spacing.hh index 3d697dcc31..b4241f2800 100644 --- a/lily/include/staff-spacing.hh +++ b/lily/include/staff-spacing.hh @@ -1,22 +1,26 @@ -/* -staff-spacing.hh -- declare Staff_spacing +/* + staff-spacing.hh -- declare Staff_spacing -source file of the GNU LilyPond music typesetter + source file of the GNU LilyPond music typesetter -(c) 2001 Han-Wen Nienhuys - - */ + (c) 2001--2007 Han-Wen Nienhuys +*/ #ifndef STAFF_SPACING_HH #define STAFF_SPACING_HH #include "lily-proto.hh" +#include "grob-interface.hh" class Staff_spacing { public: - static bool has_interface (Grob*); - static void get_spacing_params (Grob*,Real*,Real*); + 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 Interval bar_y_positions (Grob *); }; #endif /* STAFF_SPACING_HH */