]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/staff-side.hh
382d0d6cf36ec8f7bb8c20e9b4694c704d2a2c38
[lilypond.git] / lily / include / staff-side.hh
1 /*   
2   staff-side.hh -- declare Staff_side_{element,spanner,item}
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef STAFF_SIDE_HH
11 #define STAFF_SIDE_HH
12
13
14 #include "spanner.hh"
15 #include "item.hh"
16 #include "staff-symbol-referencer.hh"
17 #include "directional-element.hh"
18
19 struct Staff_sidify
20 {
21   Score_element * elt_l_;
22 public:
23   Staff_sidify (Score_element*);
24   static Real position_self (Dimension_cache const *);
25
26   void set_axis (Axis);
27   Axis get_axis () const;
28   
29   bool is_staff_side_b ();
30   void add_support (Score_element*);
31   Real aligned_position (Dimension_cache const*);
32
33   
34   Direction get_direction () const;
35   void set_direction (Direction);
36 };
37
38
39
40 #endif /* STAFF_SIDE_HH */
41