X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fitem.hh;h=07f1261a525c72fca408cd4085d26c0df80da42d;hb=6233e12249f74e19aff5ee5afa66e81c0f8b7259;hp=914d2ef7b8311b6c622ae0158d680b1846e9e9e5;hpb=47db9a3883d726ca53e2133a3b2298f78dd6a32e;p=lilypond.git diff --git a/lily/include/item.hh b/lily/include/item.hh index 914d2ef7b8..07f1261a52 100644 --- a/lily/include/item.hh +++ b/lily/include/item.hh @@ -36,13 +36,6 @@ public: Item (SCM); Item (Item const &); - static Item *unsmob (SCM g) { - return dynamic_cast (Grob::unsmob (g)); - } - static bool is_smob (SCM g) { - return Grob::is_smob (g) && unsmob (g); - } - virtual Grob *clone () const; static bool is_non_musical (Grob *); @@ -59,9 +52,8 @@ public: virtual Paper_column *get_column () const; virtual void handle_prebroken_dependencies (); virtual Interval_t spanned_rank_interval () const; - virtual Interval pure_height (Grob *ref, int start, int end); + virtual Interval pure_y_extent (Grob *ref, int start, int end); virtual void cache_pure_height (Interval height); - DECLARE_GROB_INTERFACE (); protected: virtual void discretionary_processing (); void copy_breakable_items ();