]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/stem-staff-side.hh
release: 1.1.51
[lilypond.git] / lily / include / stem-staff-side.hh
1 /*   
2   stem-staff-side.hh -- declare Stem_staff_side
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 Stem_STAFF_SIDE_HH
11 #define Stem_STAFF_SIDE_HH
12
13 #include "staff-side.hh"
14 /**
15    Position self, analogous to Staff_side_item, but use Stem direction
16    for determining direction.
17
18    Properties:
19
20    padding :: Real
21
22    Padding in staffline leading
23    
24  */
25 class Stem_staff_side_item : public Staff_side_item
26 {
27   Stem *stem_l_;
28 public:
29   Direction relative_dir_;
30
31   void set_stem (Stem*);
32   Stem_staff_side_item ();
33 protected:
34   virtual Direction get_default_direction ()const;
35   virtual void do_pre_processing ();
36   virtual void do_substitute_element_pointer (Score_element*o,Score_element*e);
37 };
38
39 #endif /* Stem_STAFF_SIDE_HH */
40