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