%%%% All the *_con.m file call on this part of the script.

%  Copyright (c) 1984-98 by The MathWorks, Inc. All Rights Reserved
%  $Revision: 1.2 $ $Date: 1998/09/01 19:01:58 $

%======================
% Build the Figure for the listing of Toolbox functions
top=0.9;
left=0.05;
right=0.8;
btnWid=0.1;
btnHt=0.05;
bottom=0.1;
labelHt=0.05;
spacing=0.005;

% Then the text Title
labelPos=[left+.05 top-labelHt+.02 (right-left) labelHt];
uicontrol(currfig, ...
    'Style','text', ...
    'fontsize',13, ...
    'Units','normalized', ...
    'Position',labelPos, ...
    'BackgroundColor',[0.8 0.8 .8], ...
    'ForegroundColor',[.1 .1 1], ...
    'String',category);

% Then the text header on top of the Title
labelPos=[left+.05 top+.025 (right-left) labelHt];
uicontrol(currfig, ...
    'Style','text', ...
    'fontsize',12, ...
    'Units','normalized', ...
    'Position',labelPos, ...
    'BackgroundColor',[0.8 0.8 .8], ...
    'ForegroundColor',[0  0 0], ...
    'String', ttlStr, 'tag', 'ttlstring');
 
 
% The CLOSE button
labelStr='Close';
callbackStr='close(gcf)';
closeHndl=uicontrol(currfig, ...
    'Style','pushbutton', ...
    'Units','normalized', ...
    'Position',[left+.40 bottom-.08 btnWid btnHt], ...
    'String',labelStr, ...
    'Callback',callbackStr);
 
 

