////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
////////////////////////////////////////////////////////////////////
function main()
{
screen_size.x = 800;
screen_size.y = 600;
screen_color.blue = 150;
mouse_mode = 4;
}
function quit_program()
{
while (key_any) {wait (1);}
sys_exit(NULL);
}
//////////////////////////////////////////////////////////////////////
PANEL* main_pan =
{
bmap = "main.pcx";
pos_x = 250;
pos_y = 200;
button (250, 134, "quitclicked.pcx", "quitnormal.pcx", "quitover.pcx", quit_program, NULL, NULL);
button (150, 94, "buttonclicked.pcx", "buttonnormal.pcx", "buttonover.pcx", NULL, NULL, NULL);
flags = OVERLAY | SHOW;
}