lilypond-1.1.7
[lilypond.git] / src / lyricitem.cc
blobb35c86676158e8617b4c63c18636e5709c85348d
1 #include "musicalrequest.hh"
2 #include "paperdef.hh"
3 #include "lyricitem.hh"
4 #include "stem.hh"
5 #include "molecule.hh"
6 #include "lookup.hh"
7 #include "textdef.hh"
8 #include "sourcefile.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()
23 // override Text_item
25 // test context-error
26 if ( tdef_l_->text_str_.index_i( "Gates" ) )// :-)
27 warning( "foul word", tdef_l_->defined_ch_c_l_ );