From 4847ed2ccb1eb6e0a399763a751d6e6c836e041e Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 21 Oct 1996 22:15:57 +0000 Subject: [PATCH] lilypond-0.0.4 --- linestaff.cc | 12 +++++++++--- suzan.ly | 9 +-------- 2 files changed, 10 insertions(+), 11 deletions(-) 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 } -- 2.39.5