# HG changeset patch # User Michael Goffioul # Date 1220401888 14400 # Node ID b1634dd9ebe7a21c78ed9cf2341d81a9efbef569 # Parent 9f10a7b28ae3d1785e1b4d7a65344c0f20456a1e Make hggroup to react on [xyzac]liminclude changes in its children. diff -r 9f10a7b28ae3 -r b1634dd9ebe7 src/ChangeLog --- a/src/ChangeLog Tue Sep 02 15:01:18 2008 -0400 +++ b/src/ChangeLog Tue Sep 02 20:31:28 2008 -0400 @@ -1,3 +1,8 @@ +2008-09-02 Michael Goffioul + + * graphics.cc (hggroup::update_axis_limits): Also reacts on + [xyzac]liminclude changes. + 2008-08-31 Michael Goffioul * DLD-FUNCTIONS/fltk_backend.cc (fltk_backend::redraw_figure, diff -r 9f10a7b28ae3 -r b1634dd9ebe7 src/graphics.cc --- a/src/graphics.cc Tue Sep 02 15:01:18 2008 -0400 +++ b/src/graphics.cc Tue Sep 02 20:31:28 2008 -0400 @@ -3484,32 +3484,32 @@ char update_type = 0; - if (axis_type == "xlim") + if (axis_type == "xlim" || axis_type == "xliminclude") { get_children_limits (min_val, max_val, min_pos, kids, 'x'); update_type = 'x'; } - else if (axis_type == "ylim") + else if (axis_type == "ylim" || axis_type == "yliminclude") { get_children_limits (min_val, max_val, min_pos, kids, 'y'); update_type = 'y'; } - else if (axis_type == "zlim") + else if (axis_type == "zlim" || axis_type == "zliminclude") { get_children_limits (min_val, max_val, min_pos, kids, 'z'); update_type = 'z'; } - else if (axis_type == "clim") + else if (axis_type == "clim" || axis_type == "climinclude") { get_children_limits (min_val, max_val, min_pos, kids, 'c'); update_type = 'c'; } - else if (axis_type == "alim") + else if (axis_type == "alim" || axis_type == "aliminclude") { get_children_limits (min_val, max_val, min_pos, kids, 'a');