Ignore:
Timestamp:
May 2, 2014, 2:03:44 AM (10 years ago)
Author:
sommeria
Message:

improvement of movie-pair for uvmat and introduction of a separate window SetPair? in series.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/keyboard_callback.m

    r726 r764  
    5151        otherwise
    5252            if ischar(get(gco,'Tag'))
    53             switch get(gco,'tag')% tag of the current edit box
    54                 case {'RootPath', 'SubDir','RootFile','FileExt','RootPath_1', 'SubDir_1','RootFile_1','FileExt_1'}
    55                     set(handleshaxes.InputFileREFRESH,'BackgroundColor',[1 0 1])%indicat that REFRESH must be activated (introduce the whole series)
    56                 case 'num_IndexIncrement'% no action
    57                 otherwise
    58                     if isfield(handleshaxes,'REFRESH')
    59                     set(handleshaxes.REFRESH,'BackgroundColor',[1 0 1])%indicat that run0 must be activated
    60                     elseif strcmp(get(gco,'Type'),'uicontrol')
    61                        set(gco,'BackgroundColor',[1 0 1])%indicate that the edition  must be validated by carriage return
    62                     end
    63             end
     53                switch get(gco,'tag')% tag of the current edit box
     54                    case {'RootPath', 'SubDir','RootFile','FileExt','RootPath_1', 'SubDir_1','RootFile_1','FileExt_1'}
     55                        set(handleshaxes.InputFileREFRESH,'BackgroundColor',[1 0 1])%indicat that REFRESH must be activated (introduce the whole series)
     56                    case 'num_IndexIncrement'% no action
     57                    otherwise
     58                        if isfield(handleshaxes,'REFRESH')
     59                            set(handleshaxes.REFRESH,'BackgroundColor',[1 0 1])%indicat that run0 must be activated
     60                            if isfield(handleshaxes,'movie_pair')% stop movie pair in uvmat
     61                                set(handleshaxes.movie_pair,'value',0);
     62                                set(handleshaxes.movie_pair,'BusyAction','Cancel')%stop movie pair if button is 'off'
     63                                set(handleshaxes.i2,'String','')% the second i index display is suppressed
     64                                set(handleshaxes.j2,'String','')% the second j index display is suppressed
     65                                set(handleshaxes.Dt_txt,'String','')% the time interval indication is suppressed
     66                            end
     67                        elseif strcmp(get(gco,'Type'),'uicontrol')
     68                            set(gco,'BackgroundColor',[1 0 1])%indicate that the edition  must be validated by carriage return
     69                        end
     70                end
    6471            end
    6572    end
Note: See TracChangeset for help on using the changeset viewer.