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 : public virtual Score_element
25 Staff_symbol * staff_symbol_l_;
28 Staff_symbol_referencer ();
29 void set_position (Real);
31 void set_staff_symbol (Staff_symbol*);
33 Leading are the lead strips between the sticks (lines) of
34 typeface. ie. leading is vertical space.
37 Real staff_line_leading_f () const;
38 Staff_symbol * staff_symbol_l () const;
40 virtual void do_substitute_element_pointer (Score_element*,Score_element*);
41 virtual void do_pre_processing ();
42 virtual Real position_f () const;
46 #endif /* STAFF_SYMBOL_REFERENCER_HH */