]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/simple-spacer.cc
Release: update news.
[lilypond.git] / lily / simple-spacer.cc
index 4644ad7c4b952a98b7d17c567b7eae321ef09c45..fd8c6798c4026290804a49d570d18ff8b22a2c91 100644 (file)
@@ -1,7 +1,7 @@
 /*
   This file is part of LilyPond, the GNU music typesetter.
 
-  Copyright (C) 1999--2011 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  Copyright (C) 1999--2012 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
   TODO:
   - add support for different stretch/shrink constants?
@@ -160,6 +160,12 @@ Simple_spacer::configuration_length (Real force) const
   return l;
 }
 
+void
+Simple_spacer::set_force (Real force)
+{
+  force_ = force;
+}
+
 void
 Simple_spacer::solve (Real line_len, bool ragged)
 {