]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.7
authorfred <fred>
Mon, 4 Nov 1996 14:29:17 +0000 (14:29 +0000)
committerfred <fred>
Mon, 4 Nov 1996 14:29:17 +0000 (14:29 +0000)
melodicstaff.hh
paper.cc
paper.hh

index a91a413659b73f5d234481b6c3156423048f01a9..5c417b84a5aafcb7d53a1929b9f7f2d42937283e 100644 (file)
@@ -19,7 +19,8 @@ struct Melodic_staff : public Simple_staff
 
 struct Melodic_column : public Simple_column {
     virtual void typeset_req(Request *rq);
-  virtual void typeset_command(Command *, int brs);
+    virtual void typeset_stem(Stem_req *rq);
+    virtual void typeset_command(Command *, int brs);
   //    virtual void typeset_item(Item*, int=1);
     Melodic_column(Score_column*s,Simple_staff*rs) :
        Simple_column(s,rs) { }
index 6e5e87bda8329aa3338752fe6bdebb69b0ab08da..a0e533f62636a47dc84caec9623cdc6a650d443e 100644 (file)
--- a/paper.cc
+++ b/paper.cc
@@ -38,7 +38,11 @@ Paperdef::interline() const
 {
     return lookup_->ball(4).dim.y.length();
 }
-
+Real
+Paperdef::note_width()const
+{
+    return lookup_->ball(4).dim.x.length( );
+}
 Real
 Paperdef::standard_height() const
 {
index 9ce4d2bf4e475425a7757cc573e9955669ccaa64..e96d9b089fdde78e6b72793e0ba0bea94ee9d1a4 100644 (file)
--- a/paper.hh
+++ b/paper.hh
@@ -15,6 +15,7 @@ struct Paperdef {
     ~Paperdef();
     Real interline()const;
     Real standard_height()const;
+    Real note_width() const;
     void print() const;
 };