X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Fgrob.hh;h=66cc0530b73a0221f8f74cb93489bea5c80e0737;hb=48ddc05527f9894f322bcb8becd94110ba446291;hp=5876d4497d8c0d582f2af98ed5bede9527b00570;hpb=8eafccec8c45891d8e00366ca2f67f67a9c93cf9;p=lilypond.git diff --git a/lily/include/grob.hh b/lily/include/grob.hh index 5876d4497d..66cc0530b7 100644 --- a/lily/include/grob.hh +++ b/lily/include/grob.hh @@ -3,7 +3,7 @@ source file of the LilyPond music typesetter - (c) 1996--2007 Han-Wen Nienhuys + (c) 1996--2009 Han-Wen Nienhuys */ #ifndef 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 */