]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/page-spacing.hh
Rewrite the vertical layout of staves/systems.
[lilypond.git] / lily / include / page-spacing.hh
index 958a1b21ff08b2bffd51b5746db2f29abaf91daf..bf8a7e1826c3f8a3e2e06f9b2d27874a7fbf1650 100644 (file)
@@ -83,15 +83,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_breaking const *breaker_;
 
-  Page_spacing (Real page_height, Real page_top_space)
+  Page_spacing (Real page_height, Page_breaking const *breaker)
   {
     page_height_ = page_height;
-    page_top_space_ = page_top_space;
+    breaker_ = breaker;
     clear ();
   }