lilypond-1.3.12
[lilypond.git] / lily / g-text-item.cc
blob6578cf8bb4658be8585c2785e51d1bddeb0f95e7
1 /*
2 g-text-item.cc -- implement G_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 "g-text-item.hh"
11 #include "debug.hh"
12 #include "molecule.hh"
13 #include "paper-def.hh"
14 #include "lookup.hh"
16 Molecule*
17 G_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 G_text_item::G_text_item ()
26 style_str_ = "roman";
29 void
30 G_text_item::do_print () const
32 DOUT << "text= " << text_str_;