From: fred Date: Sun, 24 Mar 2002 19:43:28 +0000 (+0000) Subject: lilypond-0.0.64 X-Git-Tag: release/1.5.59~4721 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d74fab9e56525fc60efeee5e417fbf3f1947be14;p=lilypond.git lilypond-0.0.64 --- diff --git a/lily/include/lookup.hh b/lily/include/lookup.hh index e850586626..42a2e03819 100644 --- a/lily/include/lookup.hh +++ b/lily/include/lookup.hh @@ -31,6 +31,7 @@ struct Lookup { */ Symbol streepjes(int pos)const; + Symbol vbrace(Real &dy) const; Symbol meter(Array)const; Symbol stem(Real y1_pos, Real y2_pos)const; Symbol rule_symbol(Real height, Real width)const; diff --git a/lily/include/p-score.hh b/lily/include/p-score.hh index 33e066c3c7..1e283faf9e 100644 --- a/lily/include/p-score.hh +++ b/lily/include/p-score.hh @@ -12,6 +12,7 @@ #include "colhpos.hh" #include "varray.hh" +#include "lily-proto.hh" #include "p-col.hh" #include "p-staff.hh" @@ -45,6 +46,7 @@ struct PScore { /// broken spanners Pointer_list broken_spans; + Pointer_list vspan_p_list_; /* *************** */ /* CONSTRUCTION */ diff --git a/lily/include/vertical-brace.hh b/lily/include/vertical-brace.hh new file mode 100644 index 0000000000..c0b368e2d2 --- /dev/null +++ b/lily/include/vertical-brace.hh @@ -0,0 +1,20 @@ +/* + vertical-brace.hh -- declare + + source file of the LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + + +#ifndef VERTICAL_BRACE_HH +#define VERTICAL_BRACE_HH + +#include "vertical-spanner.hh" + +class Vertical_brace : public Vertical_spanner { +public: + +}; + +#endif // VERTICAL_BRACE_HH diff --git a/lily/slur.cc b/lily/slur.cc index 1b7bb0f76a..1fa1ad2885 100644 --- a/lily/slur.cc +++ b/lily/slur.cc @@ -75,11 +75,11 @@ Slur::do_post_processing() set_default_dir(); Real inter_f = paper()->internote(); if (encompass_arr_[0]->stem_l_) - left_pos_i_ = encompass_arr_[0]->stem_l_->height()[dir_i_]/inter_f; + left_pos_i_ = rint(encompass_arr_[0]->stem_l_->height()[dir_i_]/inter_f); else left_pos_i_ = 0; if (encompass_arr_.top()->stem_l_) - right_pos_i_ = encompass_arr_.top()->stem_l_->height()[dir_i_]/inter_f; + right_pos_i_ = rint(encompass_arr_.top()->stem_l_->height()[dir_i_]/inter_f); else right_pos_i_ = 0; diff --git a/lily/template1.cc b/lily/template1.cc index 23c68dd011..0e1b7258b9 100644 --- a/lily/template1.cc +++ b/lily/template1.cc @@ -7,6 +7,7 @@ #include "spanner.hh" #include "scoreline.hh" #include "staffline.hh" +#include "vertical-spanner.hh" #include "pcursor.tcc" #include "plist.tcc" @@ -19,6 +20,7 @@ IPLC_instantiate(Line_of_score); IPLC_instantiate(Line_of_staff); IPLC_instantiate(Item); IPLC_instantiate(Spanner); +IPLC_instantiate(Vertical_spanner); IPLC_instantiate(PStaff); IPLC_instantiate(Idealspacing); IPLC_instantiate(PCol); diff --git a/lily/vertical-brace.cc b/lily/vertical-brace.cc new file mode 100644 index 0000000000..0bd59e7768 --- /dev/null +++ b/lily/vertical-brace.cc @@ -0,0 +1,9 @@ +/* + vertical-brace.cc -- implement + + source file of the LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + +#include "vertical-brace.hh"