lilypond-1.5.10
[lilypond.git] / lily / include / staff-side.hh
blob42c1e002894c85eae0790e31748cee89fc0e428d
1 /*
2 staff-side.hh -- declare Staff_side_{element,spanner,item}
4 source file of the GNU LilyPond music typesetter
6 (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
10 #ifndef STAFF_SIDE_HH
11 #define STAFF_SIDE_HH
14 #include "spanner.hh"
15 #include "item.hh"
16 #include "staff-symbol-referencer.hh"
17 #include "directional-element.hh"
19 struct Side_position_interface
21 Score_element * elt_l_;
22 public:
23 Side_position_interface (Score_element*);
24 static Real side_position (Dimension_cache const *);
25 static Real self_alignment (Dimension_cache const *);
26 static Real aligned_side (Dimension_cache const *);
27 static Real quantised_position (Dimension_cache const*);
28 void set_axis (Axis);
29 void set_quantised (Axis);
30 Axis get_axis () const;
32 bool supported_b () const;
33 bool is_staff_side_b () const;
34 void add_support (Score_element*);
36 Direction get_direction () const;
37 void set_direction (Direction);
42 #endif /* STAFF_SIDE_HH */