]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-column.hh
release: 1.5.27
[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--2001 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   
26   /** The relative position of the "voice" containing this
27     chord. Normally this would be the same as the stem direction,
28
29     JUNKME.
30     */
31
32   static Grob * accidentals (Grob*me);
33   static Direction dir (Grob*me);
34   static Slice head_positions_interval (Grob* me);
35   static Direction static_dir (Grob*);
36   static void translate_rests (Grob*me,int dy);
37   static Grob * first_head (Grob*me);
38   static void set_stem (Grob*me,Grob*);
39   static void set_dotcol (Grob*me,Grob*);
40   static void add_head (Grob*me,Grob*);
41   static bool rest_b (Grob*me);
42   static bool has_interface (Grob*);
43   static void set_interface (Grob*);
44   static Item *stem_l (Grob*);
45 };
46
47 #endif // NOTE_COLUMN_HH