]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.17
authorfred <fred>
Sat, 14 Dec 1996 13:00:46 +0000 (13:00 +0000)
committerfred <fred>
Sat, 14 Dec 1996 13:00:46 +0000 (13:00 +0000)
hdr/lookup.hh
src/keyitem.cc
src/lookup.cc

index 7e59dac0fa1fa7ee9fa07c7bb6aedce22e22da24..ecb55bd03c126bb30cfbdb2a7404faf38001c0f9 100644 (file)
@@ -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);
index 607e144f1af0210b38182d278e18319a8b37c45b..71f1654f19fad49ea16ca5c0c27d76459018db7a 100644 (file)
@@ -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);      
 }
index 7376f3c1d41265fdc7dba607ac7b3fa0cba9fdcf..baa037b9709a456aebd7733fe1fde78da86cf51b 100644 (file)
@@ -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)
 {