[NTLUG:Discuss] (no subject)
xiao li
xiaoli4uh at hotmail.com
Fri Jan 10 09:48:39 CST 2003
Hi, guys,
I have new question. In my program, I want my text to be blink in some
condition. The first method I thought is to change the background color of
that text and redraw it. But this method can't have a good performance if I
have 100 places want to be blink at the same time.
So I just chang the color defined in colormap and call flush function. Let X
server to handle the redraw. It works fine on windows NT and Solaris system.
The only limitation is you can have only 256 colors. But on Linux, I can't
make it work. I set the depth to 8. I think it means 256 colors.
I try to compare the difference on Solaris and Linux. When I run xdpyinfo. I
found both depth value is 8, but the significant bits of in color
specification is 6 bits on Linux and 8 bits on Solaris. I don't if this is
the problem.
Does anyone know how to solve my blink problem?? or Please tell me if I can
change the significant bits value.
Thanks,
Lei Yu
_________________________________________________________________
The new MSN 8 is here: Try it free* for 2 months
http://join.msn.com/?page=dept/dialup
More information about the Discuss
mailing list