]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-column.hh
patch::: 1.3.96.jcn9
[lilypond.git] / lily / include / paper-column.hh
1 /*
2   paper-column.hh -- declare  Paper_column
3
4   source file of the GNU LilyPond music typesetter
5
6   (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef P_COL_HH
11 #define P_COL_HH
12
13 #include "item.hh"
14 #include "rod.hh"
15 #include "spring.hh"
16
17 class Paper_column : public Item
18
19 public:
20   VIRTUAL_COPY_CONS(Score_element);
21
22   /*
23     Not (yet) in scm, because of messy effects when a column commits suicide.
24    */
25   int  rank_i_;
26   virtual void do_break_processing ();
27   virtual Paper_column *column_l () const;
28   virtual Line_of_score *line_l () const;
29
30   /// if lines are broken then this column is in #line#
31   Line_of_score *line_l_;
32
33   /// which  one (left =0)
34   static int rank_i(Score_element*);
35
36   Paper_column (SCM);
37   bool musical_b () const;
38   static Moment when_mom (Score_element*);
39
40   static bool used_b (Score_element*) ;
41   void set_rank (int);
42 };
43      
44 #endif // P_COL_HH
45