source file of the GNU LilyPond music typesetter
- (c) 1998--2003 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ (c) 1998--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
*/
-
-
+#include "directional-element-interface.hh"
#include "engraver.hh"
#include "side-position-interface.hh"
#include "item.hh"
Item *text = new Item (get_property (basic.to_str0 ()));
- /*
- FIXME -> need to use basic props.
- */
- SCM axisprop = get_property ("scriptHorizontal");
- Axis ax = to_boolean (axisprop) ? X_AXIS : Y_AXIS;
+ Axis ax = Y_AXIS;
Side_position_interface::set_axis (text, ax);
// Hmm
Direction dir = to_dir (r->get_mus_property ("direction"));
if (dir)
- Side_position_interface::set_direction (text, dir);
+ set_grob_direction (text, dir);
SCM mark = r->get_mus_property ("text");
for (int i=0; i < texts_.size (); i++)
{
Item *ti = texts_[i];
- if (!to_boolean (get_property ("scriptHorizontal")))
- Side_position_interface::add_staff_support (ti);
typeset_grob (ti);
}
texts_.clear ();
/* creats*/ "TextScript",
/* accepts */ "text-script-event",
/* acks */ "rhythmic-head-interface stem-interface",
-/* reads */ "scriptHorizontal",
+/* reads */ "",
/* write */ "");