]> git.donarmstrong.com Git - lilypond.git/blob - lily/include/single-malt-grouping-item.hh
release: 1.0.1
[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--1998 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 itme 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 class Single_malt_grouping_item : public Item
21 {
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;
32 };
33
34 #endif /* SINGLE_MALT_GROUPING_ITEM_HH */
35