]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/head-column.hh
77065d84cb491d4f6eb5b9e93469047610139efd
[lilypond.git] / lily / include / head-column.hh
1 /*
2   head-column.hh -- declare Head_column
3
4   source file of the GNU LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef HEAD_COLUMN_HH
11 #define HEAD_COLUMN_HH
12
13 #include "script-column.hh"
14
15 class Head_column : public Script_column
16
17 public:
18     Link_array<Note_head> head_l_arr_;
19     /** The relative position of the "voice" containing this
20       chord. Normally this would be the same as the stem direction,
21       but rests do not have stems.  
22
23       Hmm. outdated.. Rests *do* have stems.
24       */
25
26     int dir_i_;
27     Stem* stem_l_;
28
29     void add(Note_head*);
30     void add(Script*s) { Script_column::add(s) ; }
31     virtual void set(Stem*);
32     Head_column();
33     DECLARE_MY_RUNTIME_TYPEINFO;
34 protected:
35
36
37     virtual void do_pre_processing();
38     virtual void do_print()const;
39     virtual void do_substitute_dependency(Score_elem*,Score_elem*);
40 };
41 #endif // HEAD_COLUMN_HH