]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/head-column.hh
release: 0.1.11
[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 /**
16   Scripts and rests/noteheads
17  */
18 class Head_column : public Script_column
19
20 public:
21   Link_array<Note_head> head_l_arr_;
22   /** The relative position of the "voice" containing this
23     chord. Normally this would be the same as the stem direction,
24     but rests do not have stems.  
25
26     Hmm. outdated.. Rests *do* have stems.
27     */
28
29   Direction dir_;
30   Stem* stem_l_;
31
32   void add (Note_head*);
33   virtual void add (Script*s);
34   void set (Stem*);
35   Head_column();
36   DECLARE_MY_RUNTIME_TYPEINFO;
37 protected:
38
39
40   virtual void do_pre_processing();
41   virtual void do_print() const;
42   virtual void do_substitute_dependency (Score_elem*,Score_elem*);
43 };
44 #endif // HEAD_COLUMN_HH