]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/include/score-priority-engraver.hh
release: 1.3.44
[lilypond.git] / lily / include / score-priority-engraver.hh
index 4b857c7662531739095d1521415fe91c7b907b9b..3ec4360f91d9fa592c18e7a39a2d475e38e48280 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c)  1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+  (c)  1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
 */
 
 
 #include "engraver.hh"
 
 /**
-  Group  a number of items across staffs
- */
+  Group a number of items across staffs:
+
+  Acknowledge items, put each priority in a separate column.  Put all
+  columns in a horizontal align engraver.  We manufacture two types of
+  elements: the alignment element and the columns.  This is probably
+  more convenient, and I question the use having one without the
+  other.
+*/
 class Score_priority_engraver : public Engraver
 {
-  Hash_table<int, Horizontal_group_item  *> align_p_tab_;
+  Break_align_item * halign_p_;
+  Link_array<Item> column_p_arr_;
+
+  void add_horizontal_group (Item* , int p);
 public:
   VIRTUAL_COPY_CONS(Translator);
   Score_priority_engraver ();