X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Finclude%2Faxis-group-element.hh;h=f753b9015f09cdb30e8bb919ae3b671135a7ff2f;hb=31653bf1d61a33ef8bc8c871d60c6b3452d04d28;hp=b79b70084ecb25a89e2b3725c95e035f611b74b9;hpb=2181534bd94587fcac8f1769f2dda7bece693649;p=lilypond.git diff --git a/lily/include/axis-group-element.hh b/lily/include/axis-group-element.hh index b79b70084e..f753b9015f 100644 --- a/lily/include/axis-group-element.hh +++ b/lily/include/axis-group-element.hh @@ -3,34 +3,34 @@ source file of the GNU LilyPond music typesetter - (c) 1997 Han-Wen Nienhuys + (c) 1997--1998 Han-Wen Nienhuys */ #ifndef AXIS_GROUP_ELEMENT_HH #define AXIS_GROUP_ELEMENT_HH -#include "score-elem.hh" -#include "axis-group-administration.hh" +#include "score-element.hh" +#include "graphical-axis-group.hh" + /** Treat a group of elements a unity in either or both axis sense . This is a wrapper around Axis_group_administration */ -class Axis_group_element : public virtual Score_elem { +class Axis_group_element : public virtual Score_element, + public Graphical_axis_group { protected: - Axis_group_administration axis_admin_; virtual void do_print() const; - virtual Link_array get_extra_dependencies() const; + virtual Link_array get_extra_dependencies() const; virtual void do_unlink(); virtual void do_junk_links(); public: - virtual Link_array elem_l_arr() const; - Axis_group_element(); - virtual void remove_all()=0; - virtual void add_element (Graphical_element*)=0; - virtual void remove_element (Graphical_element*)=0; - virtual bool contains_b (Graphical_element const *) const; + virtual Link_array elem_l_arr() const; + Axis_group_element(Axis,Axis); + Axis_group_element(); + virtual Link_array get_children (); + DECLARE_MY_RUNTIME_TYPEINFO; };