]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.4
authorfred <fred>
Mon, 21 Oct 1996 22:15:57 +0000 (22:15 +0000)
committerfred <fred>
Mon, 21 Oct 1996 22:15:57 +0000 (22:15 +0000)
linestaff.cc
suzan.ly

index f2dd43b2b5a167e00e04dda434febf1b2143e3b4..dd9227b155eeaebd9c0e00fbf4452d82c52a2061 100644 (file)
@@ -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);
+}
index 35a949ecd52fc530ed2e8648eaa89e7fa45d6978..08c4ddf64355ee4070e484ecccb92242037b42df 100644 (file)
--- 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
 }