]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/g-stem-staff-side.hh
patch::: 1.1.37.script1
[lilypond.git] / lily / include / g-stem-staff-side.hh
1 /*   
2   g-stem-staff-side.hh -- declare G_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 G_STEM_STAFF_SIDE_HH
11 #define G_STEM_STAFF_SIDE_HH
12
13 #include "g-staff-side.hh"
14 /**
15    Position self, analogous to G_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 G_stem_staff_side_item : public G_staff_side_item
26 {
27   Stem *stem_l_;
28 public:
29   Direction relative_dir_;
30
31   void set_stem (Stem*);
32   G_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 /* G_STEM_STAFF_SIDE_HH */
40