]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/g-staff-side.hh
patch::: 1.1.23.mb1
[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 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 /*
16   DO NOT USE AS BREAKABLE ITEM!
17
18   (-> core dump!)
19  */
20 class G_staff_side_item : public Item
21 {
22 public:
23   Score_element * to_position_l_;
24   Direction dir_;
25   Link_array<Score_element> support_l_arr_;
26   Real padding_f_;
27   
28   G_staff_side_item ();
29   void set_victim (Score_element*);
30   void add_support (Score_element*);
31
32   virtual void set_default_direction ();
33   VIRTUAL_COPY_CONS(Score_element);
34 protected:
35   virtual void do_substitute_dependency (Score_element*,Score_element*);
36   virtual void do_pre_processing ();
37   virtual void do_post_processing ();
38 };
39
40 #endif /* G_STAFF_SIDE_HH */
41