source file of the GNU LilyPond music typesetter
- (c) 1999--2002 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1999--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
Link_array<Item> scripts_;
public:
- TRANSLATOR_DECLARATIONS(Script_column_engraver);
+ TRANSLATOR_DECLARATIONS (Script_column_engraver);
protected:
virtual void acknowledge_grob (Grob_info);
virtual void process_acknowledged_grobs ();
virtual void stop_translation_timestep ();
- virtual void start_translation_timestep ();
};
void
Script_column_engraver::stop_translation_timestep ()
{
- if (scol_)
- {
- typeset_grob (scol_);
- scol_ =0;
- }
-}
-
-void
-Script_column_engraver::start_translation_timestep ()
-{
+ scol_ =0;
scripts_.clear ();
-
}
void
Item *thing = dynamic_cast<Item*> (inf.grob_);
if (thing && Side_position_interface::has_interface (inf.grob_)) // ugh FIXME
{
- if (!Item::breakable_b (thing)
+ if (!Item::is_breakable (thing)
&& Side_position_interface::get_axis (inf.grob_) == Y_AXIS)
{
scripts_.push (thing);
{
if (!scol_ && scripts_.size () > 1)
{
- scol_ = new Item (get_property ("ScriptColumn"));
- announce_grob(scol_, SCM_EOL);
+ scol_ = make_item ("ScriptColumn", SCM_EOL);
+
}
if (scol_)
}
-ENTER_DESCRIPTION(Script_column_engraver,
+ENTER_DESCRIPTION (Script_column_engraver,
/* descr */ "",
/* creats*/ "ScriptColumn",
/* accepts */ "",