# HG changeset patch # User Kai Habel # Date 1289248221 -3600 # Node ID a28c953381e8207cff968dd725129dba3f78289f # Parent 51e6ac3e5afcebde4866d5d664d7760a84ffab2c Replace get_children with get_all_children diff -r 51e6ac3e5afc -r a28c953381e8 src/DLD-FUNCTIONS/fltk_backend.cc --- a/src/DLD-FUNCTIONS/fltk_backend.cc Mon Nov 08 21:22:22 2010 +0100 +++ b/src/DLD-FUNCTIONS/fltk_backend.cc Mon Nov 08 21:30:21 2010 +0100 @@ -319,14 +319,14 @@ Matrix find_uimenu_children (uimenu::properties& uimenup) const { - Matrix uimenu_childs = uimenup.get_children (); + Matrix uimenu_childs = uimenup.get_all_children (); Matrix retval = do_find_uimenu_children (uimenu_childs); return retval; } Matrix find_uimenu_children (figure::properties& figp) const { - Matrix uimenu_childs = figp.get_children (); + Matrix uimenu_childs = figp.get_all_children (); Matrix retval = do_find_uimenu_children (uimenu_childs); return retval; } @@ -956,7 +956,7 @@ graphics_handle pixel2axes_or_ca (int px, int py ) { - Matrix kids = fp.get_children (); + Matrix kids = fp.get_all_children (); int len = kids.length (); for (int k = 0; k < len; k++) @@ -1708,7 +1708,7 @@ if (obj && obj.isa ("root")) { base_properties& props = obj.get_properties (); - Matrix children = props.get_children (); + Matrix children = props.get_all_children (); for (octave_idx_type n = 0; n < children.numel (); n++) { diff -r 51e6ac3e5afc -r a28c953381e8 src/graphics.cc --- a/src/graphics.cc Mon Nov 08 21:22:22 2010 +0100 +++ b/src/graphics.cc Mon Nov 08 21:30:21 2010 +0100 @@ -2280,7 +2280,7 @@ void base_properties::update_boundingbox (void) { - Matrix kids = get_children (); + Matrix kids = get_all_children (); for (int i = 0; i < kids.numel (); i++) { @@ -2725,7 +2725,7 @@ { graphics_handle new_currentaxes; - Matrix kids = get_children (); + Matrix kids = get_all_children (); for (octave_idx_type i = 0; i < kids.numel (); i++) { @@ -3941,7 +3941,7 @@ if (xlimmode_is ("auto") && ylimmode_is ("auto") && zlimmode_is ("auto")) { modified_limits = true; - kids = get_children (); + kids = get_all_children (); max_axes_scale (s, xlimits, kids, pba(0), da(0), 'x', true); max_axes_scale (s, ylimits, kids, pba(1), da(1), 'y', true); max_axes_scale (s, zlimits, kids, pba(2), da(2), 'z', true); @@ -4701,7 +4701,7 @@ if (updating_axis_limits || updating_aspectratios) return; - Matrix kids = xproperties.get_children (); + Matrix kids = xproperties.get_all_children (); double min_val = octave_Inf; double max_val = -octave_Inf; @@ -4866,7 +4866,7 @@ Matrix ylims = get_ylim ().matrix_value (); // Get children axes limits - Matrix kids = get_children (); + Matrix kids = get_all_children (); double minx = octave_Inf; double maxx = -octave_Inf; double min_pos_x = octave_Inf; @@ -4915,7 +4915,7 @@ Matrix ylims = get_ylim ().matrix_value (); // Get children axes limits - Matrix kids = get_children (); + Matrix kids = get_all_children (); double minx = octave_Inf; double maxx = -octave_Inf; double min_pos_x = octave_Inf; @@ -5355,7 +5355,7 @@ if (updating_hggroup_limits) return; - Matrix kids = xproperties.get_children (); + Matrix kids = xproperties.get_all_children (); double min_val = octave_Inf; double max_val = -octave_Inf; @@ -6318,7 +6318,7 @@ if ((go.isa ("line") || go.isa ("patch")) && ! go.get("zdata").is_empty ()) nd = 3; - Matrix kids = go.get_properties().get_children (); + Matrix kids = go.get_properties().get_all_children (); for (octave_idx_type i = 0; i < kids.length (); i++) {