X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Fledger-line-spanner.cc;h=59ae3e55c9b18290c7e043a7012dd8b95cf9bda5;hb=3704bcc57f83c44c279c40fb4b01ee8860144750;hp=ea0fa43d4ef35a018a95dab11c0f0ee1bf8f8e1c;hpb=25190a4637753e6439c445d2d4fe9323b7945d32;p=lilypond.git diff --git a/lily/ledger-line-spanner.cc b/lily/ledger-line-spanner.cc index ea0fa43d4e..59ae3e55c9 100644 --- a/lily/ledger-line-spanner.cc +++ b/lily/ledger-line-spanner.cc @@ -3,7 +3,7 @@ source file of the GNU LilyPond music typesetter - (c) 2004--2006 Han-Wen Nienhuys + (c) 2004--2008 Han-Wen Nienhuys */ #include @@ -28,7 +28,7 @@ struct Ledger_line_spanner Interval x_extent, Real left_shorten); - DECLARE_GROB_INTERFACE(); + DECLARE_GROB_INTERFACE (); }; Stencil @@ -42,7 +42,7 @@ Ledger_line_spanner::brew_ledger_lines (Grob *staff, { int line_count = (staff_extent.contains (pos) ? 0 - : sign (pos) * int (rint(pos - staff_extent[Direction (sign (pos))])) / 2); + : sign (pos) * int (rint (pos - staff_extent[Direction (sign (pos))])) / 2); Stencil stencil; if (line_count) { @@ -351,10 +351,9 @@ Ledger_line_spanner::print (SCM smob) } ADD_INTERFACE (Ledger_line_spanner, - - "This spanner draws the ledger lines of a staff.\n" - "This is a separate grob because it has to process\n" - "all potential collisions between all note heads.", + "This spanner draws the ledger lines of a staff. This is a" + " separate grob because it has to process all potential" + " collisions between all note heads.", /* properties */ "gap " @@ -366,12 +365,13 @@ ADD_INTERFACE (Ledger_line_spanner, struct Ledgered_interface { - DECLARE_GROB_INTERFACE(); + DECLARE_GROB_INTERFACE (); }; ADD_INTERFACE (Ledgered_interface, + "Objects that need ledger lines, typically note heads. See" + " also @ref{ledger-line-spanner-interface}.", - "Objects that need ledger lines, typically " - "note heads. See also @ref{ledger-line-spanner-interface}.", - - "no-ledgers"); + /* properties */ + "no-ledgers " + );