From 6d0dcf66fc03f89e974544ff63ea74d4a3953226 Mon Sep 17 00:00:00 2001 From: fred Date: Mon, 18 Nov 1996 22:21:28 +0000 Subject: [PATCH] lilypond-0.0.10 --- Documentation/Makefile | 2 +- Documentation/commands | 24 ++++++++++++++++++++++++ hdr/stem.hh | 1 + src/stem.cc | 11 ++++++++++- 4 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 Documentation/commands diff --git a/Documentation/Makefile b/Documentation/Makefile index e8adae90d7..daf587679e 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -1,5 +1,5 @@ -DOCFILES=CodingStyle algorithms Makefile breaking +DOCFILES=commands CodingStyle algorithms Makefile breaking dist: ln $(DOCFILES) $(DDIR)/Documentation/ \ No newline at end of file diff --git a/Documentation/commands b/Documentation/commands new file mode 100644 index 0000000000..00d5856c67 --- /dev/null +++ b/Documentation/commands @@ -0,0 +1,24 @@ +This table decribes the proper order for the different commands: + + +interpret + which priority + ======================== + + key 200 + clef 190 + meter 180 + bar 170 + +typeset + + which priority + ======================== + + bar 100 + clef 90 + currentclef 80 + key 70 + currentkey 60 + meter 40 + \ No newline at end of file diff --git a/hdr/stem.hh b/hdr/stem.hh index 6b7bc55d7d..adce936320 100644 --- a/hdr/stem.hh +++ b/hdr/stem.hh @@ -46,6 +46,7 @@ struct Stem : public Item { void set_default_stemlen(); void set_default_extents(); void postprocess(); + void preprocess(); Stem(int center); void print() const; Interval width() const; diff --git a/src/stem.cc b/src/stem.cc index fdb47f9755..fb8e410117 100644 --- a/src/stem.cc +++ b/src/stem.cc @@ -113,7 +113,9 @@ Stem::width()const if (!print_flag || ABS(flag) <= 4) return Interval(0,0); // TODO! Paperdef*p= paper(); - return p->lookup_->flag(flag).dim.x; + Interval r(p->lookup_->flag(flag).dim.x); + r+= stem_xoffset; + return r; } void @@ -154,3 +156,10 @@ Stem::hpos()const { return pcol_->hpos + stem_xoffset; } + + +void +Stem::preprocess() +{ + +} -- 2.39.5