X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fpage-spacing.hh;h=846fe1be3e12043f86db917733283eb0eacd345b;hb=5b4b0d6e9a197e8f9eb085b7c2ad78b8be3e5cfc;hp=ba05a4de9d740a14c2c0a92ce0969131cf3b898b;hpb=d58ab73175d0d5d06d0e5ebda68c8682948c5e6a;p=lilypond.git diff --git a/lily/include/page-spacing.hh b/lily/include/page-spacing.hh index ba05a4de9d..846fe1be3e 100644 --- a/lily/include/page-spacing.hh +++ b/lily/include/page-spacing.hh @@ -4,7 +4,7 @@ source file of the GNU LilyPond music typesetter - (c) 2006--2007 Joe Neeman + (c) 2006--2008 Joe Neeman */ #ifndef PAGE_SPACING_HH @@ -61,17 +61,20 @@ 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 (); } void calc_force (); - + void resize (Real new_height); void append_system (const Line_details &line); void prepend_system (const Line_details &line); void clear ();