]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/g-staff-side.hh
6334233f1158f8e9f341b6a7a067be321df8c65a
[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 #include "staff-symbol-referencer.hh"
15
16 class G_staff_side_item : public Item, public Staff_symbol_referencer
17 {
18   void position_self ();
19 public:
20   Score_element * to_position_l_;
21   Direction dir_;
22   Link_array<Score_element> support_l_arr_;
23   Real padding_f_;
24   Axis axis_;
25   
26   G_staff_side_item ();
27   void set_victim (Score_element*);
28   void add_support (Score_element*);
29
30   virtual void set_default_direction ();
31   VIRTUAL_COPY_CONS(Score_element);
32 protected:
33   virtual void do_add_processing ();
34   virtual void do_substitute_element_pointer (Score_element*,Score_element*);
35   virtual void do_pre_processing ();
36   virtual void do_post_processing ();
37 };
38
39 #endif /* G_STAFF_SIDE_HH */
40