2 staff-side.hh -- declare Staff_side
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
13 #include "score-elem.hh"
14 #include "interval.hh"
15 #include "direction.hh"
17 /** A symbol which sits along a staff.
20 class Staff_side : virtual Score_elem {
21 Link_array<Score_elem> support_l_arr_;
23 Interval support_height() const;
24 Staff_symbol* staff_sym_l_;
25 Real get_position_f() const;
27 void read_staff_sym();
31 Vertical dir of symbol relative to staff. -1 = below staff?
36 /// follow the support inside the staff?
42 void set_staffsym (Staff_symbol * );
45 void add_support (Score_elem*);
46 DECLARE_MY_RUNTIME_TYPEINFO;
49 virtual Interval symbol_height() const;
50 virtual void do_substitute_dependency (Score_elem *, Score_elem*);
51 virtual void do_post_processing();
53 #endif // STAFF_SIDE_HH