function ObjHndls = ctl_makeguiobjects(varargin)
%
% ctl_makeguiobjects--This m-file was generated automatically by fig2mfile.m.
%
% Running ctl_makeguiobjects.m will generate a set of GUI objects.
%
% This program can accept either zero or three input arguments. The
% optional input arguments are:
% GuiScale: GUI objects are scaled up or down by this factor; set to 1
% for no change
% DeltaFontSize: Text objects' font sizes are changed from the original
% by this quantity; set to 0 for no change.
% FigurePosition: The position [left, bottom] of the lower-left hand
% corner of the figure window in normalised units; set to NaN for no
% change.
% DO NOT EDIT THIS FILE (unless you really want to). Any changes you make will probably
% disappear if you run fig2mfile.m again. If you want to modify object positions, etc., it is easiest to
% do so using Matlab's guide.m utility. You can then run fig2mfile.m again to regenerate
% this file. If you want to modify object properties that are not set by ctl_makeguiobjects.m,
% set them from outside this function using object tags and/or handles.
%
% ctl_makeguiobjects.m returns "ObjHndls", a vector of handles to the objects created.
%
% Syntax: ObjHndls = ctl_makeguiobjects(<GuiScale,DeltaFontSize,FigurePosition>)
% 2008/06/24, 13:51
% Developed in Matlab 7.6.0.324 (R2008a).
%------------------------------------------------------------------------------
% Handle input arguments.
if nargin == 3
GuiScale = varargin{1};
DeltaFontSize = varargin{2};
FigurePosition = varargin{3};
elseif nargin == 0
GuiScale = 1;
DeltaFontSize = 0;
FigurePosition = NaN;
else
error([mfilename '.m--Incorrect number of input arguments.']);
end % if
ObjHndls(1) = figure(...
'Units','pixels',...
'Position',[58 114 968 827],...
'Color',[0.701961 0.701961 0.701961],...
'MenuBar','none',...
'NumberTitle','off',...
'Name','Choose Transect Limits',...
'Tag','ctlFig');
currFig = ObjHndls(1);
ObjHndls(2) = axes(...
'Units','normalized',...
'Position',[0.780000 0.681902 0.170000 0.180000],...
'Color',[1 1 1],...
'Tag','headDialPlaceHolder',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(3) = axes(...
'Units','normalized',...
'Position',[0.780000 0.416667 0.170000 0.180000],...
'Color',[1 1 1],...
'Tag','tailDialPlaceHolder',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(4) = axes(...
'Units','normalized',...
'Position',[0.080000 0.194030 0.800000 0.063433],...
'Color',[1 1 1],...
'Tag','lonAx',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(5) = axes(...
'Units','normalized',...
'Position',[0.080000 0.283583 0.800000 0.063433],...
'Color',[1 1 1],...
'Tag','latAx',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(6) = axes(...
'Units','normalized',...
'Position',[0.095296 0.403055 0.606755 0.547264],...
'Color',[1 1 1],...
'Tag','mapAxes',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(7) = uimenu(...
ObjHndls(1),...
'Position',3,...
'Enable','on',...
'Label','Quit',...
'Separator','off',...
'ForegroundColor',[0 0 0],...
'Tag','quitMenu',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(8) = uimenu(...
ObjHndls(1),...
'Position',2,...
'Enable','on',...
'Label','Save',...
'Separator','off',...
'ForegroundColor',[0 0 0],...
'Tag','saveMenu',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(9) = uimenu(...
ObjHndls(1),...
'Position',1,...
'Enable','on',...
'Label','Load',...
'Separator','off',...
'ForegroundColor',[0 0 0],...
'Tag','loadMenu',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(10) = uicontrol(...
'Units','normalized',...
'Position',[0.567149 0.105200 0.190083 0.035067],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',12.000000,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Comments',...
'Value',0,...
'Style','text',...
'Tag','text1',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(11) = uicontrol(...
'Units','normalized',...
'Position',[0.759298 0.902056 0.204545 0.036276],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',12,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Responsiveness',...
'Value',0,...
'Style','text',...
'Tag','text5',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(12) = uicontrol(...
'Units','normalized',...
'Position',[0.817853 0.759016 0.086852 0.022388],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',12,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','head',...
'Value',0,...
'Style','text',...
'Tag','headLabelText',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(13) = uicontrol(...
'Units','normalized',...
'Position',[0.820265 0.498756 0.086852 0.022388],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',12,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','tail',...
'Value',0,...
'Style','text',...
'Tag','tailLabelText',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(14) = uicontrol(...
'Units','normalized',...
'Position',[-0.001033 0.950423 0.982438 0.048368],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',16,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Static Text',...
'Value',0,...
'Style','text',...
'Tag','statusText',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(15) = uicontrol(...
'Units','normalized',...
'Position',[0.238636 0.000000 0.277893 0.083434],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',16,...
'FontWeight','bold',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Static Text',...
'Value',0,...
'Style','text',...
'Tag','transectNumText',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(16) = uicontrol(...
'Units','normalized',...
'Position',[0.739669 0.350665 0.251033 0.062000],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',14.000000,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Static Text',...
'Value',0,...
'Style','text',...
'Tag','tailPointsText',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(17) = uicontrol(...
'Units','normalized',...
'Position',[0.738636 0.61 0.252066 0.062000],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',14.000000,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Static Text',...
'Value',0,...
'Style','text',...
'Tag','headPointsText',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(18) = uicontrol(...
'Units','normalized',...
'Position',[0.804584 0.865845 0.119421 0.034826],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',10,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Pop-up Menu',...
'Value',1,...
'Style','popupmenu',...
'Tag','powerPopUp',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(19) = uicontrol(...
'Units','normalized',...
'Position',[0.112183 0.062189 0.109771 0.027363],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',10,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Delete',...
'Value',0,...
'Style','pushbutton',...
'Tag','deleteButton',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(20) = uicontrol(...
'Units','normalized',...
'Position',[0.113390 0.101990 0.109771 0.027363],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',10,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Insert',...
'Value',0,...
'Style','pushbutton',...
'Tag','insertButton',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(21) = uicontrol(...
'Units','normalized',...
'Position',[0.521110 0.065920 0.307600 0.039801],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',10,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','Edit Text',...
'Value',0,...
'Style','edit',...
'Tag','commentEdit',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(22) = uicontrol(...
'Units','normalized',...
'Position',[0.379976 0.098259 0.049457 0.034826],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',14.000000,...
'FontWeight','bold',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','>',...
'Value',0,...
'Style','pushbutton',...
'Tag','nextTransectButton',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(23) = uicontrol(...
'Units','normalized',...
'Position',[0.322075 0.098259 0.049457 0.034826],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',14.000000,...
'FontWeight','bold',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','<',...
'Value',0,...
'Style','pushbutton',...
'Tag','prevTransectButton',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(24) = uicontrol(...
'Units','normalized',...
'Position',[0.875754 0.716728 0.039807 0.034826],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',10,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','>',...
'Value',0,...
'Style','pushbutton',...
'Tag','headForwardButton',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(25) = uicontrol(...
'Units','normalized',...
'Position',[0.815440 0.716728 0.039807 0.034826],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',10,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','<',...
'Value',0,...
'Style','pushbutton',...
'Tag','headBackButton',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(26) = uicontrol(...
'Units','normalized',...
'Position',[0.875754 0.458955 0.039807 0.034826],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',10,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','>',...
'Value',0,...
'Style','pushbutton',...
'Tag','tailForwardButton',...
'Parent',findobj(currFig,'Tag','ctlFig'));
ObjHndls(27) = uicontrol(...
'Units','normalized',...
'Position',[0.815440 0.458955 0.039807 0.034826],...
'FontUnits','points',...
'FontAngle','normal',...
'FontName','Helvetica',...
'FontSize',10,...
'FontWeight','normal',...
'BackgroundColor',[0.701961 0.701961 0.701961],...
'ForegroundColor',[0 0 0],...
'HorizontalAlignment','center',...
'Max',1,...
'Min',0,...
'String','<',...
'Value',0,...
'Style','pushbutton',...
'Tag','tailBackButton',...
'Parent',findobj(currFig,'Tag','ctlFig'));
% Rescale the GUI and fonts, and reposition the figure window if requested.
if exist('resizeguifig','file')==2
resizeguifig(GuiScale,gcf);
end % if
if exist('resizeguifonts','file')==2
resizeguifonts(DeltaFontSize,gcf);
end % if
if exist('repositiongui','file')==2
if ~any(isnan(FigurePosition))
repositiongui(FigurePosition,gcf);
end % if
end % if