Changeset 62 for trunk/src/mouse_down.m
- Timestamp:
- Mar 24, 2010, 12:36:53 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_down.m
r61 r62 53 53 hcurrentobject=gco;% current object handle (selected by the mouse) 54 54 hcurrentfig=gcbo;% current figure handle 55 fig_tag=get(hcurrentfig,'Tag'); 55 56 tag_obj=get(gco,'Tag'); 56 57 xy=[];%default … … 211 212 end 212 213 set(hhuvmat.list_object_1,'String',list_str) 213 set(hhuvmat.list_object_1,'Value',IndexObj)214 214 set(hhuvmat.list_object_2,'String',list_str) 215 set(hhuvmat.list_object_2,'Value',IndexObj) 215 if strcmp(fig_tag,'view_field')%we are in view_field plot 216 set(hhuvmat.list_object_1,'Value',IndexObj) 217 else%we are in uvmat plot 218 set(hhuvmat.list_object_2,'Value',IndexObj) 219 end 216 220 PlotData=get(AxeData.CurrentObject,'UserData'); 217 221 PlotData.IndexObj=IndexObj;
Note: See TracChangeset
for help on using the changeset viewer.