From: fred Date: Mon, 21 Oct 1996 22:15:57 +0000 (+0000) Subject: lilypond-0.0.4 X-Git-Tag: release/1.5.59~7050 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=4847ed2ccb1eb6e0a399763a751d6e6c836e041e;p=lilypond.git lilypond-0.0.4 --- diff --git a/linestaff.cc b/linestaff.cc index f2dd43b2b5..dd9227b155 100644 --- a/linestaff.cc +++ b/linestaff.cc @@ -1,11 +1,17 @@ #include "linestaff.hh" #include "symbol.hh" - - +#include "lookupsyms.hh" +#include "dimen.hh" Linestaff::Linestaff(int l) { nolines = l; - stafsym = Stretchable_symbol::get_linestaff(l); + stafsym = Lookup::linestaff(l); } +Symbol +Linestaff::get_stafsym(Real width)const +{ + String w(print_dimen(width)); + return stafsym->eval(w); +} diff --git a/suzan.ly b/suzan.ly index 35a949ecd5..08c4ddf643 100644 --- a/suzan.ly +++ b/suzan.ly @@ -2,13 +2,6 @@ score{ rhythmstaff { - voice { $ c4 c2 c4 $ } + voice { $c2 c2 c2 c2$ } } - rhythmstaff { - voice { $ c2 c2 $ } - } - rhythmstaff { - voice { $ c4 c4 c4 c4 $ } - } -% bar 2 }