X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=lily%2Finclude%2Fgrob.hh;h=f0191e3e446570b1db9c4ebd55b8f9756c4e444e;hb=adfdbf4765643e9e12256634d655382fc7966f36;hp=5876d4497d8c0d582f2af98ed5bede9527b00570;hpb=8eafccec8c45891d8e00366ca2f67f67a9c93cf9;p=lilypond.git diff --git a/lily/include/grob.hh b/lily/include/grob.hh index 5876d4497d..f0191e3e44 100644 --- a/lily/include/grob.hh +++ b/lily/include/grob.hh @@ -84,12 +84,8 @@ public: SCM internal_get_object (SCM symbol) const; void internal_set_object (SCM sym, SCM val); void internal_del_property (SCM symbol); - -#ifndef NDEBUG - void internal_set_property (SCM sym, SCM val, char const *file, int line, char const *fun); -#else + void instrumented_set_property (SCM, SCM, char const*, int, char const*); void internal_set_property (SCM sym, SCM val); -#endif /* messages */ void warning (string) const; @@ -122,7 +118,7 @@ public: /* extents */ Interval extent (Grob *refpoint, Axis) const; void flush_extent_cache (Axis); - Interval pure_height (Grob *refpoint, int start_col, int end_col); + virtual Interval pure_height (Grob *refpoint, int start_col, int end_col); Interval maybe_pure_extent (Grob *refpoint, Axis, bool pure, int start, int end); /* refpoints */ @@ -131,7 +127,7 @@ public: Grob *get_parent (Axis a) const; void fixup_refpoint (); - virtual Interval_t spanned_rank_iv (); + virtual Interval_t spanned_rank_interval () const; }; /* smob utilities */ @@ -150,9 +146,12 @@ Interval robust_relative_extent (Grob *, Grob *, Axis); /* offset/extent callbacks. */ void add_offset_callback (Grob *g, SCM proc, Axis a); void chain_offset_callback (Grob *g, SCM proc, Axis a); +void chain_callback (Grob *g, SCM proc, SCM sym); SCM axis_offset_symbol (Axis a); SCM axis_parent_positioning (Axis a); SCM call_pure_function (SCM unpure, SCM args, int start, int end); +void set_nested_property (Grob *, SCM property_path, SCM value); + #endif /* GROB_HH */