]> git.donarmstrong.com Git - lilypond.git/blobdiff - linestaff.cc
release: 0.0.4
[lilypond.git] / linestaff.cc
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);
+}