Re: [ROOT] Blinking cells?

From: Valeri Fine (Faine) (fine@bnl.gov)
Date: Wed Dec 06 2000 - 19:44:06 MET


> Hi rooters,
> is it possible to get a cell of two dim histogram blinking? 

  Historically the blinking was not attribute the color rather the object.
  The letter can be defined as "red" and "blinking".
  I mean there is the blinking letter on the screen but there is no blinking 
 "red color". 

 > Is there is a  color/bit for that?

  Since the "blinking is not "color attribute" no bit can help here.
  The blinking object can help. Just we said "blinking object' we defined
  the amount of job: one has to implement very "blinking object", namely one
  has to write the piece of the code. Myself do not know the generic good far 
  all software/hardware platform combinations way to implement  the blinking 
  object effectively. I mean without redrawing the entire picture  at least twice.


   As far as I know ROOT has no "blinking object" idea. This means you need 
   to implement your blinking object yourself. 

   For example if you can restrict yourself with 256 colors resolution  then you can 
   implement the blinking by redefining in loop some dedicated color index within 
   the custom  color lookup table.  Of course multi-planes video-boards can help too.
   However the last still need the object to be painted twice. Then one has to provide a facility
   to toggle  these two planes.  Either way the entire screen are affected.
    Either way one has to involve some sort "timer" etc etc etc.

   I think the first approach with the color lookup table can be implement by user along.
   since ROOT has some facility to use that table.
   However second one needs some support from TVirtualX class.

  With my regards,
                         Valery



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:38 MET