Changeset 103 for trunk/src/mouse_motion.m
- Timestamp:
- Jun 23, 2010, 4:43:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mouse_motion.m
r79 r103 61 61 haxes=[]; 62 62 for ichild=1:length(hchild) 63 obj_pos=get(hchild(ichild),'Position');%position of the object 63 obj_pos=get(hchild(ichild),'Position'); 64 if numel(obj_pos)~=4% for some versions of matlab some objects 65 get(hchild(ichild)) 66 % continue 67 end%position of the object 64 68 if xy_fig(1) >=obj_pos(1) & xy_fig(2) >= obj_pos(2)& xy_fig(1) <=obj_pos(1)+obj_pos(3) & xy_fig(2) <= obj_pos(2)+obj_pos(4); 65 69 htype=get(hchild(ichild),'Type');%type of the crrent child
Note: See TracChangeset
for help on using the changeset viewer.