/*
 * TVision example: how to change the background pattern
 *
 * Written by Sergio Sigala <sergio@sigala.it>
 * Modified by Max Okumoto <okumoto@ucsd.edu>
 */

#define Uses_TApplication
#define Uses_TDeskTop

#include <tvision/tv.h>

class Demo: public TApplication 
{
public:
	Demo();
};

Demo::Demo(): TProgInit(&Demo::initStatusLine, &Demo::initMenuBar,
	&Demo::initDeskTop)
{
}

int main()
{
	TDeskTop::defaultBkgrnd = '?';
	Demo a;
	a.run();
}


syntax highlighted by Code2HTML, v. 0.9.1