]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-0.0.63
authorfred <fred>
Sun, 24 Mar 2002 19:43:20 +0000 (19:43 +0000)
committerfred <fred>
Sun, 24 Mar 2002 19:43:20 +0000 (19:43 +0000)
lily/include/request-column.hh
lily/score.cc

index e3d5d3184e94b401601fd10c4a3f7ff61dc06d79..ad198f3f04477a147393d3f2063cdda9f6be57ef 100644 (file)
  */
 class Request_column 
 {
-    IPointer_list<Staff_column*> staff_cols_;
+    Pointer_list<Staff_column*> staff_cols_;
     Array<Staff_column*> staff_col_l_arr_;
+    Moment when_;
     
 public:
     Score_column *musical_column_l_, *command_column_l_;
-    Request_column(Pointer_list<Staff*> const& );
+    Request_column(Link_list<Staff*> const& );
     bool used_b()const;
     Moment when();
     void add_reqs(int staff_idx, Array<Request*> const&);
index 7441d5c790160a5b624ec0ad6ead1119f743d168..8ec3049f487d661ed99b00f36aa6e3c229a7e453 100644 (file)
@@ -114,6 +114,7 @@ Score::clean_cols()
        i->clean_cols();
 
     for (iter_top(rcols_,i); i.ok(); i++) {
+       i->when();              // update cache, ugh
        if (!i->command_column_l_->used_b()) {
            i->command_column_l_ = 0;
        }