[gameprogrammer] Overlay on windows and mac

Hello all,

I'm trying to see if I could possibly a simple pice of code that can draw an 
overlay
on the desktop read from an image like PNG, for example with alpha values.

The overlay will have to draw itself directly on top of the desktop and 
erase itself
completely when I want it to. It should also not leave weird artifacts on 
other windows.
I would also like to have the option of letting my mouse clicks go through 
so that the
windows underneath will receive events. Of course, I'd also like to 
intercept
events (i.e. clicks on my mage) if I choose to.

I'm assuming this is something that I'd have to use double buffering and 
draw directly
onto the video hardware in order to do correctly?

Is this true? Are there any pointers you guys can point me to?

I'm looking for ways to do it both on windows and on mac, and they can use
compeltely different technologies (i.e. open GL or Direct X on windws and 
some
native cocoa/carbon stuff on the mac, etc...)

any help would be greatly appreciated

thanks! :)

slim 




---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: