lilypond-1.3.11
[lilypond.git] / lily / horizontal-align-item.cc
blob8a15780d62d56ac57f1408f38b3c1777120d868a
1 /*
2 horizontal-align-item.cc -- implement Horizontal_align_item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
9 #include "horizontal-align-item.hh"
10 #include "debug.hh"
14 void
15 Horizontal_align_item::add_item (Item *i,int p)
17 add_element_priority (i,p);
20 void
21 Horizontal_align_item::do_print() const
23 #ifndef NPRINT
24 Item::do_print ();
25 Align_element::do_print ();
26 #endif
30 Horizontal_align_item::Horizontal_align_item ()
32 align_dir_ = CENTER;
33 stacking_dir_ = RIGHT;
34 axis_ = X_AXIS;