From: fred Date: Sun, 24 Mar 2002 19:34:14 +0000 (+0000) Subject: lilypond-0.0.38 X-Git-Tag: release/1.5.59~5248 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=732c4336839ab3fc57bd66665bf449637bc9d13e;p=lilypond.git lilypond-0.0.38 --- diff --git a/src/lyric-item.cc b/src/lyric-item.cc new file mode 100644 index 0000000000..c0adac7b63 --- /dev/null +++ b/src/lyric-item.cc @@ -0,0 +1,27 @@ +#include "musicalrequest.hh" +#include "paper-def.hh" +#include "lyric-item.hh" +#include "stem.hh" +#include "molecule.hh" +#include "lookup.hh" +#include "text-def.hh" +#include "source-file.hh" +#include "source.hh" +#include "debug.hh" +#include "main.hh" + +Lyric_item::Lyric_item(Lyric_req* lreq_l, int voice_count_i) + : Text_item(lreq_l,0) +{ + pos_i_ = -voice_count_i * 4 ; // 4 fontsize dependant. TODO + dir_i_ = -1; +} + +void +Lyric_item::do_pre_processing() +{ + + // test context-error + if ( tdef_l_->text_str_.index_i( "Gates" ) >=0)// :-) + warning( "foul word", tdef_l_->defined_ch_c_l_ ); +} diff --git a/src/textitem.cc b/src/textitem.cc index 56fb8e054b..ed943f52a2 100644 --- a/src/textitem.cc +++ b/src/textitem.cc @@ -1,11 +1,20 @@ -#include "musicalrequest.hh" -#include "paperdef.hh" +/* + textitem.cc -- implement Text_item + + source file of the LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + + + #include "musicalrequest.hh" +#include "paper-def.hh" #include "textitem.hh" #include "stem.hh" #include "molecule.hh" #include "lookup.hh" -NAME_METHOD(Text_item); + Text_item::Text_item(Text_req* treq_l, int staffsize_i) {