]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/page-spacing.hh
This patch is meant to be a TEST ONLY of footnotes at the bottom of
[lilypond.git] / lily / include / page-spacing.hh
index be261735aa2f61ae608220bb280178ca9c76dfb1..206bcbf426bb4193ab7c0bdf03c3665c01711229 100644 (file)
@@ -102,6 +102,7 @@ struct Page_spacing
   Real rod_height_;
   Real spring_len_;
   Real inverse_spring_k_;
+  bool has_footnotes_;
 
   Line_details last_line_;
   Line_details first_line_;
@@ -111,11 +112,13 @@ struct Page_spacing
   {
     page_height_ = page_height;
     breaker_ = breaker;
+    has_footnotes_ = false;
     clear ();
   }
 
   void calc_force ();
   void resize (Real new_height);
+  Real account_for_footnotes (Line_details const &line);
   void append_system (const Line_details &line);
   void prepend_system (const Line_details &line);
   void clear ();