]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/g-staff-side.hh
release: 1.1.32
[lilypond.git] / lily / include / g-staff-side.hh
1 /*   
2   g-staff-side.hh -- declare G_staff_side_item
3   
4   source file of the GNU LilyPond music typesetter
5   
6   (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7   
8  */
9
10 #ifndef G_STAFF_SIDE_HH
11 #define G_STAFF_SIDE_HH
12
13 #include "item.hh"
14
15 class G_staff_side_item : public Item
16 {
17   void position_self ();
18 public:
19   Score_element * to_position_l_;
20   Direction dir_;
21   Link_array<Score_element> support_l_arr_;
22   Real padding_f_;
23   Axis axis_;
24   
25   G_staff_side_item ();
26   void set_victim (Score_element*);
27   void add_support (Score_element*);
28
29   virtual void set_default_direction ();
30   VIRTUAL_COPY_CONS(Score_element);
31 protected:
32   virtual void do_substitute_element_pointer (Score_element*,Score_element*);
33   virtual void do_pre_processing ();
34   virtual void do_post_processing ();
35 };
36
37 #endif /* G_STAFF_SIDE_HH */
38