From: fred Date: Sun, 19 Jul 1998 00:10:26 +0000 (+0000) Subject: lilypond-1.0.1 X-Git-Tag: release/1.5.59~5897 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b0cd9e6ad2e47c8f553595ea9cbb1e36ec61f277;p=lilypond.git lilypond-1.0.1 --- diff --git a/lily/include/graphical-axis-group.hh b/lily/include/graphical-axis-group.hh new file mode 100644 index 0000000000..17ac4b9481 --- /dev/null +++ b/lily/include/graphical-axis-group.hh @@ -0,0 +1,40 @@ +/* + axis-group-administration.hh -- declare Graphical_axis_group + + source file of the GNU LilyPond music typesetter + + (c) 1997--1998 Han-Wen Nienhuys +*/ + + +#ifndef GRAPHICAL_AXIS_GROUP_HH +#define GRAPHICAL_AXIS_GROUP_HH + + +#include "parray.hh" +#include "axes.hh" +#include "real.hh" +#include "lily-proto.hh" +#include "graphical-element.hh" + +/** + Treat a group of graphical elements as an aggegrate. + */ +class Graphical_axis_group : public virtual Graphical_element { +public: + Link_array elem_l_arr_; + Axis axis1_, axis2_; + + Interval extent (Axis) const; + virtual void do_print() const; + Graphical_axis_group (Graphical_axis_group const&); + Graphical_axis_group (Axis,Axis); + void remove_all (); + + bool contains_b (Graphical_element const *) const; + void add_element (Graphical_element*); + void remove_element (Graphical_element*); + DECLARE_MY_RUNTIME_TYPEINFO; +}; + +#endif // Graphical_axis_group_HH