[haiku-appserver] Re: overlay in CMAP8 - change needed

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Thu, 11 May 2006 19:25:22 +0200 CEST

"Rudolf" <drivers.be-hold@xxxxxxxxxxxx> wrote:
> Since the index is _not_ sent to the driver, it needs to look it up 
> from the color given. A driver doesn't care at which index this color 
> resides. Since you confirm the app_server and bitmaps will _always_ 
> use 
> index 255 for that magic color, and that same magic color (OK, index, 
> showing that color) is also sent to an app as being the fill color 
> for 
> a window that should show overlay. The overlay engine should be sent 
> this color (read from the index) as well then.
> And, I can remove the backward reverse searching from the VIA driver 
> and just replace it with a fixed number : 255.

I do, at least :-)
The only problem is that we're using the not-so-uncommon color white 
for this. But other than that, I think we can stay with this as is.

Bye,
   Axel.


Other related posts: