lilypond-1.3.19
[lilypond.git] / lily / axis-group-item.cc
blobfdbcf9cf29b1431db65fe324438fa83f7f9637db
1 /*
2 axis-item.cc -- implement Axis_group_item
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8 #include "axis-group-item.hh"
9 #include "paper-column.hh"
13 void
14 Axis_group_item::do_breakable_col_processing()
16 #if 0
17 if (!breakable_b ()) // ugh should merge with Item code
18 return;
20 OK();
21 copy_breakable_items();
24 Link_array<Score_element> elems = elem_l_arr ();
25 for (int i=0; i < elems.size(); i++)
27 Item* it_l = dynamic_cast<Item*> (elems[i]);
28 Direction j=LEFT;
29 do
31 Axis_group_item * my_brok
32 = dynamic_cast<Axis_group_item*> (find_broken_piece(j));
33 Item *new_l = it_l->find_broken_piece (j);
34 my_brok->add_element (new_l);
36 while (flip(&j)!=LEFT);
38 #endif
39 Item::do_breakable_col_processing();