Fix typo in convert-ly.
[lilypond.git] / lily / include / note-column.hh
blobf29c50e66c2149d13c3059a545d3ab245d708bff
1 /*
2 note-column.hh -- declare Note_column
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
9 #ifndef NOTE_COLUMN_HH
10 #define NOTE_COLUMN_HH
12 #include "grob-interface.hh"
13 #include "lily-proto.hh"
16 /** a struct for treating a group of noteheads (noteheads, stem
17 (chord) and scripts) as a single entity.
19 UGR. Junkme. refpoint should be the notehead, dir should come from stem.
21 class Note_column
23 public:
24 static bool shift_less (Grob *const &, Grob *const &);
25 static Direction dir (Grob *me);
26 static Grob *accidentals (Grob *me);
27 static Grob *arpeggio (Grob *me);
28 static Slice head_positions_interval (Grob *me);
29 static void translate_rests (Grob *me, int dy);
30 static Grob *first_head (Grob *me);
31 static Grob *get_rest (Grob *me);
32 static void set_stem (Grob *me, Grob *);
33 static void add_head (Grob *me, Grob *);
34 static bool has_rests (Grob *me);
35 static Grob *dot_column (Grob *me);
36 static Interval cross_staff_extent (Grob *me, Grob *refp);
37 DECLARE_GROB_INTERFACE();
39 static Item *get_stem (Grob *);
42 #endif // NOTE_COLUMN_HH