%   Name: damtool
%
%   Usage: damtool
%
%   Description: Creates the palette of damage ID display attribute tools 
%     
%   The following variables must be defined in the workspace
%	prior to using the plot tools:
%
%       haxes - handle of the current plot axes
%  

     
%
%  Version SWD970521
%
%  Author(s): Scott W. Doebling, doebling@lanl.gov
%
%  Institution: Los Alamos National Laboratory,
%		ESA-EA
%
%  Copyright (c) 1997, The Regents of the University
%     	of California. (See top level of code for
%		full copyright statement.)

hdamtl(1) = figure('units','pixels','position',[30 30 300 200],...
			'menubar','none','numbertitle','off','resize','off',...
			'name','Diamond: Damage ID Display Tools','visible','off');

top=.95;
left=.05;
btnwd=.25;
btnht=.1;
spacing=.01;


%
%  hdamtl(2:11) are defunct
%

hdamtl(2) = uicontrol('position',[0 0 eps eps]);
hdamtl(3) = uicontrol('position',[0 0 eps eps]);
hdamtl(4) = uicontrol('position',[0 0 eps eps]);
hdamtl(5) = uicontrol('position',[0 0 eps eps]);
hdamtl(6) = uicontrol('position',[0 0 eps eps]);
hdamtl(7) = uicontrol('position',[0 0 eps eps]);
hdamtl(8) = uicontrol('position',[0 0 eps eps]);
hdamtl(9) = uicontrol('position',[0 0 eps eps]);
hdamtl(10) = uicontrol('position',[0 0 eps eps]);
hdamtl(11) = uicontrol('position',[0 0 eps eps]);

%
%  Close Button

btnpos = [1-spacing-btnwd 0.01 btnwd btnht];
hdamtl(12) = uicontrol(hdamtl(1),...
	'style','push',...
	'units','normal',...
	'position',btnpos,...
	'string','Close',...
	'call','set(hdamtl(1),''visible'',''off'')');


%
%  hdamtl(13:19) is defunct
%

hdamtl(13) = uicontrol('position',[0 0 eps eps]);
hdamtl(14) = uicontrol('position',[0 0 eps eps]);
hdamtl(15) = uicontrol('position',[0 0 eps eps]);
hdamtl(16) = uicontrol('position',[0 0 eps eps]);
hdamtl(17) = uicontrol('position',[0 0 eps eps]);
hdamtl(18) = uicontrol('position',[0 0 eps eps]);
hdamtl(19) = uicontrol('position',[0 0 eps eps]);