Changeset 144 for trunk/src/view_field.m
- Timestamp:
- Nov 30, 2010, 12:03:49 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/view_field.m
r116 r144 72 72 handles_mouse=handles; 73 73 huvmat=findobj(allchild(0),'Name','uvmat'); 74 hhuvmat=guidata(huvmat); 75 set(hhuvmat.list_object_2,'Visible','on') 76 % handles_mouse.create=hhuvmat.create; 77 handles_mouse.edit=hhuvmat.edit; 78 pos_uvmat=get(huvmat,'Position'); 79 pos_view_field(1)=pos_uvmat(1)+pos_uvmat(3)/2; 80 pos_view_field(2)=pos_uvmat(2)-pos_uvmat(3)/4; 81 pos_view_field(3:4)=pos_uvmat(3:4); 82 set(hObject,'Position',pos_view_field) 74 if ~isempty(huvmat) 75 hhuvmat=guidata(huvmat); 76 set(hhuvmat.list_object_2,'Visible','on') 77 % handles_mouse.create=hhuvmat.create; 78 handles_mouse.edit=hhuvmat.edit; 79 pos_uvmat=get(huvmat,'Position'); 80 pos_view_field(1)=pos_uvmat(1)+pos_uvmat(3)/2; 81 pos_view_field(2)=pos_uvmat(2)-pos_uvmat(3)/4; 82 pos_view_field(3:4)=pos_uvmat(3:4); 83 set(hObject,'Position',pos_view_field) 84 end 83 85 84 86 %functions for the mouse and keyboard
Note: See TracChangeset
for help on using the changeset viewer.