From: fred Date: Sun, 24 Mar 2002 19:52:44 +0000 (+0000) Subject: lilypond-0.1.1 X-Git-Tag: release/1.5.59~4180 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3c06050e21b85b2fbd858f6e908949e26003c8d2;p=lilypond.git lilypond-0.1.1 --- diff --git a/lily/include/score-elem.hh b/lily/include/score-elem.hh index 2adf9a8911..39c0615262 100644 --- a/lily/include/score-elem.hh +++ b/lily/include/score-elem.hh @@ -58,8 +58,8 @@ class Score_elem : private Directed_graph_node { public: PScore *pscore_l_; - int x_group_element_i_; - int y_group_element_i_; + Vertical_group *y_group_l_; + Horizontal_group *x_group_l_; Score_elem(Score_elem const&); virtual String TeX_string () const ; virtual void print() const; @@ -99,8 +99,19 @@ public: add a dependency. It may be the 0 pointer, in which case, it is ignored. */ void add_dependency(Score_elem* ); + void copy_dependencies(Score_elem const&); + /** + junk the dependency array. Don't do derived stuff. + */ + void junk_dependencies(); - + + /* + virtual accessors + */ + virtual Vertical_group * vertical_group() { return 0; } + virtual Horizontal_group * horizontal_group() { return 0; } + virtual Spanner* spanner() { return 0; } virtual Horizontal_vertical_group* elem_group() { return 0; } virtual Item * item() { return 0; }