home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
progc
/
teglc.arj
/
SAMC0202.C
< prev
next >
Wrap
Text File
|
1990-05-14
|
723b
|
34 lines
/* samc0202.c */
#include <graphics.h>
#include "teglsys.h"
optionmptr om1, om2;
unsigned getmssense(imagestkptr ifs, msclickptr ms)
{
setmousesense(ifs->x,ifs->y);
return(1);
}
void main()
{
easytegl();
om1 = createoptionmenu(font14);
defineoptions(om1," Info... ", TRUE, NULL);
defineoptions(om1,"--", FALSE, NULL);
defineoptions(om1," Quit ", TRUE, quit);
om2 = createoptionmenu(font14);
defineoptions(om2," Memory ",TRUE,showcoordinates);
defineoptions(om2," Mouse sensitivity ",TRUE,getmssense);
createbarmenu(0,0,getmaxx());
outbaroption(" File ",om1);
outbaroption(" Utility ",om2);
teglsupervisor();
}