From: fred Date: Sat, 14 Dec 1996 13:00:46 +0000 (+0000) Subject: lilypond-0.0.17 X-Git-Tag: release/1.5.59~6586 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a79a3515cd004a8d9916e798663a69c1aa2deb88;p=lilypond.git lilypond-0.0.17 --- diff --git a/hdr/lookup.hh b/hdr/lookup.hh index 7e59dac0fa..ecb55bd03c 100644 --- a/hdr/lookup.hh +++ b/hdr/lookup.hh @@ -17,7 +17,7 @@ struct Lookup { Real internote(); Symbol linestaff(int n, Real w); - + Symbol fill(Box b); Symbol beam_element(int,int,Real=0); /// round slope to closest TeXslope Symbol beam(Real&,Real); diff --git a/src/keyitem.cc b/src/keyitem.cc index 607e144f1a..71f1654f19 100644 --- a/src/keyitem.cc +++ b/src/keyitem.cc @@ -46,5 +46,9 @@ Keyitem::brew_molecole() a.translate(Offset(0,(c_position + pitch[i]) * inter)); Molecule m(a); output->add_right(m); - } + } + Molecule m(paper()->lookup_->fill(Box( + Interval(0, paper()->note_width()), + Interval(0,0)))); + output->add_right(m); } diff --git a/src/lookup.cc b/src/lookup.cc index 7376f3c1d4..baa037b970 100644 --- a/src/lookup.cc +++ b/src/lookup.cc @@ -51,7 +51,13 @@ Lookup::rest(int j) { return (*symtables_)("rests")->lookup(String(j)); } - +Symbol +Lookup::fill(Box b) +{ + Symbol s( (*symtables_)("param")->lookup("fill")); + s.dim = b; + return s; +} Symbol Lookup::accidental(int j) {