Ignore:
Timestamp:
May 3, 2013, 10:11:43 AM (11 years ago)
Author:
sommeria
Message:

a few bugs repaired, display of the local mouse indication in a separate window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mouse_motion.m

    r625 r627  
    3939hPlotAxes=hhCurrentFig.PlotAxes';% handles of the main plot axes
    4040AxeData=get(hPlotAxes,'UserData');% data attached to the axis
     41htext_display(1)=handles.text_display;
     42if isfield(AxeData,'htext_display')&&ishandle(AxeData.htext_display)
     43    htext_display(2)=AxeData.htext_display;
     44end
    4145test_draw=0;%test for mouse drawing of object, =0 by default
    4246if isfield(AxeData,'Drawing')&& ~isempty(AxeData.Drawing)
     
    288292        text_displ(ind_blank)=[];
    289293    end
    290     set(handles.text_display,'String',text_displ)
     294    %set(handles.text_display,'String',text_displ)
     295    set(htext_display,'String',text_displ)
    291296else
    292    set(handles.text_display,'String',get(handles.text_display,'UserData'))
     297   %set(handles.text_display,'String',get(handles.text_display,'UserData'))
     298   set(htext_display,'String',get(handles.text_display,'UserData'))
    293299end
    294300
Note: See TracChangeset for help on using the changeset viewer.