From ae8b22e1ae7b8f26df501a94b3832be676519ca3 Mon Sep 17 00:00:00 2001 From: fred Date: Fri, 25 Jul 1997 11:25:36 +0000 Subject: [PATCH] lilypond-0.0.76 --- lily/col-info.cc | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 lily/col-info.cc diff --git a/lily/col-info.cc b/lily/col-info.cc new file mode 100644 index 0000000000..e54d421b3a --- /dev/null +++ b/lily/col-info.cc @@ -0,0 +1,41 @@ +/* + col-info.cc -- implement Colinfo + + source file of the GNU LilyPond music typesetter + + (c) 1997 Han-Wen Nienhuys +*/ + +#include "p-col.hh" +#include "col-info.hh" +#include "debug.hh" + +void +Colinfo::print() const +{ +#ifndef NPRINT + mtor << "column { "; + if (fixed()) + mtor << "fixed at " << fixed_position()<<", "; + assert(pcol_l_); + mtor << "[" << minleft() << ", " << minright() << "]"; + mtor <<"}\n"; +#endif +} + +Colinfo::Colinfo(PCol *col_l, Real const *fixed_C) +{ + if (fixed_C) + fixpos_p_.set_l(fixed_C); + ugh_b_ = false; + pcol_l_ = col_l; + width = pcol_l_->width(); +} + + +Colinfo::Colinfo() +{ + ugh_b_ = false; + pcol_l_ =0; +} + -- 2.39.5