]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-column.hh
Fix some bugs in the dynamic engraver and PostScript backend
[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--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
7 */
8
9 #ifndef NOTE_COLUMN_HH
10 #define NOTE_COLUMN_HH
11
12 #include "item.hh"
13
14 /** a struct for treating a group of noteheads (noteheads, stem
15     (chord) and scripts) as a single entity.
16
17     UGR. Junkme.  refpoint should be the notehead, dir should come from stem.
18 */
19 class Note_column
20 {
21 public:
22   static int shift_compare (Grob *const &, Grob *const &);
23   static Direction dir (Grob *me);
24   static Grob *accidentals (Grob *me);
25   static Grob *arpeggio (Grob *me);
26   static Slice head_positions_interval (Grob *me);
27   static Direction static_dir (Grob *);
28   static void translate_rests (Grob *me, int dy);
29   static Grob *first_head (Grob *me);
30   static Grob *get_rest (Grob *me);
31   static void set_stem (Grob *me, Grob *);
32   static void set_dotcol (Grob *me, Grob *);
33   static void add_head (Grob *me, Grob *);
34   static bool has_rests (Grob *me);
35   static bool has_interface (Grob *);
36
37   static Item *get_stem (Grob *);
38 };
39
40 #endif // NOTE_COLUMN_HH