X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstaff-symbol.hh;h=28b30244c7a87316721b913655aab890b5157cfe;hb=bf14e3a7d89454c17f65b291d192d05752afad27;hp=0a3ef80d642b03efc1ba74829869922a167b29d0;hpb=d10ec4f5a95d5b205da1bd73102697f8cc03b5b6;p=lilypond.git diff --git a/lily/include/staff-symbol.hh b/lily/include/staff-symbol.hh index 0a3ef80d64..28b30244c7 100644 --- a/lily/include/staff-symbol.hh +++ b/lily/include/staff-symbol.hh @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1997--2011 Han-Wen Nienhuys + Copyright (C) 1997--2015 Han-Wen Nienhuys LilyPond is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,12 +34,11 @@ public: static Real get_ledger_line_thickness (Grob *); static vector line_positions (Grob *); - static vector ledger_positions (Grob *me, int pos); + static vector ledger_positions (Grob *me, int pos, Item const *head = 0); static int line_count (Grob *); - static bool on_line (Grob *me, int pos); + static bool on_line (Grob *me, int pos, bool allow_ledger = true); static Interval line_span (Grob *); DECLARE_SCHEME_CALLBACK (print, (SCM)); DECLARE_SCHEME_CALLBACK (height, (SCM)); - DECLARE_GROB_INTERFACE (); }; #endif // STAFF_SYMBOL_HH