From: fred Date: Thu, 9 Jan 1997 22:33:07 +0000 (+0000) Subject: lilypond-0.0.22 X-Git-Tag: release/1.5.59~6423 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=94f093ccfdb00f632d0369658ce737f693d3111f;p=lilypond.git lilypond-0.0.22 --- diff --git a/hdr/lookup.hh b/hdr/lookup.hh index 5fa14d57a8..f947a7d734 100644 --- a/hdr/lookup.hh +++ b/hdr/lookup.hh @@ -28,7 +28,7 @@ struct Lookup { pos == -3: below staff */ - Symbol meter(svec); + Symbol meter(Array); Symbol stem(Real y1_pos, Real y2_pos); Symbol rule_symbol(Real height, Real width); Symbol accidental(int); diff --git a/hdr/parseconstruct.hh b/hdr/parseconstruct.hh index dea0d0cd95..8afb32d94b 100644 --- a/hdr/parseconstruct.hh +++ b/hdr/parseconstruct.hh @@ -16,7 +16,7 @@ Staff * get_new_rhythmstaff(); Voice_element * get_note_element(String,int * ,int *); Voice_element* get_rest_element(String,int *); Staff * get_new_melodicstaff(); -void add_requests( Voice_element*v, svec&req); +void add_requests( Voice_element*v, Array&req); Request* get_request(char); void set_text_style(String); Script_def* get_scriptdef(char); diff --git a/hdr/qlp.hh b/hdr/qlp.hh index b539fe6b86..db5438499d 100644 --- a/hdr/qlp.hh +++ b/hdr/qlp.hh @@ -7,8 +7,8 @@ class Ineq_constrained_qp { friend class Active_constraints; - svec cons; - svec consrhs; + Array cons; + Array consrhs; public: Matrix quad; Vector lin; @@ -55,8 +55,8 @@ public: /// Quadratic programming with mixed linear constraints class Mixed_qp :public Ineq_constrained_qp { - svec eq_cons; - svec eq_consrhs; + Array eq_cons; + Array eq_consrhs; public: Mixed_qp(int n); void OK() const; diff --git a/hdr/simplestaff.hh b/hdr/simplestaff.hh index 34e48b0d23..f074dc169d 100644 --- a/hdr/simplestaff.hh +++ b/hdr/simplestaff.hh @@ -19,7 +19,7 @@ struct Simple_staff; struct Note_info { Rhythmic_req *rq; - svec scripts; + Array scripts; Note_info(); Note_info(Rhythmic_req*); }; @@ -27,8 +27,8 @@ struct Note_info { /// column of Simple_staff: store one request struct Simple_column : Staff_column { - svec notes; - svec slurs; + Array notes; + Array slurs; Stem_req *stem_; Moment stem_requester_len; Beam_req *beam_; diff --git a/hdr/tex.hh b/hdr/tex.hh index aba60f06c4..c33f30e202 100644 --- a/hdr/tex.hh +++ b/hdr/tex.hh @@ -7,7 +7,7 @@ /// parameter substitution in TeXstrings String -substitute_args(String source, svec args); +substitute_args(String source, Array args); /** this structure provides a simple macro mechanism: @@ -17,7 +17,7 @@ substitute_args(String source, svec args); /// parameter substitution in TeXstrings String -substitute_args(String source, svec args); +substitute_args(String source, Array args); /// #h# is in points String vstrut(Real h); diff --git a/src/clef.cc b/src/clef.cc index 49671dd426..0abd26f44a 100644 --- a/src/clef.cc +++ b/src/clef.cc @@ -7,7 +7,7 @@ Clef::Clef() } void -Clef::read(svecargs) +Clef::read(Arrayargs) { clef_type = args[0]; if (clef_type == "violin") { diff --git a/src/lookup.cc b/src/lookup.cc index 9c8def52cf..200ae0994b 100644 --- a/src/lookup.cc +++ b/src/lookup.cc @@ -31,7 +31,7 @@ Lookup::add(String s, Symtable*p) Symbol Lookup::text( String style, String text , int dir) { - svec a; + Array a; a.add(text); Symbol tsym = (*symtables_)("style")->lookup(style); @@ -129,7 +129,7 @@ Lookup::streepjes(int i) } Symbol ret = (*symtables_)("streepjes")->lookup(idx); - svec a; + Array a; a.add(arg); ret.tex = substitute_args(ret.tex, a); @@ -146,7 +146,7 @@ Lookup::linestaff(int lines, Real wid) Real dy=(lines-1)*internote()*2; s.dim.y = Interval(0,dy); - svec a; + Array a; a.add(lines); a.add(print_dimen(wid)); @@ -158,7 +158,7 @@ Lookup::linestaff(int lines, Real wid) Symbol -Lookup::meter(svec a) +Lookup::meter(Array a) { Symbol s; s.dim.x = Interval( convert_dimen(0,"pt"), @@ -179,7 +179,7 @@ Lookup::stem(Real y1,Real y2) s.dim.x = Interval(0,0); s.dim.y = Interval(y1,y2); - svec a; + Array a; a.add(print_dimen(y1)); a.add(print_dimen(y2)); diff --git a/src/meter.cc b/src/meter.cc index dc3cb40f3e..fb8224ec07 100644 --- a/src/meter.cc +++ b/src/meter.cc @@ -4,7 +4,7 @@ #include "paper.hh" #include "lookup.hh" -Meter::Meter(sveca) +Meter::Meter(Arraya) :args(a) { } @@ -12,7 +12,7 @@ Meter::Meter(sveca) Molecule* Meter::brew_molecule()const { - Symbol s = paper()->lookup_->meter(args); + Symbol s = paper()->lookup_p_->meter(args); return new Molecule(Atom(s)); } diff --git a/src/texbeam.cc b/src/texbeam.cc index 713bc1f473..652360eee8 100644 --- a/src/texbeam.cc +++ b/src/texbeam.cc @@ -18,7 +18,7 @@ Lookup::beam_element(int sidx, int widx, Real slope) { Symbol bs=(*symtables_)("beamslopes")->lookup("slope"); - svec args; + Array args; args.add(sidx); args.add(widx); bs.tex = substitute_args(bs.tex,args); @@ -51,7 +51,7 @@ Symbol Lookup::rule_symbol(Real height, Real width) { Symbol bs=(*symtables_)("beamslopes")->lookup("horizontal"); - svec args; + Array args; args.add(print_dimen(height)); args.add(print_dimen(width)); bs.tex = substitute_args(bs.tex,args);