2 score-align-engraver.hh -- declare Type_align_engraver
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef SCOREF_ALIGN_GRAV_HH
11 #define SCOREF_ALIGN_GRAV_HH
13 #include "engraver.hh"
16 Group a number of items across staffs:
18 Acknowledge items, put each priority in a separate column. Put all
19 columns in a horizontal align engraver. We manufacture two types of
20 elements: the alignment element and the columns. This is probably
21 more convenient, and I question the use having one without the
24 class Score_priority_engraver : public Engraver
26 Break_align_item * halign_p_;
27 Link_array<Item> column_p_arr_;
29 void add_horizontal_group (Item* , int p);
31 VIRTUAL_COPY_CONS(Translator);
32 Score_priority_engraver ();
35 virtual void acknowledge_element (Score_element_info);
36 virtual void do_pre_move_processing();
39 #endif // SCORE_ALIGN_GRAV_HH