lilypond-1.3.69
[lilypond.git] / lily / lyric-item.cc
blob318652393775c40f5e70089b2132af744b2f7469
1 #include "musical-request.hh"
2 #include "paper-def.hh"
3 #include "lyric-item.hh"
4 #include "stem.hh"
5 #include "molecule.hh"
6 #include "lookup.hh"
7 #include "text-def.hh"
8 #include "source-file.hh"
9 #include "source.hh"
10 #include "debug.hh"
12 Lyric_item::Lyric_item(Lyric_req* lreq_l, int voice_count_i)
13 : Text_item(lreq_l)
15 pos_i_ = -voice_count_i * 4 ; // 4 fontsize dependant. TODO
16 dir_i_ = -1;
19 void
20 Lyric_item::do_pre_processing()
23 // test context-error
24 if ( tdef_l()->text_str_.index_i( "Gates" ) >=0)// :-)
25 tdef_l()->warning( "foul word");