]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/paper-column.cc
''
[lilypond.git] / lily / paper-column.cc
index 789a9cfa7362f83c2b9ac2983b3af3209cdc149d..e68395807dff33e84c7d4e496ef4bb5cbdce0aa6 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--2001 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 #include "moment.hh"
 #include "font-interface.hh"
 
 
-/*
-  Paper_columns form the top-most item parent. (The Paper_columns X
-  parent is Line_of_score, which is a spanner.)
+
+
+
+ADD_INTERFACE (Paper_column, "paper-column-interface",
+  "  Paper_columns form the top-most item parent. (The Paper_columns X
+  parent is System, which is a spanner.)
 
   Paper_columns form the units for the spacing engine. They are
   numbered, the first (leftmost) is column 0. Numbering happens before
   Since many columns go unused, you should only use the rank field to
   get ordering information.  Two adjacent columns may have
   non-adjacent numbers.
-  
- */
+
+  Don't be confused by right-items: each spacing wish can also contain
+  a number of items, with which a spacing constraint may be kept. It's
+  a little baroque, but it might come in handy later on?
+
+",
+  "between-cols between-system-string when bounded-by-me shortest-playing-duration shortest-starter-duration");
+
 
 void
 Paper_column::do_break_processing ()
@@ -45,7 +54,7 @@ Paper_column::rank_i (Grob*me)
   return dynamic_cast<Paper_column*> (me)->rank_i_;
 }
 
-Line_of_score*
+System*
 Paper_column::line_l () const
 {
   return line_l_;
@@ -60,10 +69,6 @@ Paper_column::column_l () const
 Paper_column::Paper_column (SCM l)
   : Item (l)           // guh.?
 {
-  Axis_group_interface::set_interface (this);
-  Axis_group_interface::set_axes (this, X_AXIS, X_AXIS);
-  Spaceable_grob::set_interface (this);
-
   line_l_=0;
   rank_i_ = -1;
 }