Mercurial > hg > octave-lojdl
changeset 8081:b1634dd9ebe7
Make hggroup to react on [xyzac]liminclude changes in its children.
author | Michael Goffioul |
---|---|
date | Tue, 02 Sep 2008 20:31:28 -0400 |
parents | 9f10a7b28ae3 |
children | 163d20e4d39c |
files | src/ChangeLog src/graphics.cc |
diffstat | 2 files changed, 10 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-09-02 Michael Goffioul <michael.goffioul@gmail.com> + + * graphics.cc (hggroup::update_axis_limits): Also reacts on + [xyzac]liminclude changes. + 2008-08-31 Michael Goffioul <michael.goffioul@gmail.com> * DLD-FUNCTIONS/fltk_backend.cc (fltk_backend::redraw_figure,
--- a/src/graphics.cc +++ b/src/graphics.cc @@ -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');