Commit a4eb4a80 authored by Matthew Dawson's avatar Matthew Dawson
Browse files

Remove debugging output thats not needed.

Matlab makes it easy to dump debug output.  Kill it.


git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/branches/TableTool_refactor@8787 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
parent 3569ceda
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -64,12 +64,12 @@ classdef HierarchicalGrid < handle
        
        function cell = get_child_cell(object, parent, cell_index)
            if isempty(parent)
                grid = object.grid
                mgrid = object.grid;
            else
                grid = parent.grid
                mgrid = parent.grid;
            end
            
            cell = grid{cell_index}
            cell = mgrid{cell_index};
        end
        
        function cell = recurse_top_cell(object, the_cell)
+1 −1
Original line number Diff line number Diff line
@@ -50,7 +50,7 @@ classdef LetStatmentsDraw < GUIBase
                set(c, 'Position', [0, y-((i)*object.gui_params.edit_height), object.gui_params.edit_width, object.gui_params.edit_height]);
                set(c, 'Callback', @(src, event)object.my_data.set_statement_name(i, get(src, 'String')));
                
                c = object.my_controls{i}.a
                c = object.my_controls{i}.a;
                set(c, 'Parent', object.phandle);
                set(c, 'String', a);
                set(c, 'Position', [object.gui_params.edit_width+20, y-((i)*object.gui_params.edit_height), object.gui_params.edit_width*2, object.gui_params.edit_height]);
+2 −2
Original line number Diff line number Diff line
@@ -32,8 +32,8 @@ function [height, grid_controls, cell_controls] = draw_onto( object, parent_hand
            grid_controls{i}.subgrid = {};
            grid_controls{i}.pb_extend = -1;
            grid_controls{i}.cell_controls = struct();
            grid_controls{i}.cell_controls.pb_new = -1
            grid_controls{i}.cell_controls.pb_delete = -1
            grid_controls{i}.cell_controls.pb_new = -1;
            grid_controls{i}.cell_controls.pb_delete = -1;
        end

        [new_height, grid_controls{i}.subgrid, grid_controls{i}.cell_controls] = draw_onto( object, parent_handle, grid{i}, grid{i}.grid, grid_controls{i}.subgrid, grid_controls{i}.cell_controls, depth+1, start_height+height, x, y);