lilypond-1.0.19
[lilypond.git] / lily / include / single-malt-grouping-item.hh
blob32bfb45e2a94d5eb5d1ef73dbc914fdf03de1f8e
1 /*
2 single-malt-grouping-item.hh -- declare
4 source file of the GNU LilyPond music typesetter
6 (c) 1997--1998 Han-Wen Nienhuys <hanwen@cs.uu.nl>
8 */
10 #ifndef SINGLE_MALT_GROUPING_ITEM_HH
11 #define SINGLE_MALT_GROUPING_ITEM_HH
13 #include "item.hh"
15 /** Calc dimensions for the Separating_group_spanner; this has to be
16 an itme to get dependencies correct. It can't be an element_group
17 since these usually are in a different X_group
19 It's 1 30 am. Naming suggestions appreciated. */
20 class Single_malt_grouping_item : public Item
22 SCORE_ELEMENT_CLONE (Single_malt_grouping_item);
23 Link_array<Item> item_l_arr_;
24 public:
25 Single_malt_grouping_item ();
26 Interval my_width () const;
27 void add_item (Item*);
28 DECLARE_MY_RUNTIME_TYPEINFO;
29 protected:
30 virtual void do_substitute_dependency (Score_element*, Score_element*);
31 virtual void do_print () const;
34 #endif /* SINGLE_MALT_GROUPING_ITEM_HH */