source file of the GNU LilyPond music typesetter
- (c) 2000--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 2000--2005 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
#include "grob.hh"
#include "stencil.hh"
#include "font-interface.hh"
-#include "string.hh"
// update comment --hwn
/*
*/
+
+/*
+ FIXME. Need to use markup.
+ */
struct Sustain_pedal
{
public:
};
-MAKE_SCHEME_CALLBACK (Sustain_pedal,print,1);
+MAKE_SCHEME_CALLBACK (Sustain_pedal, print, 1);
SCM
Sustain_pedal::print (SCM smob)
{
Stencil mol;
SCM glyph = e->get_property ("text");
- if (!is_string (glyph))
+ if (!scm_is_string (glyph))
return mol.smobbed_copy ();
String text = ly_scm2string (glyph);
for (int i = 0; i < text.length (); i++)
{
- String idx ("pedal-");
+ String idx ("pedal.");
if (text.cut_string (i, 3) == "Ped")
{
idx += "Ped";