2 horizontal-align-item.hh -- declare Horizontal_align_item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
10 #ifndef HORIZONTAL_ALIGN_ITEM_HH
11 #define HORIZONTAL_ALIGN_ITEM_HH
12 #include "elem-group.hh"
16 Order elems left to right.
18 TODO: insert(order, elem)
20 class Horizontal_align_item : public Item {
22 Link_array<Item> item_l_arr_;
23 Array<int> priority_i_arr_;
28 SCORE_ELEM_CLONE(Horizontal_align_item)
29 void add(Item*, int p);
30 Horizontal_align_item();
32 virtual void do_substitute_dependency(Score_elem * , Score_elem *);
33 /// do calculations before determining horizontal spacing
34 virtual void do_pre_processing();
35 virtual void do_print()const;
36 virtual Interval do_width()const;
37 bool contains_b(Item*)const;
39 #endif // HORIZONTAL_ALIGN_ITEM_HH