Make hggroup to react on [xyzac]liminclude changes in its children.
1.1 --- a/series Mon Sep 01 09:49:02 2008 +0200
1.2 +++ b/series Mon Sep 01 13:23:19 2008 +0200
1.3 @@ -2,3 +2,4 @@
1.4 mkoctfile_cpp_cleanup_o_files
1.5 octave_bug_win32
1.6 msvc_compile_fix
1.7 +update_axis_limits
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/update_axis_limits Mon Sep 01 13:23:19 2008 +0200
2.3 @@ -0,0 +1,55 @@
2.4 +Make hggroup to react on [xyzac]liminclude changes in its children.
2.5 +
2.6 +diff -r 09184f7bdc07 src/ChangeLog
2.7 +--- a/src/ChangeLog Mon Sep 01 09:49:31 2008 +0200
2.8 ++++ b/src/ChangeLog Mon Sep 01 13:19:04 2008 +0200
2.9 +@@ -1,3 +1,8 @@
2.10 ++2008-09-01 Michael Goffioul <michael.goffioul@gmail.com>
2.11 ++
2.12 ++ * graphics.cc (hggroup::update_axis_limits): Also reacts on
2.13 ++ [xyzac]liminclude changes.
2.14 ++
2.15 + 2008-08-31 Michael Goffioul <michael.goffioul@gmail.com>
2.16 +
2.17 + * DLD-FUNCTIONS/fltk_backend.cc (fltk_backend::redraw_figure,
2.18 +diff -r 09184f7bdc07 src/graphics.cc
2.19 +--- a/src/graphics.cc Mon Sep 01 09:49:31 2008 +0200
2.20 ++++ b/src/graphics.cc Mon Sep 01 13:19:04 2008 +0200
2.21 +@@ -3484,32 +3484,32 @@
2.22 +
2.23 + char update_type = 0;
2.24 +
2.25 +- if (axis_type == "xlim")
2.26 ++ if (axis_type == "xlim" || axis_type == "xliminclude")
2.27 + {
2.28 + get_children_limits (min_val, max_val, min_pos, kids, 'x');
2.29 +
2.30 + update_type = 'x';
2.31 + }
2.32 +- else if (axis_type == "ylim")
2.33 ++ else if (axis_type == "ylim" || axis_type == "yliminclude")
2.34 + {
2.35 + get_children_limits (min_val, max_val, min_pos, kids, 'y');
2.36 +
2.37 + update_type = 'y';
2.38 + }
2.39 +- else if (axis_type == "zlim")
2.40 ++ else if (axis_type == "zlim" || axis_type == "zliminclude")
2.41 + {
2.42 + get_children_limits (min_val, max_val, min_pos, kids, 'z');
2.43 +
2.44 + update_type = 'z';
2.45 + }
2.46 +- else if (axis_type == "clim")
2.47 ++ else if (axis_type == "clim" || axis_type == "climinclude")
2.48 + {
2.49 + get_children_limits (min_val, max_val, min_pos, kids, 'c');
2.50 +
2.51 + update_type = 'c';
2.52 +
2.53 + }
2.54 +- else if (axis_type == "alim")
2.55 ++ else if (axis_type == "alim" || axis_type == "aliminclude")
2.56 + {
2.57 + get_children_limits (min_val, max_val, min_pos, kids, 'a');
2.58 +