% KnotPlot Project Hopf

% This is a custom basic-demos file for the Hopf project.
% 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 the Hopf project.

% 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


button 8 "Hopf project control panel" dum 5 270 150 20 4
button 8 "New Hopf Torus" <new-hopf-torus 5 -1 72.5 15
button 8 "Display Hopf Torus" <display-hopf-torus -1 -1 72.5 15

button 8 "Clear screen" "clrf zf,disp,disp,clrf n"  -1 -1 72.5 15

button 8 "Random fibre" "clrf n, frame 1" 5 -1 72.5 15
button 8 "10 fibres"   "clrf n, frame 1 to 10"   -1 -1 72.5 15
button 8 "100 fibres"   "clrf n, frame 1 to 100"   -1 -1 72.5 15

button 8 "This layout subject to change." nop 20 -1 102.2 30 4  

button 8 Reset reset   65 288 30 10 
button 8 "Full screen" <full-screen -1 -1 30 10

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