]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/spacing-spanner.hh
release: 1.5.3
[lilypond.git] / lily / include / spacing-spanner.hh
index fbf332b2c7661d97f26847e7ddce2fd0248ca87b..b045401a028d3fac6a21de30d72aefe824a8bbb0 100644 (file)
@@ -3,20 +3,27 @@
   
   source file of the GNU LilyPond music typesetter
   
-  (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c) 1999--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
   
  */
 
 #ifndef SPACING_SPANNER_HH
 #define SPACING_SPANNER_HH
 
-class Spacing_spanner : public Spanner
-{
-  Link_array<Paper_column> cols_;
+#include "spanner.hh"
+#include "spring.hh"
 
-  Spacing_spanner ();
-protected:
-  virtual void do_space_processing ();
+class Spacing_spanner
+{
+public:
+  static void set_interface (Grob*);
+  static void do_measure (Grob*,Link_array<Grob> const &) ;
+  static void stretch_to_regularity (Grob*, Array<Spring> *, Link_array<Grob> const &);
+  DECLARE_SCHEME_CALLBACK (set_springs, (SCM ));
+  static Real stem_dir_correction (Grob*,Grob*,Grob*)  ;
+  static Real default_bar_spacing (Grob*,Grob*,Grob*,Moment)  ;
+  static Real note_spacing (Grob*,Grob*,Grob*,Moment)  ;
+  static Real get_duration_space (Grob*,Moment dur, Moment shortest) ;
 };
 
 #endif /* SPACING_SPANNER_HH */