function setup_figure(hPD)
%SETUP_FIGURE Create the figure for the parameter dialog

%   Author(s): J. Schickler
%   Copyright 1988-2010 The MathWorks, Inc.

sz  = parameter_gui_sizes(hPD);
cbs = dialog_cbs(hPD);

hFig = figure('Position', sz.fig, ...
    'IntegerHandle',    'Off', ...
    'NumberTitle',      'Off', ...
    'Name',             hPD.Name, ...
    'MenuBar',          'None', ...
    'HandleVisibility', 'Off', ...
    'Resize',           'Off', ...
    'Color',            get(0,'DefaultUicontrolBackgroundColor'), ...
    'Visible',          hPD.Visible);

set(hPD, 'FigureHandle', hFig);

% [EOF]
