From: fred Date: Tue, 5 Nov 1996 20:16:35 +0000 (+0000) Subject: lilypond-0.0.8 X-Git-Tag: release/1.5.59~6884 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cf7ac0b37acc6776b0a3dcf50a668cf9dd5b3a50;p=lilypond.git lilypond-0.0.8 --- diff --git a/pscore.cc b/pscore.cc index e1c8a7204a..3f6f289d26 100644 --- a/pscore.cc +++ b/pscore.cc @@ -50,6 +50,7 @@ PScore::typeset_item(Item *i, PCol *c, PStaff *s, int breakstat) its.bottom().add(i); s->add(i); c->add(i); + i->preprocess(); } void @@ -154,3 +155,20 @@ PScore::print() const #endif } +void +PScore::preprocess() +{ +#if 0 + for (PCursor ic(its); ic.ok(); ic++){ + ic->preprocess(); + } +#endif +} + +void +PScore::postprocess() +{ + for (PCursor ic(its); ic.ok(); ic++){ + ic->postprocess(); + } +} diff --git a/simpleprint.cc b/simpleprint.cc index b8f02c5798..b069978dce 100644 --- a/simpleprint.cc +++ b/simpleprint.cc @@ -9,12 +9,10 @@ Molecule * Simple_column::create_req_mol(Request *rq) { + assert(rq->rest()); Symbol s; int dots=0; - - if (rq->note()) - s = staff_->paper()->lookup_->ball(rq->note()->balltype); - else if (rq->rest()) + if (rq->rest()) s = staff_->paper()->lookup_->rest(rq->rest()->balltype); if (rq->rhythmic()) @@ -30,6 +28,7 @@ Simple_column::create_req_mol(Request *rq) } return m; } + Molecule * Simple_column::create_command_mol(Command *com) {