]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/paper-column.hh
release: 1.3.70
[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 /**
18    bounded-by-me -- list of elts.
19
20    shortest-starter-duration -- rational signifying shortest moment that starts here
21
22
23    Interfaces:
24
25    axis-group, spaceable-element.
26   */
27
28 class Paper_column : public Item
29
30 public:
31   VIRTUAL_COPY_CONS(Score_element);
32
33   /*
34     Not (yet) in scm, because of messy effects when a column commits suicide.
35    */
36   int  rank_i_;
37   virtual void do_break_processing ();
38   virtual Paper_column *column_l () const;
39   virtual Line_of_score *line_l () const;
40
41   /// if lines are broken then this column is in #line#
42   Line_of_score *line_l_;
43
44   /// which  one (left =0)
45   static int rank_i(Score_element*);
46
47   Paper_column (SCM);
48   bool musical_b () const;
49   static Moment when_mom (Score_element*);
50
51   static bool used_b (Score_element*) ;
52   void set_rank (int);
53 };
54      
55 #endif // P_COL_HH
56