]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/note-column.hh
release: 0.0.50
[lilypond.git] / lily / include / note-column.hh
1 /*
2   note-column.hh -- declare Note_column
3
4   source file of the LilyPond music typesetter
5
6   (c) 1997 Han-Wen Nienhuys <hanwen@stack.nl>
7 */
8
9
10 #ifndef NOTE_COLUMN_HH
11 #define NOTE_COLUMN_HH
12 #include "item.hh"
13
14 /** 
15   a struct for treating a group of noteheads (noteheads, stem, scripts )
16   as a single entity.  
17   */
18 class Note_column : public Item {
19     Stem * stem_l_;
20     Array<Notehead*> head_l_arr_;
21     Array<Script *> script_l_arr_;
22     
23 protected:
24     virtual void translate(Offset);
25     virtual  Interval do_height()const;
26     virtual void do_print() const ;
27     virtual void do_pre_processing();
28     virtual Interval do_width()const;
29 public:
30     
31     NAME_MEMBERS(Note_column);
32     Note_column();
33     void add(Notehead *);
34     void add(Stem *);
35     void add(Script *);
36 };
37 #endif // NOTE_COLUMN_HH