Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!asuvax!mcdphx!behemoth!razdan From: razdan@phx.mcd.mot.com (Anshuman Razdan) Newsgroups: comp.windows.x Subject: Re: how to make a line of text blink? Message-ID: Date: 23 Jan 91 19:01:57 GMT References: <9101210630.AA10609@Larry.McRCIM.McGill.EDU> <301@n4hgf.Mt-Park.GA.US> Sender: listen@mcdphx.phx.mcd.mot.com Organization: Motorola MCD Lines: 31 In-reply-to: wht@n4hgf.Mt-Park.GA.US's message of 21 Jan 91 18:53:16 GMT In article <301@n4hgf.Mt-Park.GA.US> wht@n4hgf.Mt-Park.GA.US (Warren Tucker) writes: > Does anybody know of a easy way to draw a line of text and make it > blink, using XLIB? One hack to to allocate a private color cell and use it to write material to be blinked. Then use an application timeout to alternate the contents of the cell between black and, say, red. This is a hack, but it works. The scheduling irregularity of timeouts gives you irregular blinking, though. ----------------------------------------------------------------------- Warren Tucker, March Hare gatech!n4hgf!wht or wht@n4hgf.Mt-Park.GA.US ------------------------- ------------------------- This would work if there is only one line of text. But if you have a screen full of text, wouldn't it make all the text blink. particularly when most of text widgets do not allow multiple colors (i.e. only allow one for background and one for foreground). May be I am missing something. -- Anshuman Razdan ************************************************************ * razdan@toy Test and Methodology Group * * * * razdan@phx.mcd.mot.com Diablo Plant, Tempe Az * ************************************************************