From: fred Date: Sun, 24 Mar 2002 20:08:24 +0000 (+0000) Subject: lilypond-0.1.36 X-Git-Tag: release/1.5.59~3284 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=c78ff27ec0e5b6f3ecbb2dbd7ce303281314b9c0;p=lilypond.git lilypond-0.1.36 --- diff --git a/input/header.ly b/input/header.ly deleted file mode 100644 index 49d223676e..0000000000 --- a/input/header.ly +++ /dev/null @@ -1,16 +0,0 @@ -\header { -filename -title -date -description -opus -source -composers -enteredby -copyright -remarks -} - -%{ -Tested Features: -%} diff --git a/lily/include/normal-bar.hh b/lily/include/normal-bar.hh deleted file mode 100644 index a4f7bd2aa4..0000000000 --- a/lily/include/normal-bar.hh +++ /dev/null @@ -1,23 +0,0 @@ -/* - normal-bar.hh -- declare - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys - - */ - -#ifndef NORMAL_BAR_HH -#define NORMAL_BAR_HH - -#include "bar.hh" - -class Normal_bar : public virtual Bar -{ -public: - SCORE_ELEM_CLONE(Normal_bar); - DECLARE_MY_RUNTIME_TYPEINFO; -}; - -#endif /* NORMAL_BAR_HH */ - diff --git a/lily/include/normal-span-bar.hh b/lily/include/normal-span-bar.hh deleted file mode 100644 index 68ccabb81b..0000000000 --- a/lily/include/normal-span-bar.hh +++ /dev/null @@ -1,24 +0,0 @@ -/* - normal-span-bar.hh -- declare Normal_span_bar - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys - - */ - -#ifndef NORMAL_SPAN_BAR_HH -#define NORMAL_SPAN_BAR_HH - -#include "normal-bar.hh" -#include "span-bar.hh" - -class Normal_span_bar : public Span_bar, public Normal_bar -{ -public: - SCORE_ELEM_CLONE(Normal_span_bar); - DECLARE_MY_RUNTIME_TYPEINFO; -}; - -#endif /* NORMAL_SPAN_BAR_HH */ - diff --git a/lily/include/score-align-grav.hh b/lily/include/score-align-grav.hh deleted file mode 100644 index 6a25ac0271..0000000000 --- a/lily/include/score-align-grav.hh +++ /dev/null @@ -1,32 +0,0 @@ -/* - score-align-grav.hh -- declare Type_align_engraver - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys -*/ - - -#ifndef SCORE_ALIGN_GRAV_HH -#define SCORE_ALIGN_GRAV_HH - -#include "engraver.hh" - -/** - Group a number of items across staffs - */ -class Type_align_engraver: public Engraver -{ - Horizontal_group_item * align_p_; -public: - TRANSLATOR_CLONE(Type_align_engraver); - - const char* type_ch_C_; - int priority_i_; - Type_align_engraver(); - DECLARE_MY_RUNTIME_TYPEINFO; -protected: - virtual void acknowledge_element (Score_elem_info); - virtual void do_pre_move_processing(); -}; -#endif // SCORE_ALIGN_GRAV_HH diff --git a/lily/include/score-halign-grav.hh b/lily/include/score-halign-grav.hh deleted file mode 100644 index 353ad8a061..0000000000 --- a/lily/include/score-halign-grav.hh +++ /dev/null @@ -1,23 +0,0 @@ -/* - score-halign-grav.hh -- declare Score_horizontal_align_engraver - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys -*/ - - -#ifndef SCORE_HALIGN_GRAV_HH -#define SCORE_HALIGN_GRAV_HH -#include "engraver.hh" -class Score_horizontal_align_engraver : public Engraver { - Break_align_item * halign_p_; -public: - TRANSLATOR_CLONE(Score_horizontal_align_engraver); - DECLARE_MY_RUNTIME_TYPEINFO; - Score_horizontal_align_engraver(); -protected: - virtual void acknowledge_element (Score_elem_info); - virtual void do_pre_move_processing(); -}; -#endif // SCORE_HALIGN_GRAV_HH diff --git a/lily/normal-bar.cc b/lily/normal-bar.cc deleted file mode 100644 index a4357037b7..0000000000 --- a/lily/normal-bar.cc +++ /dev/null @@ -1,12 +0,0 @@ -/* - normal-bar.cc -- implement Normal_bar - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys - - */ - -#include "normal-bar.hh" - -IMPLEMENT_IS_TYPE_B1(Normal_bar, Bar); diff --git a/lily/normal-span-bar.cc b/lily/normal-span-bar.cc deleted file mode 100644 index 6afbd76f01..0000000000 --- a/lily/normal-span-bar.cc +++ /dev/null @@ -1,12 +0,0 @@ -/* - normal-span-bar.cc -- implement - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys - - */ - -#include "normal-span-bar.hh" - -IMPLEMENT_IS_TYPE_B2(Normal_span_bar, Span_bar, Normal_bar); diff --git a/lily/score-align-grav.cc b/lily/score-align-grav.cc deleted file mode 100644 index 3af608484c..0000000000 --- a/lily/score-align-grav.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - score-align-reg.cc -- implement Type_align_engraver - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys -*/ - - -#include "horizontal-group-item.hh" -#include "score-align-grav.hh" -#include "item.hh" - -Type_align_engraver::Type_align_engraver() -{ - type_ch_C_ = 0; - priority_i_ =0; - align_p_=0; -} - -void -Type_align_engraver::do_pre_move_processing() -{ - if (align_p_) - { - typeset_element (align_p_); - align_p_ =0; - } -} - -void -Type_align_engraver::acknowledge_element (Score_elem_info inf) -{ - if (inf.elem_l_->is_type_b (type_ch_C_)) - { - - if (!align_p_) - { - align_p_ = new Horizontal_group_item; - align_p_->breakable_b_ = true; - announce_element (Score_elem_info (align_p_,0)); - } - Score_elem * unbound_elem = inf.elem_l_; - while (unbound_elem->axis_group_l_a_[X_AXIS]) - unbound_elem = unbound_elem->axis_group_l_a_[X_AXIS]; - align_p_->add_element (unbound_elem); - } - -} - -IMPLEMENT_IS_TYPE_B1(Type_align_engraver,Engraver); diff --git a/lily/score-align-gravs.cc b/lily/score-align-gravs.cc deleted file mode 100644 index 28bb70bcc8..0000000000 --- a/lily/score-align-gravs.cc +++ /dev/null @@ -1,35 +0,0 @@ -/* - score-align-gravs.cc -- implement different alignment engravers. - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys -*/ - -#include "key-item.hh" -#include "clef-item.hh" -#include "meter.hh" -#include "bar.hh" -#include "score-align-grav.hh" -#include "score-bar.hh" -#include "normal-bar.hh" - -#define IMPLEMENT_ALIGN_GRAV(C,T,p)\ -class C ## _align_engraver : public Type_align_engraver \ -{ \ -public: \ - DECLARE_MY_RUNTIME_TYPEINFO; \ - TRANSLATOR_CLONE(C ## _align_engraver);\ - C ## _align_engraver() : Type_align_engraver () \ - { type_ch_C_ = T::static_name();\ - priority_i_ = p;} \ -}; \ -ADD_THIS_TRANSLATOR(C ## _align_engraver); \ -IMPLEMENT_IS_TYPE_B1(C ## _align_engraver, Type_align_engraver) ; - - -IMPLEMENT_ALIGN_GRAV(Key,Key_item,3); -IMPLEMENT_ALIGN_GRAV(Clef,Clef_item,2); -IMPLEMENT_ALIGN_GRAV(Normal_bar, Normal_bar,4); -IMPLEMENT_ALIGN_GRAV(Meter,Meter,5); -IMPLEMENT_ALIGN_GRAV(Score_bar, Score_bar,0); diff --git a/lily/score-halign-grav.cc b/lily/score-halign-grav.cc deleted file mode 100644 index b5c3c5c044..0000000000 --- a/lily/score-halign-grav.cc +++ /dev/null @@ -1,51 +0,0 @@ -/* - score-halign-reg.cc -- implement Score_horizontal_align_engraver - - source file of the GNU LilyPond music typesetter - - (c) 1997 Han-Wen Nienhuys -*/ - -#include "bar.hh" -#include "break-align-item.hh" -#include "score-halign-grav.hh" -#include "score-align-grav.hh" - -Score_horizontal_align_engraver::Score_horizontal_align_engraver() -{ - halign_p_ =0; -} - -void -Score_horizontal_align_engraver::do_pre_move_processing() -{ - if (halign_p_) - { - typeset_element (halign_p_); - halign_p_ =0; - } -} - -void -Score_horizontal_align_engraver::acknowledge_element (Score_elem_info i) -{ - Engraver* reg = i.origin_grav_l_arr_[0]; - if (reg->is_type_b (Type_align_engraver::static_name())) - { - Type_align_engraver * align_grav_l = (Type_align_engraver*) reg; - if (!halign_p_) - { - halign_p_ = new Break_align_item; - halign_p_->breakable_b_ = true; - announce_element (Score_elem_info (halign_p_,0)); - } - Item * it = i.elem_l_->item(); - if (align_grav_l->type_ch_C_ == Bar::static_name()) - halign_p_->center_l_ = it; - - halign_p_->add (it, align_grav_l->priority_i_); - } -} - -IMPLEMENT_IS_TYPE_B1(Score_horizontal_align_engraver,Engraver); -ADD_THIS_TRANSLATOR(Score_horizontal_align_engraver);