Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!udel!burdvax!ubbpc!wgh From: wgh@ubbpc.UUCP (William G. Hutchison) Newsgroups: comp.lang.c++ Subject: Zortech C++ Flash Graphics query Keywords: how to erase graphics characters Message-ID: <462@ubbpc.UUCP> Date: 2 Feb 89 00:48:56 GMT Organization: Unisys UNIX Portation Center, Blue Bell, PA Lines: 17 I have been working on a C++ version of Thomas Gettys' C version of Conway's Game of Life (published in the last issue of MicroCornucopia). Before everybody starts jumping, let me assure you that I will post it here as soon as I get permission from the copyright holder. The problem I am having is how to erase the old generation number before displaying the new generation number. I have tried writing it with color FG_BLACK: fg_puts(FG_BLACK, FG_MODE_SET, ~0, FG_ROT0, x, y, msg, fg_displaybox) and I have tried overwriting it with xor of white: fg_puts(FG_WHITE, FG_MODE_XOR, ~0, FG_ROT0, x, y, msg, fg_displaybox) but neither works. What's the trick? -- Bill Hutchison, DP Consultant rutgers!liberty!burdvax!ubbpc!wgh Unisys UNIX Portation Center P.O. Box 500, M.S. B121 "The unexamined life is not worth living!" Blue Bell, PA 19424 -- Educational Testing Service, Princeton, NJ