]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-column.hh
* lily/rest.cc (polyphonic_offset_callback): new function. Do
[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--2004 Han-Wen Nienhuys <hanwen@cs.uu.nl>
7 */
8
9
10 #ifndef NOTE_COLUMN_HH
11 #define NOTE_COLUMN_HH
12
13 #include "item.hh"
14
15 /** a struct for treating a group of noteheads (noteheads, stem
16  (chord) and scripts) as a single entity.
17
18   UGR. Junkme.  refpoint should be the notehead, dir should come from stem.
19
20 */
21 class Note_column
22 {
23 public:
24   static int shift_compare (Grob *const &, Grob*const&);
25   static Direction dir (Grob*me);
26   static Grob * accidentals (Grob*me);
27   static Slice head_positions_interval (Grob* me);
28   static Direction static_dir (Grob*);
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 set_dotcol (Grob*me,Grob*);
34   static void add_head (Grob*me,Grob*);
35   static bool has_rests (Grob*me);
36   static bool has_interface (Grob*);
37   
38   static Item *get_stem (Grob*);
39 };
40
41 #endif // NOTE_COLUMN_HH