Changeset 623 for trunk/src/mouse_up.m


Ignore:
Timestamp:
Apr 29, 2013, 11:27:46 PM (11 years ago)
Author:
sommeria
Message:

waitbar system for series improved to aloow use as stand alone fcts.

to add at the head of series fcts:
hseries=findobj(allchild(0),'Tag','series');
RUNHandle=findobj(hseries,'Tag','RUN');%handle of RUN button in GUI series
WaitbarHandle?=findobj(hseries,'Tag','Waitbar');%handle of waitbar in GUI series

call to waitbar:

update_waitbar(WaitbarHandle?,index/nbfield)
if ishandle(RUNHandle) && ~strcmp(get(RUNHandle,'BusyAction?'),'queue')

disp('program stopped by user')
break

end

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_up.m

    r622 r623  
    171171        end
    172172    else
    173         test_drawing=1;%allow continuation of drawing object
    174          AxeData.CurrentOrigin=[xy(1,1) xy(1,2)]; %the current point becomes the next current origin
     173%         test_drawing=1;%allow continuation of drawing object
     174%          AxeData.CurrentOrigin=[xy(1,1) xy(1,2)]; %the current point becomes the next current origin
    175175    end
    176176    UvData.ProjObject{IndexObj}=ObjectData;
Note: See TracChangeset for help on using the changeset viewer.