/*
line-of-score.hh -- part of GNU LilyPond
- (c) 1996--2000 Han-Wen Nienhuys
+ (c) 1996--2001 Han-Wen Nienhuys
*/
#ifndef SCORELINE_HH
#include "column-x-positions.hh"
#include "spanner.hh"
-/**
- The columns of a score that form one line. The toplevel element.
- Any element has a Line_of_score as both X and Y reference
- point. The Paper_score contains one element of this type. Control
- enters the Score_element dependency calculation from this single
- Line_of_score object.
-
-
- properties:
-
- all-elements -- list of all score elements in this line. Needed
- for protecting elements from GC.
-
- columns -- list of all paper columns
-
- */
class Line_of_score : public Spanner
{
public:
int rank_i_;
- void post_processing();
+ void post_processing (bool);
- Protected_scm output_;
- Line_of_score(SCM);
-
+ Line_of_score (SCM);
/// is #c# contained in #*this#?
bool contains_b (Paper_column const *c) const;
int element_count () const;
void output_lines ();
Link_array<Item> broken_col_range (Item const*, Item const*) const;
- Link_array<Paper_column> column_l_arr () const;
+ Link_array<Grob> column_l_arr () const;
void add_column (Paper_column*);
- void typeset_element (Score_element*);
+ void typeset_grob (Grob*);
void output_molecule (SCM, Offset);
void output_scheme (SCM);
void pre_processing ();
protected:
- VIRTUAL_COPY_CONS(Score_element);
+ VIRTUAL_COPY_CONS (Grob);
};
#endif