2 staff-sym-referencer.hh -- declare staff_symbol_referencer
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef STAFF_SYMBOL_REFERENCER_HH
11 #define STAFF_SYMBOL_REFERENCER_HH
13 #include "score-element.hh"
16 A notation object that needs access to variables of the staff (no
20 class Staff_symbol_referencer_interface
23 Score_element * elt_l_;
24 Staff_symbol_referencer_interface (Score_element const*);
25 void set_interface ();
26 bool has_interface_b ();
27 void set_position (Real);
28 static Real callback (Dimension_cache const*);
31 Leading are the lead strips between the sticks (lines) of
32 typeface. ie. leading is vertical space.
35 Real staff_line_leading_f () const;
36 Staff_symbol * staff_symbol_l () const;
38 Real position_f () const;
42 Staff_symbol_referencer_interface staff_symbol_referencer_interface (Score_element const*);
44 #endif /* STAFF_SYMBOL_REFERENCER_HH */