]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/page-spacing.hh
When working out page breaks, take into account the fact that titles
[lilypond.git] / lily / include / page-spacing.hh
index 9bb37804a7e7aba5214e8dc6e68ae21a2381d826..fe7056c597c1fa1bcdf30a19c7b979756ef3ba16 100644 (file)
@@ -61,12 +61,15 @@ struct Page_spacing
   Real rod_height_;
   Real spring_len_;
   Real inverse_spring_k_;
+  Real page_top_space_;
 
   Line_details last_line_;
+  Line_details first_line_;
 
-  Page_spacing (Real page_height)
+  Page_spacing (Real page_height, Real page_top_space)
   {
     page_height_ = page_height;
+    page_top_space_ = page_top_space;
     clear ();
   }