Commit 5ae3166e authored by Matthew Dawson's avatar Matthew Dawson
Browse files

Fixed extra output and some random warnings.

 - Removed some values that weren't used.
 - Remove extra output thats not needed.


git-svn-id: https://groke.mcmaster.ca/svn/grad/colin/branches/TableTool_refactor@8692 57e6efec-57d4-0310-aeb1-a6c144bb1a8b
parent a00da5c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ function draw_onto( object, parent_handle )
%   needs to be called everytime the back table is updated.  The class will
%   notify when its necessary.

    [x, y] = object.get_bounding_box();
    [~, y] = object.get_bounding_box();

   for i = 1:size(object.drawables, 2)
        for j = 1:size(object.drawables, 1)
+0 −1
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ classdef TableGrid < handle
        end
        
        function cell = get_cell(object, y, x)
            x,y
            assert( x > 0 && x <= object.width, 'Provide a valid X cordinate!');
            assert( y > 0 && y <= object.height, 'Provide a valid Y cordinate!');
            
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ classdef TableGridCell < handle
        end
        
        function str = get_user_string(object)
            str = object.text
            str = object.text;
        end
    end
    
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ function draw_onto( object, parent_handle )
            if object.controls(j,i) ~= 0 && ishandle(object.controls(j,i))
                set(object.controls(j, i), 'Parent', object.phandle);
                set(object.controls(j, i), 'Position', position);
                set(object.controls(j, i), 'String', str)
                set(object.controls(j, i), 'String', str);
            else
                %Standardize this
                object.controls(j, i) = uicontrol(object.phandle, 'Style', 'edit', 'Position', position, 'String', str);