#include <conio.h>
#include "wgt.h"

/*   WORDUP Graphics Toolkit   Version 1.0
     Demonstration program 1

Simply starts the graphics mode (320x200x256), draws a line, gets a key, 
returns to text mode, and exits.
*/



void main(void)
{
vga256();		// initializes system
wsetcolor(40);		// sets drawing colour
wline(0,0,319,199);	// draws a line from corner to corner
getch();		// wait for a key
textmode(C80);		// used to return to text mode
}