lilypond-1.1.67
[lilypond.git] / lily / text-item.cc
blob3f19466ee141456af55d37c084ec8be5def38bcf
1 /*
2 text-item.cc -- implement Text_item
4 source file of the GNU LilyPond music typesetter
6 (c) 1998--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
10 #include "text-item.hh"
11 #include "debug.hh"
12 #include "molecule.hh"
13 #include "paper-def.hh"
14 #include "lookup.hh"
16 Molecule*
17 Text_item::do_brew_molecule_p () const
19 Molecule a= paper_l ()->lookup_l(0)->text (style_str_,text_str_, paper_l ());
21 return new Molecule (a);
24 Text_item::Text_item ()
26 style_str_ = "roman";
29 void
30 Text_item::do_print () const
32 DOUT << "text= " << text_str_;