]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.51
authorfred <fred>
Sun, 24 Mar 2002 19:39:13 +0000 (19:39 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:39:13 +0000 (19:39 +0000)
lily/crescendo.cc
lily/include/staff-side.hh
lily/include/text-item.hh

index 4583bdae2f9dd396dfadcbb7f7cf84b640617b0f..5b10f8cc895fe417161f83759405444cc2003081 100644 (file)
@@ -48,7 +48,7 @@ Crescendo::brew_molecule_p() const return m_p ;
     }
     Symbol s( paper()->lookup_l()->hairpin(w_dim, grow_dir_i_ < 0) );
     m_p->add(Atom(s));
-    int pos = get_position_i();
+    int pos = get_position_i(s.dim.y);
     m_p->translate(Offset(x_off_dim,pos * paper()->internote()));
 }
 
index bd29c53b5c8b3a2c8eeba198e153b86ed8da6b6e..e24dfa62e6e200441752d7e6fac153f67149e5ad 100644 (file)
@@ -35,5 +35,6 @@ public:
     
 protected:
     int get_position_i()const;
+    int get_position_i(Interval)const;
 };
 #endif // STAFF_SIDE_HH
index 85ff171d6d08b1587548fe664cbca796c3bbb232..bf405749464602eb2c129f7db744cec2da1a8b02 100644 (file)
@@ -24,13 +24,14 @@ public:
         
     /* ***************/
 
-    NAME_MEMBERS(Text_item);
-    virtual void set_default_index();
-    Molecule* brew_molecule_p() const;
-    void do_pre_processing();
     Text_item(Text_def*);
     Text_item(Text_req*);
     ~Text_item();
+    NAME_MEMBERS(Text_item);
+protected:
+    virtual void set_default_index();
+    Molecule* brew_molecule_p() const;
+    virtual void do_post_processing();
 };