2 staff-side.hh -- declare Staff_side
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
13 #include "score-element.hh"
14 #include "interval.hh"
15 #include "direction.hh"
19 A symbol which sits either below or above "something" (usually, a
23 class Staff_side : virtual Score_element
28 Vertical dir of symbol relative to staff. -1 = below staff?
34 Real coordinate_offset_f_;
37 Add extra vertical space to the support symbols.
42 void add_support (Score_element*);
43 DECLARE_MY_RUNTIME_TYPEINFO;
46 virtual Interval symbol_height () const;
47 virtual Interval symbol_width () const;
48 Interval symbol_extent () const;
49 virtual Real get_position_f () const;
50 virtual void do_substitute_dependency (Score_element *, Score_element*);
51 virtual void do_pre_processing ();
52 virtual void do_post_processing ();
53 Interval support_extent () const;
56 void do_side_processing ();
57 Link_array<Score_element> support_l_arr_;
60 #endif // STAFF_SIDE_HH