X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fstaff-symbol.hh;fp=lily%2Finclude%2Fstaff-symbol.hh;h=688dccb0a686efd50e55eba44767522e2a9f1cde;hb=32a34dcef0c0041c6d62677487a380b5c8b85712;hp=1c091c638811a87ba6170804519a34ac8e0e9b7e;hpb=f41973ff763d5972a85995b6d40c864281ec6714;p=lilypond.git diff --git a/lily/include/staff-symbol.hh b/lily/include/staff-symbol.hh index 1c091c6388..688dccb0a6 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--2012 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 @@ -32,13 +32,14 @@ public: static Real staff_space (Grob *); static Real get_line_thickness (Grob *); static Real get_ledger_line_thickness (Grob *); - - static int get_steps (Grob *); + + 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)); - DECLARE_GROB_INTERFACE(); + DECLARE_SCHEME_CALLBACK (height, (SCM)); + DECLARE_GROB_INTERFACE (); }; #endif // STAFF_SYMBOL_HH