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