X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsimple-spacer.cc;h=fd8c6798c4026290804a49d570d18ff8b22a2c91;hb=7b3a63a4a301a67a6812a73542d25016bfb32ebb;hp=4644ad7c4b952a98b7d17c567b7eae321ef09c45;hpb=f93e4199873c91ae32f0e84a610d14853dc379df;p=lilypond.git diff --git a/lily/simple-spacer.cc b/lily/simple-spacer.cc index 4644ad7c4b..fd8c6798c4 100644 --- a/lily/simple-spacer.cc +++ b/lily/simple-spacer.cc @@ -1,7 +1,7 @@ /* This file is part of LilyPond, the GNU music typesetter. - Copyright (C) 1999--2011 Han-Wen Nienhuys + Copyright (C) 1999--2012 Han-Wen Nienhuys 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) {