]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/script-column.hh
release: 0.0.56
[lilypond.git] / lily / include / script-column.hh
1 /*
2   script-column.hh -- declare Script_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 SCRIPT_COLUMN_HH
11 #define SCRIPT_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 class Script_column : public Item {
18 protected:
19     virtual Interval do_height()const;
20     virtual Interval do_width()const;
21     virtual void do_print() const ;
22     virtual void do_pre_processing();
23 public:
24     Array<Script *> script_l_arr_;
25     Array<Item *> support_l_arr_;
26     
27     NAME_MEMBERS(Script_column);
28     virtual void translate(Offset);
29     void add(Script *);
30     void add_support(Item*);
31 };
32
33 #endif // SCRIPT_COLUMN_HH