function dummy = addcontrols(sisodb)
%ADDCONTROLS  Add SISO Tool UI controls.
%
%   See also SISOTOOL.

%   Author: P. Gahinet  
%   Copyright 1986-2000 The MathWorks, Inc.
%   $Revision: 1.3 $  $Date: 2000/06/14 20:22:11 $

% REVISIT
dummy = [];

sisodb.HG = struct(...
    'CompensatorFrame',compframe(sisodb),...
    'LoopConfigFrame',configframe(sisodb),...
    'StatusFrame',LocalStatusFrame(sisodb.Figure),...
    'Toolbar',toolbar(sisodb),...
    'Menus',figmenus(sisodb));


%-------------------------Internal Functions-------------------------

%%%%%%%%%%%%%%%%%%%%%%%%
%%% LocalStatusFrame %%%
%%%%%%%%%%%%%%%%%%%%%%%%
function Frame = LocalStatusFrame(SISOfig)

StdUnit = get(SISOfig,'Unit');
FigPos = get(SISOfig,'Position');

xBorder = 2.5;
fWidth = FigPos(3)-2*xBorder;
FrameHandle = uicontrol('Parent',SISOfig, ...
    'Units',StdUnit, ...
    'Style','frame', ...
    'HelpTopicKey','sisostatusbar',...
    'Position',[xBorder .25 fWidth 2.4]);
StatusText = uicontrol('Parent',SISOfig,...
    'Units',StdUnit, ...
    'Style','text', ...
    'Horiz','left', ...
    'TooltipString','Status Bar',...
    'HelpTopicKey','sisostatusbar',...
    'Position',[xBorder+1 .45 fWidth-2 2.0]);

Frame = struct(...
    'FrameHandle',FrameHandle,...
    'StatusText',StatusText);


