2 note-column.hh -- declare Note_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2000 Han-Wen Nienhuys <hanwen@cs.uu.nl>
10 #ifndef NOTE_COLUMN_HH
11 #define NOTE_COLUMN_HH
15 /** a struct for treating a group of noteheads (noteheads, stem
16 (chord) and scripts) as a single entity.
18 UGR. Junkme. refpoint should be the notehead, dir should come from stem.
21 class Note_column : public Item
24 static int shift_compare (Note_column *const &, Note_column*const&);
26 /** The relative position of the "voice" containing this
27 chord. Normally this would be the same as the stem direction,
31 Direction dir () const;
34 static Slice head_positions_interval(Score_element* me) ;
35 static Direction static_dir (Score_element*);
36 void translate_rests(int dy);
37 Score_element * first_head ()const;
38 Interval rest_dim ()const ;
40 void set_stem (Score_element*);
41 void set_dotcol (Score_element*);
42 void add_head (Score_element*);
45 static bool has_interface (Score_element*);
50 #endif // NOTE_COLUMN_HH