summaryrefslogtreecommitdiff
path: root/linestaff.cc
diff options
context:
space:
mode:
Diffstat (limited to 'linestaff.cc')
-rw-r--r--linestaff.cc12
1 files changed, 9 insertions, 3 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);
+}