From 20b55212a6eb2a234ce6273381355054cd51c73a Mon Sep 17 00:00:00 2001 From: fred Date: Tue, 1 Apr 1997 15:09:35 +0000 Subject: [PATCH] lilypond-0.0.46.jcn1 --- lily/include/staff-elem.hh | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/lily/include/staff-elem.hh b/lily/include/staff-elem.hh index e2fce84582..a604385cff 100644 --- a/lily/include/staff-elem.hh +++ b/lily/include/staff-elem.hh @@ -18,14 +18,27 @@ Stem. So the Beam has to be calculated *before* Stem. This is accomplished with the dependencies field of struct Staff_elem. + (elem) */ -struct Staff_elem { +class Staff_elem { + + /// member: the symbols + Molecule *output; // should scrap, and use temp var? + + + /** + This is needed, because #output# may still be + NULL. + */ + Offset offset_; + Array dependancy_l_arr_; +public: enum Status { ORPHAN, // not yet added to pstaff VIRGIN, // added to pstaff PRECALCING, PRECALCED, // calcs before spacing done - POSTCALCING, + POSTCALCING, // busy calculating. This is used to trap cyclic deps. POSTCALCED, // after spacing calcs done OUTPUT, // molecule has been output } status; @@ -68,19 +81,8 @@ protected: /// do calculations after determining horizontal spacing virtual void do_post_processing(); - Array dependants; + Array dependant_l_arr_; -private: - /// member: the symbols - Molecule *output; // should scrap, and use temp var? - - - /** - This is needed, because #output# may still be - NULL. - */ - Offset offset_; - Array dependencies; }; -- 2.39.5