2 clefitem.cc -- implement Clef_item
4 source file of the LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
11 #include "molecule.hh"
12 #include "paperdef.hh"
16 NAME_METHOD(Clef_item
);
18 Clef_item::Clef_item()
25 Clef_item::read(String t
)
38 Clef_item::read(Clef_register
const &k
)
40 read(k
.clef_type_str_
);
44 Clef_item::brew_molecule_p()const
49 Symbol s
= paper()->lookup_p_
->clef(t
);
50 Molecule
*output
= new Molecule(Atom(s
));
51 output
->translate(Offset(0, paper()->internote() * y_off
));