From: fred Date: Sun, 24 Mar 2002 19:39:13 +0000 (+0000) Subject: lilypond-0.0.51 X-Git-Tag: release/1.5.59~4962 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=7e4c7fb8831625328dbe0f16b017108c4317cde2;p=lilypond.git lilypond-0.0.51 --- diff --git a/lily/crescendo.cc b/lily/crescendo.cc index 4583bdae2f..5b10f8cc89 100644 --- a/lily/crescendo.cc +++ b/lily/crescendo.cc @@ -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())); } diff --git a/lily/include/staff-side.hh b/lily/include/staff-side.hh index bd29c53b5c..e24dfa62e6 100644 --- a/lily/include/staff-side.hh +++ b/lily/include/staff-side.hh @@ -35,5 +35,6 @@ public: protected: int get_position_i()const; + int get_position_i(Interval)const; }; #endif // STAFF_SIDE_HH diff --git a/lily/include/text-item.hh b/lily/include/text-item.hh index 85ff171d6d..bf40574946 100644 --- a/lily/include/text-item.hh +++ b/lily/include/text-item.hh @@ -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(); };