From f355c23f51567154170cb1f5be8a815b269731b2 Mon Sep 17 00:00:00 2001 From: fred Date: Sun, 24 Mar 2002 19:32:55 +0000 Subject: [PATCH] lilypond-0.0.34 --- hdr/complexstaff.hh | 9 ++------- hdr/lyricstaff.hh | 4 ---- hdr/lyricwalker.hh | 2 -- hdr/stcol.hh | 17 ++++++++++++----- src/barreg.cc | 1 - 5 files changed, 14 insertions(+), 19 deletions(-) diff --git a/hdr/complexstaff.hh b/hdr/complexstaff.hh index 5a605d475e..b7d0c714d9 100644 --- a/hdr/complexstaff.hh +++ b/hdr/complexstaff.hh @@ -12,19 +12,14 @@ #include "stcol.hh" #include "staff.hh" #include "staffwalker.hh" -#include "complexcolumn.hh" - -/// Complex staff: one voicegroup at a time +/// struct Complex_staff : Staff { - /// indirection to the PStaff. - PStaff *pstaff_l_; /* *************** */ - Staff_column*create_col(); + virtual void set_output(PScore *); virtual Staff_walker *get_walker_p(); - Complex_staff(); }; #endif // COMPLEXSTAF_HH diff --git a/hdr/lyricstaff.hh b/hdr/lyricstaff.hh index f7166bfc99..fb88c5e5aa 100644 --- a/hdr/lyricstaff.hh +++ b/hdr/lyricstaff.hh @@ -13,12 +13,8 @@ Hungarian prefix lstaff */ struct Lyric_staff : Staff { - PStaff* pstaff_l_; - - Staff_column* create_col(); virtual void set_output(PScore *); virtual Staff_walker *get_walker_p(); - Lyric_staff(); }; #endif // LYRICSTAFF_HH diff --git a/hdr/lyricwalker.hh b/hdr/lyricwalker.hh index f89be76249..40ef06d972 100644 --- a/hdr/lyricwalker.hh +++ b/hdr/lyricwalker.hh @@ -10,7 +10,6 @@ #include "proto.hh" #include "grouping.hh" #include "staffwalker.hh" -#include "lyriccolumn.hh" /// a simple walker which collects words, and then print them, first on top struct Lyric_walker: Staff_walker { @@ -20,7 +19,6 @@ struct Lyric_walker: Staff_walker { virtual void process_requests(); Lyric_walker(Lyric_staff* lstaff_l); - Lyric_column* lcol_l(); Lyric_staff* lstaff_l(); }; diff --git a/hdr/stcol.hh b/hdr/stcol.hh index 613dffb758..b6ecdb18a6 100644 --- a/hdr/stcol.hh +++ b/hdr/stcol.hh @@ -12,8 +12,14 @@ /// store simultaneous requests class Staff_column { + Staff_column(Staff_column const&); + public: + Array musicalreq_l_arr_; + Array commandreq_l_arr_; + Staff * staff_l_; + /// fields to collect timing data vertically. Array timing_req_l_arr_; Score_column *musical_column_l_, *command_column_l_; @@ -26,12 +32,13 @@ public: void set_cols(Score_column *c1, Score_column *c2); void add(Voice_element*ve); void OK() const; - virtual ~Staff_column(); - - + ~Staff_column(); + void typeset_breakable_items(Array &pre_p_arr, + Array &nobreak_p_arr, + Array &post_p_arr); + void typeset_musical_item(Item *i); protected: - virtual void setup_one_request(Request*)=0; - + void setup_one_request(Request*); }; diff --git a/src/barreg.cc b/src/barreg.cc index 566b9d58a5..9a10f913b5 100644 --- a/src/barreg.cc +++ b/src/barreg.cc @@ -10,7 +10,6 @@ #include "bar.hh" #include "commandrequest.hh" #include "complexwalker.hh" -#include "complexcolumn.hh" #include "sccol.hh" -- 2.39.5