delorie.com/archives/browse.cgi | search |
From: | Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: blinking characters |
Date: | Fri, 28 Jul 2000 19:08:10 +0100 |
Organization: | Customer of Energis Squared |
Lines: | 17 |
Message-ID: | <oqi3os80rjeg0n1kuh39n3n9464bjt9oim@4ax.com> |
References: | <Rkgg5.1081$NS3 DOT 101842 AT news DOT chello DOT at> |
NNTP-Posting-Host: | modem-180.argon.dialup.pol.co.uk |
Mime-Version: | 1.0 |
X-Trace: | news8.svr.pol.co.uk 964807791 25994 62.136.17.180 (28 Jul 2000 18:09:51 GMT) |
NNTP-Posting-Date: | 28 Jul 2000 18:09:51 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Newsreader: | Forte Agent 1.7/32.534 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
"Kurt Aistinger" <kurt DOT aistinger AT chello DOT at> wrote: > Hi! > I recently downloaded DJGPP and now I have a question about making > characters blink: How can I do it? :-) > In TurboC++ there just was a color named BLINK. You gave a function as the > color-parameter BLINK and the text was blinking. > How can this be done with DJGPP? The function you need is textattr(), type "info libc a textattr" to read the documentation. Example ------- /* blinking white on blue */ textattr(BLINK | (BLUE << 4) | WHITE);
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |