2 staff-sym-referencer.hh -- declare staff_symbol_referencer
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef STAFF_SYMBOL_REFERENCER_HH
11 #define STAFF_SYMBOL_REFERENCER_HH
13 #include "score-element.hh"
17 A notation object that needs access to variables of the staff (no
21 class Staff_symbol_referencer_interface
24 Score_element * elt_l_;
25 Staff_symbol_referencer_interface (Score_element const*);
26 void set_interface ();
27 bool has_interface_b ();
28 void set_position (Real);
29 static Real callback (Score_element const*, Axis a);
32 Leading are the lead strips between the sticks (lines) of
33 typeface. ie. leading is vertical space.
36 Real staff_space () const;
37 Staff_symbol * staff_symbol_l () const;
38 int line_count () const;
39 Real position_f () const;
42 int compare_position (Score_element *const&,Score_element *const&);
45 Staff_symbol_referencer_interface staff_symbol_referencer (Score_element const*);
47 #endif /* STAFF_SYMBOL_REFERENCER_HH */