% KnotPlot Benchmarks

% This is a custom basic-demos file for the Benchmarks.
% If KnotPlot is run from this directory this file will
% be found before the standard basic-demos file in the 
% demos directory.  This allows the definition of a 
% custom control panel specifically for these benchmarks.

% First button location should always be absolute.

% Arguments for the button command are:

%  argu 1 - number of control panel you want the button on
%  argu 2 - label for button, use quotation marks for more than one word
%  argu 3 - action for button, ignored if a label
%  argu 4 - x location of lower left corner of button, use -1 for auto-placement
%  argu 5 - y location of lower left corner of button, use -1 for auto-placement
%  argu 6 - x size of button
%  argu 7 - y size of button
%  argu 8 - button flags


panel off

button 8 "KnotPlot Benchmarks" dum 5 270 150 20 4

button 8 "classic" <classic-bm.kps 5 -1 30 15

button 8 "torus" <torus-bm.kps 5 -1 30 15

button 8 "relax A" <relaxA-bm.kps 5 -1 30 15
button 8 "relax B" <relaxB-bm.kps -1 -1 30 15
button 8 "relax C" <relaxC-bm.kps -1 -1 30 15
button 8 "relax D" <relaxD-bm.kps -1 -1 30 15
button 8 "relax E" <relaxE-bm.kps -1 -1 30 15
button 8 "relax F" <relaxF-bm.kps -1 -1 30 15

button 8 "CPU bound" dum 5 -1 150 20 4
button 8 " A " <cpu-bmA.kps 5 -1 30 15


%button 8 "More demos" "<more-demos" 130 5 25 12 128

panel on
