summaryrefslogtreecommitdiff
path: root/gui_win.m
diff options
context:
space:
mode:
Diffstat (limited to 'gui_win.m')
-rw-r--r--gui_win.m16
1 files changed, 0 insertions, 16 deletions
diff --git a/gui_win.m b/gui_win.m
index 2193b97..e2fb8ba 100644
--- a/gui_win.m
+++ b/gui_win.m
@@ -774,22 +774,6 @@ else
end;
-function [x,adjusted]=check_bound(x,xleft,xright)
-% check if number out of bound and then assign it to the mid of the region
-if xleft > xright
- % sanity check for bounds
- tmp=xright;
- xright=xleft;
- xleft=tmp;
-end
-if x<xleft || x>xright
- x=(xleft+xright)/2;
- adjusted = true;
-else
- adjusted = false;
-end
-
-
%To show the cross on the screen we need to get its coordinates
% --- Executes on button press in showcross.
function showcross_Callback(hObject, eventdata, handles)