]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/system.cc
* THANKS: Create skeleton for 2.1.
[lilypond.git] / lily / system.cc
index 2d62e26df9816d8dbbf9aa230913eef60fede865..8aadfedb6d73b325d52a80a76ac30666b99e3903 100644 (file)
@@ -201,31 +201,6 @@ set_loose_columns (System* which, Column_x_positions const *posns)
        }
       while (1);
       
-    
-#if 0
-      Real rx = right->relative_coordinate (right->get_parent (X_AXIS), X_AXIS);
-      Real lx = left->relative_coordinate (left->get_parent (X_AXIS), X_AXIS);
-
-      /*
-       divide space equally over loose columns.
-       */
-      int j = 1;
-      loose = col;
-      while (1)
-       {
-         SCM between = loose->get_grob_property ("between-cols");
-         if (!gh_pair_p (between))
-           break;
-
-         Paper_column *thiscol = dynamic_cast<Paper_column*> (loose);
-
-         thiscol->system_ = which;
-         thiscol->translate_axis (lx + j*(rx - lx)/divide_over, X_AXIS);
-
-         j ++; 
-         loose = dynamic_cast<Item*> (unsmob_grob (ly_cdr (between)));
-       }
-#else
       /*
        We divide the remaining space of the column over the left and
        right side. At the moment, we  
@@ -263,7 +238,6 @@ set_loose_columns (System* which, Column_x_positions const *posns)
 
       col->system_ = which;
       col->translate_axis (lx + dx - cval[LEFT], X_AXIS); 
-#endif
     }
 }
 
@@ -362,11 +336,6 @@ System::add_column (Paper_column*p)
   Axis_group_interface::add_element (me, p);
 }
 
-
-
-/*
-  TODO: use scm_map iso. for loops.
- */
 void
 System::pre_processing ()
 {
@@ -444,7 +413,7 @@ System::post_processing (bool last_line)
    */
   Interval j (extent (this, X_AXIS));
   Real length = j[RIGHT];
-  
+    
   output_scheme (scm_list_n (ly_symbol2scm ("start-system"),
                          gh_double2scm (length),
                          gh_double2scm (height),
@@ -452,7 +421,6 @@ System::post_processing (bool last_line)
   
   /* Output elements in three layers, 0, 1, 2.
      The default layer is 1. */
-
   {
     Molecule *m = this->get_molecule();
     if (m)