lilypond-1.1.49
[lilypond.git] / src / lyric-item.cc
blobc0adac7b63d8e7a968f6376f77f9284ca614bae0
1 #include "musicalrequest.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"
11 #include "main.hh"
13 Lyric_item::Lyric_item(Lyric_req* lreq_l, int voice_count_i)
14 : Text_item(lreq_l,0)
16 pos_i_ = -voice_count_i * 4 ; // 4 fontsize dependant. TODO
17 dir_i_ = -1;
20 void
21 Lyric_item::do_pre_processing()
24 // test context-error
25 if ( tdef_l_->text_str_.index_i( "Gates" ) >=0)// :-)
26 warning( "foul word", tdef_l_->defined_ch_c_l_ );