]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-column.hh
Run `make grand-replace'.
[lilypond.git] / lily / include / note-column.hh
1 /*
2   note-column.hh -- declare Note_column
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef NOTE_COLUMN_HH
10 #define NOTE_COLUMN_HH
11
12 #include "grob-interface.hh"
13 #include "lily-proto.hh"
14
15
16 /** a struct for treating a group of noteheads (noteheads, stem
17     (chord) and scripts) as a single entity.
18
19     UGR. Junkme.  refpoint should be the notehead, dir should come from stem.
20 */
21 class Note_column
22 {
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();
38
39   static Item *get_stem (Grob *);
40 };
41
42 #endif // NOTE_COLUMN_HH