X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstaff-symbol.hh;h=7aae8a287d416bc150541bce78a1f370df954a0d;hb=0b544cfb7332615ef809b71b57ab656741311ae1;hp=a8a68c34f0121372a53529f12343d201575dc220;hpb=08560a1b8076630c4fc6cb9b902614d8b74fd6fc;p=lilypond.git diff --git a/lily/include/staff-symbol.hh b/lily/include/staff-symbol.hh index a8a68c34f0..7aae8a287d 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--2012 Han-Wen Nienhuys + Copyright (C) 1997--2014 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 @@ -36,7 +36,7 @@ public: static vector line_positions (Grob *); static vector ledger_positions (Grob *me, int pos); 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));