]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 22 Aug 2002 18:33:45 +0000 (18:33 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 22 Aug 2002 18:33:45 +0000 (18:33 +0000)
lily/simple-spacer.cc

index fef3caea83c00865000c23c41733f7b74b758c4b..aa6269be08087d869d625dd96c44a0a8b44f81c4 100644 (file)
@@ -9,7 +9,7 @@
   - add support for different stretch/shrink constants?
   
 */
-
+#include <stdio.h>
 #include <math.h>
 #include <libc-extension.hh>   // isinf
 
@@ -311,8 +311,21 @@ Simple_spacer::add_columns (Link_array<Grob> const &icols)
     my_solve_linelen ();
 }
 
-#include <stdio.h>
+/*
+  
+  TODO: should a add penalty for widely varying spring forces (caused
+  by constraints, eg.
 
+
+         =====  
+         |   |
+  o|o|  x ##x
+
+
+  The ## forces the notes apart; we shouldn't allow the O's to touch
+  this closely.
+  
+ */
 void
 Simple_spacer::solve (Column_x_positions *positions, bool ragged) const
 {