nanogui: getting to grips with Nano-X


Previous by date: 15 Jun 2000 13:59:15 -0000 getting to grips with Nano-X, Simon Wood
Next by date: 15 Jun 2000 13:59:15 -0000 Re: getting to grips with Nano-X, Erwin Rol
Previous in thread: 15 Jun 2000 13:59:15 -0000 getting to grips with Nano-X, Simon Wood
Next in thread: 15 Jun 2000 13:59:15 -0000 Re: getting to grips with Nano-X, Erwin Rol

Subject: RE: getting to grips with Nano-X
From: Simon Wood ####@####.####
Date: 15 Jun 2000 13:59:15 -0000
Message-Id: <44632C76B97BD211AF6B00805FADCAB202D73646@exchange.saltaire.pace.co.uk>

The missing code snippet is:
	static void
	handleevent(GR_EVENT *ep)
	{
		if (ep->type == GR_EVENT_TYPE_BUTTON_DOWN) {
			fprintf(stderr, "ouch...");
			GrSetGCForeground(gc1, BLUE);
			GrFillRect(w1, gc1, 10, 10, 40, 40);

	#if 1
			sleep(10);
			GrSetGCForeground(gc1, RED);
			GrFillRect(w1, gc1, 10, 10, 40, 40);
	#endif
					
			fprintf(stderr, "!!!");
			}
}


Previous by date: 15 Jun 2000 13:59:15 -0000 getting to grips with Nano-X, Simon Wood
Next by date: 15 Jun 2000 13:59:15 -0000 Re: getting to grips with Nano-X, Erwin Rol
Previous in thread: 15 Jun 2000 13:59:15 -0000 getting to grips with Nano-X, Simon Wood
Next in thread: 15 Jun 2000 13:59:15 -0000 Re: getting to grips with Nano-X, Erwin Rol


Powered by ezmlm-browse 0.20.