Date: 19 May 1997 02:34:03 GMT From: "Nickolay N. Dudorov" <nnd@info.itfs.nsk.su> To: hackers@freebsd.org Subject: Re: NEW SCREENSAVER: "the daemon is jumpin' around" Message-ID: <5loe6r$840@news.itfs.nsk.su> References: <Pine.BSF.3.96.970518152302.1494A-100000@lattice.milk.it>
next in thread | previous in thread | raw e-mail | index | archive | help
S Sigala <ssigala@globalnet.it> wrote: > I have just written this new LKM screensaver. It looks pretty, but here is a patch to do it still prettier ;-) (If you use say yellow on blue text screen, then first spaces in daemon picture was drawn with this attrs, while all others in white on black) diff -u daemon_saver.c.orig daemon_saver.c ================================================ --- daemon_saver.c.orig Mon May 19 09:26:55 1997 +++ daemon_saver.c Mon May 19 09:26:55 1997 @@ -100,7 +100,7 @@ draw_daemon(int xpos, int ypos) { int x, y; - int attr; + int attr = (FG_WHITE|BG_BLACK)<<8; for (y = 0; daemon_pic[y] != NULL; y++) for (x = 0; daemon_pic[y][x] != '\0'; x++) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5loe6r$840>