]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/rest-column.hh
release: 0.0.65
[lilypond.git] / lily / include / rest-column.hh
1 /*
2   rest-column.hh -- declare Rest_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 REST_COLUMN_HH
11 #define REST_COLUMN_HH
12
13 #include "script-column.hh"
14
15 /** 
16   struct to treat a set of rests as union (one voicegroup should
17   only produce one rest.
18   */
19 class Rest_column : public Script_column {
20     Link_array<Note_head> head_l_arr_;
21 public:
22     int dir_i_;
23     void add(Note_head *);
24     NAME_MEMBERS(Rest_column);
25     void translate_y(Real dy);
26     Rest_column();
27 protected:
28     virtual void do_substitute_dependency(Score_elem*, Score_elem*);
29 };
30
31 #endif // REST_COLUMN_HH