]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.10
authorfred <fred>
Mon, 18 Nov 1996 22:21:28 +0000 (22:21 +0000)
committerfred <fred>
Mon, 18 Nov 1996 22:21:28 +0000 (22:21 +0000)
Documentation/Makefile
Documentation/commands [new file with mode: 0644]
hdr/stem.hh
src/stem.cc

index e8adae90d7086933eb6c84290ce0b8b11b046902..daf587679e763264d02022409cde17e732733706 100644 (file)
@@ -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 (file)
index 0000000..00d5856
--- /dev/null
@@ -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
index 6b7bc55d7d0cdaf31c7fa3c2096c150ed677673b..adce936320c5bd2d1b4d20eb8f0ad397af9723d9 100644 (file)
@@ -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;
index fdb47f97556d77d6e34eba83504eb6f2ed87993a..fb8e410117babe727c60b56a0e31e8bee686b89d 100644 (file)
@@ -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()
+{
+}