X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fitem.hh;h=48edba01883b9d3e543dc7d01ad201aaf4bf3971;hb=df4a7c4a55148e065d878dcc2f7e09ac27ea9c32;hp=ce597312c7d6b3a0b2c5416815562c63f3e66630;hpb=3c5ca37ea37ea91dfc9fcc303cf6d68446e87291;p=lilypond.git diff --git a/lily/include/item.hh b/lily/include/item.hh index ce597312c7..48edba0188 100644 --- a/lily/include/item.hh +++ b/lily/include/item.hh @@ -10,7 +10,7 @@ #include "box.hh" -#include "score-element.hh" +#include "grob.hh" #include "drul-array.hh" #include "protected-scm.hh" @@ -21,22 +21,22 @@ before the spacing is calculated */ -class Item : public Score_element +class Item : public Grob { Drul_array broken_to_drul_; public: - VIRTUAL_COPY_CONS(Score_element); + VIRTUAL_COPY_CONS(Grob); Item (SCM); Item (Item const &); - static bool breakable_b (Score_element*me); + static bool breakable_b (Grob*me); bool broken_b () const; Direction break_status_dir () const; Item * find_prebroken_piece (Direction) const; - Score_element * find_broken_piece (Line_of_score*) const; + Grob * find_broken_piece (Line_of_score*) const; virtual Line_of_score * line_l() const; virtual Paper_column * column_l () const;