lilypond-1.3.7
[lilypond.git] / lily / score-column.cc
blob334a35d4bac1b877c3d8d99bf02309fc5525872a
1 /*
2 score-column.cc -- implement Score_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1999 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
9 #include "debug.hh"
10 #include "paper-column.hh"
11 #include "score-column.hh"
12 #include "command-request.hh"
14 Score_column::Score_column (Moment w)
16 when_ = w;
19 void
20 Score_column::do_print() const
22 #ifndef NPRINT
23 DEBUG_OUT << " at " << when_ << '\n';
24 DEBUG_OUT << "Shortest playing: " << shortest_playing_mom_ << " shortest starter: " << shortest_starter_mom_;
25 Paper_column::do_print();
26 #endif
30 bool
31 Score_column::musical_b () const
33 return shortest_starter_mom_ != Moment(0);